[gnu.g++.bug] static const vs. const

grunwald@FOOBAR.COLORADO.EDU (Dirk Grunwald) (10/18/89)

I'm not certain if this is a bug or feature;
before, when I have the file:

----------foo.cc----------
const int notStatic = -1;
static const int isStatic = -1;
--------------------------

compiling & using nm would show that notStatic has space allocated;
this is useful if refer to it in other files as ``extern const int notStatic''.

the current version of g++ doesn't allocate a variable for either from.

if this is the intended action, than I would think that referring to
``extern const int notStatic'' should generate an error.

Dirk Grunwald -- Univ. of Colorado at Boulder	(grunwald@foobar.colorado.edu)