Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Alexander L. Wolf
Tue, 04 Aug 1992 14:05
g++ bug: static data members
Author: Alexander L. Wolf
Date: Tue, 04 Aug 1992 14:05
Date: Tue, 04 Aug 1992 14:05
22 lines
891 bytes
891 bytes
Compiling the following very simple C++ program
struct C {
static int I;
};
int main ()
{
C::I = 0;
};
produces the following error output
ld: Undefined symbol
__1C$I
collect: /usr/bin/ld returned 2 exit status
The version of g++ used is 2.2.2.
Please let me know whether is this is a known bug in g++.
Thanks, Alex.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads