"M. Warner Losh" wrote:
> 
> In message: <[EMAIL PROTECTED]>
>             Stephen Montgomery-Smith <[EMAIL PROTECTED]> writes:
> : cc -o test test.c -pthread -D_THREAD_SAFE
> :
> : or am I misunderstanding something?
> 
> Ah, yes.  -D_THREAD_SAFE is technically needed.
> 

I am curious - what are the possible consequences if you forget to include
-D_THREAD_SAFE?  I have done many compilations having forgotten to include this
flag, with no obvious problems.  Did I just get lucky?


-- 

Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to