alloca and c++
Ingo Krabbe
i.krabbe@dokom.net
Fri Feb 1 15:10:00 GMT 2002
Further analysis revealed that usage of -ansi forces that error:
g++ -ansi main.cc --> error
g++ -ansi -D_GNU_SOURCE main.cc --> ok
I need also to include stdlib.h as extern "C" to get the right symbols
working.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cc
Type: text/x-c
Size: 198 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20020201/b8bb379d/attachment.bin>
More information about the Gcc
mailing list