VTAILQ_EMPTY vs -Wparentheses-equality with clang

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Apr 4 20:49:30 CEST 2016


--------
In message <CAJV_h0ZSJ3HieFBPA6NZGOSg-r_CAAVXJMN9D=NJRQ0nuZvR_w at mail.gmail.com>
, Federico Schwindt writes:

>I think FreeBSD uses *-Wno-parentheses-equality. *
>
>Might be worth adding it (if supported).

I've been pondering writing a program to automatically detect the
optimal set of compiler flags for any given source code, but I
have not been able to get myself to do so, because to follow style
in that space I would have to write it in PL/1, Modula-3,
SmallTalk or some other horrid and obsolete language.

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