Re: [squid-users] Disable -Werror when building Squid

From: Jeffrey Walton <noloader_at_gmail.com>
Date: Sun, 15 Sep 2013 06:44:13 -0400

On Sat, Sep 14, 2013 at 11:59 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> On 14/09/2013 6:28 a.m., Jeffrey Walton wrote:
>>
>> I'm trying to get analysis tools on squid, but I'm having trouble due
>> to -Werror. -Werror is causing a continuous stream of compile and link
>> failures.
>>
>> How does one disable -Werror? INSTALL does not offer any directions or
>> mention any options.
>
>
> Please start with reporting the warning that is coming out of the compiler.
> Things will only get worse unless the developers know it needs fixing.
>
> You can use possibly use --disable-error-checking if it is a warning being
> escalated.
Thanks Amos.

configuring with `--disable-error-checking` has the undesirable effect
of suppressing warnings (i.e., removing -Wall). I want want the
opposite: keep -Wall, but remove -Werror because it stops compilation
on the first warning treated as an error.
Received on Sun Sep 15 2013 - 10:44:23 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 20 2013 - 12:00:05 MDT