[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc -pthread should define _REENTRANT?



Just define _REENTRANT yourself on all platforms per Policy 10.2:

     You must specify the gcc option `-D_REENTRANT' when building a library
     (either static or shared) to make the library compatible with
     LinuxThreads.

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
Finger amu@monk.mit.edu (NOT a valid e-mail address) for more info.



Reply to: