http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1357
Summary: "lemon" creates bogus ".c" sources files which crash GCC
3.3.x
Product: Wireshark
Version: 0.99.5
Platform: PC
URL: http://mail-index.netbsd.org/tech-
pkg/2007/02/03/0004.html
OS/Version: NetBSD
Status: NEW
Severity: Major
Priority: Medium
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: tron@xxxxxxxxxx
Build Information:
N/A
--
The tool "lemon" include in the "wireshark" distribution creates ".c" files
with bogus line numbers:
#line 917 "dtd_grammar.c"
break;
case 19:
#line 1853321060 "./dtd_grammar.lemon"
{
yy_destructor(15,&yymsp[-2].minor);
yy_destructor(16,&yymsp[0].minor);
}
Those line numbers break the compilation with GCC 3.3.x:
http://mail-index.netbsd.org/tech-pkg/2007/02/03/0004.html
Patching "lemon.c" not to write the line numbers to the generated ".c" files
fixes the problem. But it doesn't explain why the bogus line number was
generated in the first place.
--
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.