Trying to use clang/head and XCC

Joerg Sonnenberger joerg at britannica.bec.de
Thu May 21 13:05:10 UTC 2015


On Tue, May 19, 2015 at 05:50:29PM -0700, NGie Cooper wrote:
> Also, gcc emits different warnings because (IIRC) it analyzes code
> that's been optimized whereas I believe clang does it beforehand
> (please correct me if I'm wrong).

More like "clang provides the same set of warnings independent of the
optimizer" vs "gcc warnings trigger depending on the phase of the moon".

Joerg


More information about the freebsd-hackers mailing list