* Laurence Finston <[EMAIL PROTECTED]> [2008-11-28 17:10:27 +0100]

| I'm sorry if I'm being obtuse.  What are you doing differently and what 
| error message is one supposed to get?

With extern "C":

% g++ -o t t.cc
[nothing printed, no error]

Without extern "C":

% g++ -o t t.cc
/tmp/ccMxFapw.o: In function `main':
t.cc:(.text+0x19): undefined reference to `exit(int)'
collect2: ld returned 1 exit status



_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to