[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
yyerrlab1: __attribute__((unused)) and C++ - Still a problem with -Werro
From: |
Max Bowsher |
Subject: |
yyerrlab1: __attribute__((unused)) and C++ - Still a problem with -Werror |
Date: |
Thu, 6 Feb 2003 00:11:18 -0000 |
Even with the fixes so far to the __attribute__ on label problem, it's still
not possible to compile bison output with -Werror. (g++ generates an 'unused
label' warning - which is turned into an error by -Werror)
It seems that adding "goto yyerrlab1;" immediately above "yyerrlab1:", as
suggested by someone previously, may be the only solution.
Max Bowsher.
- yyerrlab1: __attribute__((unused)) and C++ - Still a problem with -Werror,
Max Bowsher <=