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.

Attachment: signature.asc
Description: This is a digitally signed message part.

ccache mailing list

Reply via email to