VTAILQ_EMPTY vs -Wparentheses-equality with clang

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Apr 4 16:57:22 CEST 2016


--------
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.



More information about the varnish-dev mailing list