Re: [Boost-bugs] [Boost C++ Libraries] #5937: Sun C++ 5.11 Linux compilation errors: operations.cpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5937: Sun C++ 5.11 Linux compilation errors: operations.cpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-27 17:02:48


#5937: Sun C++ 5.11 Linux compilation errors: operations.cpp
--------------------------------------------+-------------------------------
  Reporter: Peter Loibl <boost@…> | Owner: bemandawes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------+-------------------------------

Comment (by Peter Loibl <boost@…>):

 Hi!

 No problem. I attached the header file. Looking into the header file, it
 seems that the features.h file might be of interest as well. Is my
 assumption correct, that the function that you are using is the readdir()
 function is this context? If yes, then the man page for readdir() gives
 the following hint:

 {{{
 #!C++
    Feature Test Macro Requirements for glibc (see feature_test_macros(7)):

        readdir_r():
            _POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _BSD_SOURCE ||
            _SVID_SOURCE || _POSIX_SOURCE
 }}}

 I also attached the output that the pre-processor is generating The output
 of the pre-processor has been created with the following command:

 CC -E -library=stlport4 -xO4 -mt -erroff=%none -m64 -DBOOST_ALL_NO_LIB=1
 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"."
 libs/filesystem/v3/src/operations.cpp > ../operations.i

 Cheers,
 Peter Loibl

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5937#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC