[cfe-dev] Patch to quiet some options

Eli Friedman eli.friedman at gmail.com
Sat Aug 15 12:31:27 PDT 2009


On Sat, Aug 15, 2009 at 5:16 AM, David Chisnall<csdavec at swansea.ac.uk> wrote:
> 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).

I fixed -Wno-import in a different way; I'll let Daniel comment on the
-pthread bit.

-Eli




More information about the cfe-dev mailing list