bison-1.875-1 generates code incompatible with g++
Max Bowsher
maxb@ukf.net
Sun Feb 2 19:33:00 GMT 2003
(Ran into this when building setup)
bison 1.875 produces this code fragment:
| yyerrlab1:
|
| /* Suppress GCC warning that yyerrlab1 is unused when no action
| invokes YYERROR. */
| #if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__)
| __attribute__ ((__unused__))
| #endif
which compiles with gcc, but g++ doesn't accept attributes on labels.
This seems to be a g++ bug.
Comments?
Max.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list