Boost logo

Boost :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-02-03 09:37:40

Just noticed this compile error for the latest CVS code using the
SunPRO compiler:

line 121: Error: readdir_r is not a member of file level.

Here's the compile command:

    CC -c -g -xtarget=generic +d -features=rtti -features=except
-features=tmplife -instances=static
-I"/home/nbde52d/src/boost-regression/boost" -o

The -mt flag is not present, so including <dirent.h> does not pull in
the readdir_r prototype. I think the use of ::readdir_r needs to be
further protected with a check for whether MT code is being compiled

Caleb Epstein
caleb dot epstein at gmail dot com

Boost list run by bdawes at, gregod at, cpdaniel at, john at