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-dev: Re: [Wireshark-dev] warnings as errors ([Wireshark-users] Build problems with Sun's compiler on Solaris 10)

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


From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Thu, 07 Feb 2008 16:59:51 -0500



Guy Harris wrote:
Andrew Hood wrote:

Is it possible to *not* treat warnings from system header includes as
errors? Otherwise --disable-warnings-as-errors will have to stay in my
config script.

I don't know any way to tell GCC to treat warnings from some include files differently from warnings from other include files or the main source file.

(What warnings are your system headers producing? On Solaris, for example, we do -DFUNCPROTO=15 to cause the X11 headers to have prototype declarations, and we also do -Wno-return-type for some reason. It might be possible to get rid of the warnings with your headers.)

One thing I've been meaning to do is to automatically turn off warnings-as-errors if we're using glib- or gtk-1 (since we know those generate some warnings). I just haven't gotten around to it.

  • References:
    • [Wireshark-dev] warnings as errors ([Wireshark-users] Build problems with Sun's compiler on Solaris 10)
      • From: Andrew Hood
    • Re: [Wireshark-dev] warnings as errors ([Wireshark-users] Build problems with Sun's compiler on Solaris 10)
      • From: Guy Harris
  • Prev by Date: Re: [Wireshark-dev] warnings as errors ([Wireshark-users] Build problems with Sun's compiler on Solaris 10)
  • Next by Date: [Wireshark-dev] detecting
  • Previous by thread: Re: [Wireshark-dev] warnings as errors ([Wireshark-users] Build problems with Sun's compiler on Solaris 10)
  • Next by thread: Re: [Wireshark-dev] warnings as errors ([Wireshark-users] Build problems with Sun's compiler on Solaris 10)
  • Index(es):
    • Date
    • Thread

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