ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Prevent compiler warnings by using "stop on warnings"/"treat

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Tue, 20 Mar 2007 13:08:05 -0700
On Tue, Mar 20, 2007 at 01:01:20PM -0700, Stephen Fisher wrote:

> > As usual, this is my "Win32 point of view". I'm pretty sure the 
> > above is possible to do for the Win32 platform. I'm not sure if it's 
> > possible with the automake foo for the different unix/linux platform 
> > builds ...
> 
> With automake, we just need to put AM_CFLAGS = -Werror in the 
> Makefile.am file in each directory that we're working on.

Of course, this assumes that all the C compilers we use accept -Werror.  
We may need to wrap this within compiler specific commands in the 
automake files.


Steve