[ccache] Making ccache and clang compatible

Mike Frysinger vapier at gentoo.org
Thu Jul 5 22:35:35 MDT 2012

On Wednesday 04 July 2012 09:53:46 Max Horn wrote:
> Using ccache with clang tends to generate tons of warnings, which can range
> from simply being annoying, to causing autoconf failures. This is because
> ccache runs the compiler with "-E" on preprocessed input, but also passes
> -I, -isystem etc. flags on to the compiler. In clang, this triggers
> warnings about unused arguments.

err, -I/-isystem/-D/-U/etc... are preprocessor flags and are valid when running 
in preprocessor mode (-E).  i don't know if clang is broken, or your analysis 
is incorrect, but certainly that behavior you describe is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.samba.org/pipermail/ccache/attachments/20120706/0353ca71/attachment.pgp>

More information about the ccache mailing list