[Swan-dev] "not rocket science" -- master that doesn't fail

Andrew Cagney andrew.cagney at gmail.com
Wed Jan 21 17:58:44 EET 2015


The additional flag "-Werror".  It turns warnings into errors.

(and due to the *(!&$)(!@&# querks of the make system I have to
redefine everything to add it)


On 20 January 2015 at 13:30, Paul Wouters <paul at nohats.ca> wrote:
> On Tue, 20 Jan 2015, Andrew Cagney wrote:
>
>> Perhaps a first step would be to include -Werror in the compile flags
>> by default.  Remembering to add a Makefile.inc.local to my tree gets a
>> little tedious :-)
>
>
> libreswan/Makefile.inc:WERROR?=-Wall -Wextra -Wformat
> -Wformat-nonliteral -Wformat-security -Wundef -Wmissing-declarations
> -Wredundant-decls -Wnested-externs #-pedantic
>
> It's already included. Are you saying it is getting lost?
>
> Paul


More information about the Swan-dev mailing list