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

Axel Naumann Axel.Naumann at cern.ch
Mon Nov 8 13:52:40 PST 2010


Hi,

any opinion?

Cheers, Axel.

On 10/28/10 4:48 PM, Axel Naumann wrote:
> 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.
> 
> 
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-------------- 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/20101108/3359cd4c/attachment.ksh>


More information about the cfe-dev mailing list