Hi all, Regarding the patch mentioned at: http://lists.gnu.org/archive/html/bug-bison/2006-04/msg00023.html
I find that I still get a compiler error when I specify the -pedantic flag to g++. I'm attaching a trivial input file, test.ypp. I can reproduce this error with: bison test.ypp -o test.cpp g++ -pedantic -o test test.cpp nall:~ [1304]$ g++ -pedantic -o test test.cpp test.cpp:184: error: declaration of 'void* malloc(long unsigned int)' throws different exceptions /usr/include/stdlib.h:589: error: from previous declaration 'void* malloc(size_t) throw ()' test.cpp:191: error: declaration of 'void free(void*)' throws different exceptions /usr/include/stdlib.h:603: error: from previous declaration 'void free(void*) throw ()' Versions: g++: (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3) bison: 2.1 (with the patch from the URL above applied) glibc: 2.4.4 Can other reproduce this? Please CC me on any responses as I'm not subscribed to the mailing list. Thanks. nall.
test.ypp
Description: Binary data
