static const class member is undefined

Erdi Chen erdi@chen11.com
Sat Dec 20 20:05:00 GMT 2003


G++ creates undefined symbols for static const class member variables 
for the test code in the attached file.   The version of gcc that I've 
used is

gcc version 3.3.2 20031022 (Gentoo Linux 3.3.2-r3, propolice)

gcc 3.2.3 from Gentoo

gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)   Fedora Core 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.cc
Type: text/x-c++src
Size: 394 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20031220/ee81bf51/attachment.bin>


More information about the Gcc mailing list