[cfe-dev] Patch to quiet some options

David Chisnall csdavec at swansea.ac.uk
Sat Aug 15 05:16:40 PDT 2009


Hi,

This patch stops the driver complaining that -pthread is only used  
when linking (some platforms use it when compiling to set some  
#defines, so a lot of Makefiles pass it at all stages of compilation).

It also adds -Wno-import, which is silently ignored.  Clang defaults  
to the behaviour that GCC exhibits when -Wno-import is specified (not  
warning that #import is deprecated).

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.diff
Type: application/octet-stream
Size: 1360 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090815/48feda1f/attachment.obj>


More information about the cfe-dev mailing list