Wireshark-dev: Re: [Wireshark-dev] Prevent compiler warnings by using "stop on warnings"/"treat
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Fri, 23 Mar 2007 13:53:55 +0100
On Thu, Mar 22, 2007 at 04:08:36PM -0700, Stephen Fisher wrote:
> 
> On Wed, Mar 21, 2007 at 05:46:50PM -0700, Stephen Fisher wrote:
> > 
> > I've found a way around this issue and have introduced it into the 
> > same places in my tree on Unix as Ulf has on Windows so far.  It's a 
> > variable setup by the configure script that is tested in each 
> > directory's Makefile.am.  Now I just need to catch up fixing the Unix 
> > warnings I'm seeing in those directories :).
> 
> I've just committed SVN revision 21127 with these changes (to add 
> -Werror under gcc only under the same directories /WX has been added in 
> Windows by Ulf <except his latest checkin-doing that now>).  I'll check 
> for further warnings turned errors on my Mac since it has GCC v4 that 
> may generate some additional warnings from my main dev box (FreBSD w/ 
> GCC 3).

Your patch breaks compilation when using the configure option
--with-extra-gcc-checks

Ciao
    Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.