Re: Build failed in Jenkins: 3.HEAD-amd64-FreeBSD-9.0-clang #28

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 08 Nov 2012 12:10:44 +1300

On 08.11.2012 06:36, Tsantilas Christos wrote:
> The "certificate_db/ssl_crtd fixes" patch I posted should fix these
> errors.
>
> But we may have still problems in other cases too. I did not find any
> way to check using gcc.

You can create yourself a login at http://build.squid-cache.org/ and
let me or kinkie know to grant you access to the build jobs. You can
then schedule testing for patch or branches as needed to check things.

>
> Also assume that we are storing the value from a function:
> ret = afunc();
> If we did not use the "ret" value, will result to a "value set but
> not
> used" error or something like that.
>
> Is there any flag in clang++ compiler eg a "-Wno-unused-value" which
> ignores this warning?
>

It is a bit annoying. Using it in an if condition with debugs()
statement to display failure events is the Right Thing(tm) and enough to
avoid all need for warning suppression AFAIK.

Amos
Received on Wed Nov 07 2012 - 23:10:47 MST

This archive was generated by hypermail 2.2.0 : Thu Nov 08 2012 - 12:00:05 MST