[Freeciv-Dev] Re: -Werror
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, Aug 27, 2001 at 07:18:19AM -0400, Jeff Mallatt wrote:
> At 2001/08/27 03:42 , Reinier Post wrote:
> >On Mon, Aug 27, 2001 at 09:32:41AM +0200, Raimar Falke wrote:
> >>
> >> Can we make -Werror the default? At least in a development version? It
> >> is a burden to add it and before making a patch or committing stuff
> >> you have to revert the changes of the Makefile.ins.
> >
> >~ % cc -Werror
> >cc: illegal option -Werror
> >
> >(This is Sun cc.)
>
> You don't have to change files to add -Werror. Just use:
>
> make CPPFLAGS=-Werror
>
> Actually, I use an alias that does even more:
>
> make CPPFLAGS='-DDEBUG -Wpointer-arith -Wcast-align
> -Wmissing-prototypes -Wmissing-declarations -Werror'
Very nice. Thanks.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
BSD: Are you guys coming or what?
- [Freeciv-Dev] -Werror, Raimar Falke, 2001/08/27
- [Freeciv-Dev] Re: -Werror, Reinier Post, 2001/08/27
- [Freeciv-Dev] Re: -Werror, Raimar Falke, 2001/08/27
- [Freeciv-Dev] Re: -Werror, Jeff Mallatt, 2001/08/27
- [Freeciv-Dev] Re: -Werror,
Raimar Falke <=
- [Freeciv-Dev] Re: -Werror, Reinier Post, 2001/08/27
- [Freeciv-Dev] Re: -Werror, Raimar Falke, 2001/08/27
- [Freeciv-Dev] proposal for minor change in tilespec.c, map.c, Mike Kaufman, 2001/08/27
- [Freeciv-Dev] Re: proposal for minor change in tilespec.c, map.c, Raimar Falke, 2001/08/27
- [Freeciv-Dev] Re: proposal for minor change in tilespec.c, map.c, Gaute B Strokkenes, 2001/08/27
- [Freeciv-Dev] Re: proposal for minor change in tilespec.c, map.c, Reinier Post, 2001/08/28
- [Freeciv-Dev] Re: proposal for minor change in tilespec.c, map.c, Raimar Falke, 2001/08/28
|
|