[cfe-dev] Patch for Darwin's -pthread unused (PR 7798)

Axel Naumann Axel.Naumann at cern.ch
Thu Oct 28 14:48:40 PDT 2010


Hi,

here's a patch for PR 7798 <http://llvm.org/bugs/show_bug.cgi?id=7798>
which silences the pthread unused arg warning when linking on Darwin for
the sake of GCC compatibility. It's obviously not a replacement for
Daniel's improvements in the unused arg diagnostics announced in the bug
report. I didn't touch any other platform because I don't know their
behavior with respect to -pthread.

Let me know whether it's okay to commit it.

Cheers, Axel.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: clang_pthread_link_darwin_PR7798.diff
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101028/097d829e/attachment.ksh>


More information about the cfe-dev mailing list