Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-bugs: [Wireshark-bugs] [Bug 1357] New: "lemon" creates bogus ".c" sources files which crash GCC 3.3.x

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: bugzilla-daemon@xxxxxxxxxxxxx
Date: Wed, 7 Feb 2007 15:02:46 +0000 (GMT)

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.

  • Follow-Ups:
    • [Wireshark-bugs] [Bug 1357] "lemon" creates bogus ".c" sources files which crash GCC 3.3.x
      • From: bugzilla-daemon
    • [Wireshark-bugs] [Bug 1357] "lemon" creates bogus ".c" sources files which crash GCC 3.3.x
      • From: bugzilla-daemon
    • [Wireshark-bugs] [Bug 1357] "lemon" creates bogus ".c" sources files which crash GCC 3.3.x
      • From: bugzilla-daemon
  • Prev by Date: [Wireshark-bugs] [Bug 1356] New: Add Acterna capture files compatibility
  • Next by Date: [Wireshark-bugs] [Bug 1357] "lemon" creates bogus ".c" sources files which crash GCC 3.3.x
  • Previous by thread: [Wireshark-bugs] [Bug 1356] Add Acterna capture files compatibility
  • Next by thread: [Wireshark-bugs] [Bug 1357] "lemon" creates bogus ".c" sources files which crash GCC 3.3.x
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation