All pastes #539122 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-05 05:50 UTC
rendered paste body
livingtm@pc:~$ cat foo.cpp
class X {
  int i;
public:
  X();  // Constructor
}; 

int main() {
      X a;
      // ...
} 
livingtm@pc:~$ gcc foo.cpp
/tmp/ccICpVjs.o: In function `main':
foo.cpp:(.text+0x18): undefined reference to `X::X()'
/tmp/ccICpVjs.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status