[cfe-dev] Clang + ccache == different warnings?
joerg at britannica.bec.de
Fri Jun 1 12:48:41 PDT 2012
On Fri, Jun 01, 2012 at 12:08:42PM -0700, Larry Gritz wrote:
> Obviously this just calls ccache with the clang path and arguments.
> The surprising thing is that when I invoke clang this way, several
> classes of warnings are flagged that were not noticed when I ran
You are hitting the same behavior as building with -save-temps.
Basically, a number of warnings check if they are the result of a macro
expansion. If yes, they get suppressed.
More information about the cfe-dev