Felipe Sateler <[EMAIL PROTECTED]> writes:
> Felipe Sateler wrote:
>> Policy 10.2 says we must compile shared libraries with -D_REENTRANT:
>>> You must specify the gcc option -D_REENTRANT when building a library
>>> (either static or shared) to make the library compatible with
>>> LinuxThreads.

>> However, LinuxThreads has been superseeded by NPTL. Is this still
>> necessary?

> Some googling shows that _REENTRANT is necessary for POSIX threading, so
> it should be still needed.

This just came up at DebConf, and our belief is that it's only needed to
get prototypes for a few functions that aren't prototyped otherwise.  That
would imply that if your software is building without undeclared function
warnings, you don't need it.

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to