Wireshark-dev: Re: [Wireshark-dev] [PATCH] ./configure --with-warnings-as-errors
From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Fri, 23 Mar 2007 10:52:45 -0700
On Fri, Mar 23, 2007 at 05:32:12PM +0100, Sebastien Tandel wrote:

>    Patch for configure.in which disables by default the treatment of 
> warnings as errors. It can be enabled with './configure 
> --with-warnings-as-errors'. The macro will test first if GCC is 
> present. If it's the case, HAVE_WARNINGS_AS_ERRORS is defined. All the 
> USING_GCC have been replaced by HAVE_WARNINGS_AS_ERRORS. With this 
> switch, people won't suffer from unexpected warnings when downloading 
> svn sources during the transition time ;)

Thanks!  I have committed your patch as SVN revision 21153.  We'll 
remove this option and turn -Werror back on by default once I work out 
the warnings in gcc40 that gcc3 doesn't show.  I'm now using gcc40 on my 
main dev box.  This will get the buildbots going again too.

I'm working on fixing gcc40 generated warnings now..


Steve