VTAILQ_EMPTY vs -Wparentheses-equality with clang

Federico Schwindt fgsch at lodoss.net
Mon Apr 4 17:47:07 CEST 2016


I think FreeBSD uses *-Wno-parentheses-equality. *

Might be worth adding it (if supported).


On Mon, Apr 4, 2016 at 3:57 PM, Poul-Henning Kamp <phk at phk.freebsd.dk>
wrote:

> --------
> In message <
> CAJV_h0bcW6MUNHbc8Qy4emHcrFfdvsGiPGSkoUSTQpXXrA64_g at mail.gmail.com>
> , Federico Schwindt writes:
>
> >Weird. I'm using clang 3.7 and I'm not seeing any warnings.
>
> I havn't compared vqueue.h to FreeBSD's sys/queue.h, but since
> FreeBSD is on Clain 3.8 now, that would be a place to look...
>
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20160404/0f5fc74d/attachment.html>


More information about the varnish-dev mailing list