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.
clang_pthread_link_darwin_PR7798.diff (537 Bytes)