[Freeciv-Dev] Re: -Werror
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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'
jjm
- [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 <=
- [Freeciv-Dev] Re: -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] 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
|
|