[Dev-C++] Statics/globals in dev-cpp
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Charles K. <ch...@ke...> - 2002-12-28 19:10:47
|
Using the 4.9.7.1 Devc++ with the gcc3.2 version.
I have a .cpp file that has:
const char foo[2] =3D {1,0} ;
Later, I have a file that does the following:
extern const char foo[2] ;
And then uses foo.
I get linker errors about undefined symbol foo.
Anyone else see this issue?
Charles |