https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235583
James Clarke <jrt...@jrtc27.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jrt...@jrtc27.com --- Comment #3 from James Clarke <jrt...@jrtc27.com> --- (In reply to David Chisnall from comment #2) It shows up for users using the system header if they pass -Wsystem-headers, but otherwise not. The problem is that *any* declaration of pthread_create will trigger this warning, since GetBuiltinType will return {} with Error = GE_Missing_type due to the fact that its type is "" in Builtins.def, and it only works normally because the warning gets suppressed for system headers. I think the correct thing to do is to give it the proper type, which I'm working on at the moment (Clang now has syntax for function types within intrinsic type strings with a recursive parse call so you can express function pointers; it just also needs to learn about pthread(_attr)_t). -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"