[LLVMbugs] [Bug 13282] ccache, distcc and others interfere with clang execution

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 10 21:40:46 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13282

Rafael Ávila de Espíndola <rafael.espindola at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rafael.espindola at gmail.com
         Resolution|                            |WONTFIX

--- Comment #2 from Rafael Ávila de Espíndola <rafael.espindola at gmail.com> 2012-07-10 23:40:46 CDT ---
The problem is not in the clang/"clang -cc1" split. It is in that clang uses
the macro expansion stack to decide if it should print warnings and how. That
information is lost if clang is given a preprocessed file.

While it should be possible to group all the warning that use the macro
expansion stack in an -Wno-macro-contex or something, it is probably better to
just pass CCACHE_CPP2 to ccache for now.

If I understand it correctly, clang recently got support for rewriting just the
includes. That could possibly be used in ccache in place of a full preprocessor
run if you are interested in working on it.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list