-Werror isn't turned on

Bug #66801 reported by Aamer Akhter
4
Affects Status Importance Assigned to Milestone
bison (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hello,

In the process of trying to build ethereal (wireshark now) from the svn trunk I ran into this problem:

wireshark/wiretap$ gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/local/include -I/usr/local/include
"-D_U_=__attribute__((unused))" -Wall -W -g -O2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/local/include -I/usr/local/include -MT ascend-grammar.lo -MD
-MP -MF .deps/ascend-grammar.Tpo -c ascend-grammar.c -fPIC -DPIC -o
.libs/ascend-grammar.o
ascend-grammar.c: In function 'ascendparse':
ascend-grammar.c:665: warning: label 'yyerrlab' defined but not used

The ethereal guys are saying this:

-Werror isn't turned on (we don't enable it, as we can't control
OS-supplied or GLib/GTK+/etc.-supplied headers), so the next step would
probably be either "ignore the error" or "report an Ubuntu bug that
Bison's generating code that gets a warning, and then ignore the error".

Discussion is here:
http://thread.gmane.org/gmane.network.wireshark.devel/1646/focus=1653

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report. This is just a warning and not an error. Is this really an issue. BTW after reading the thread you've mentioned above this was an issue with flex missing and not bison. Can we close this report .

Thanks for your time.

Changed in bison:
status: New → Incomplete
Revision history for this message
Daniel T Chen (crimsun) wrote :

Not reproducible in newer currently supported Ubuntu releases.

Changed in bison:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.