On 14 October 2012 10:42, Jilles Tjoelker <jil...@stack.nl> wrote:

> Because C99 does not specify threading, it allows these transformations.
> In C11, they are forbidden. Passing -pthread disables them as well.

Is the man page wrong or do I misunderstand?

           This option sets flags for both the preprocessor and linker.  It
           does not affect the thread safety of object code produced by the
           compiler or that of libraries supplied with it.
-- 
Eitan Adler
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to