
Hi Guenther Thanks for help me, the compilation was a successfuly. Now, the libraries (regex, filesystem) are installed best regards Ricardo
Date: Fri, 11 Apr 2008 07:29:50 +0000 (UTC) From: Guenther Stattenberger Subject: Re: [Boost-users] libboost_filesystem compile error in qnx To: boost-users@lists.boost.org Message-ID: Content-Type: text/plain; charset=us-ascii
Hi,
according to the QNX documentation, strerror itself is thread-safe, therefore I thought it correct to add the QNX switch to libs\system\src\error_code.cpp:86
# if defined(BOOST_WINDOWS_API) || defined(__hpux) || defined(__sun)\ || (defined(__linux) && (!defined(__USE_XOPEN2K) || defined(BOOST_SYSTEM_USE_STRERROR)))\ || (defined(__osf__) && !defined(_REENTRANT))\ || (defined(__vms))\ || (defined(__QNXNTO__)) // <===================================
Any comments on that?
In addition, I had to uncomment the case statement for EALREADY later in this file. Since the QNX errno.h header defines #define EALREADY EBUSY it won't compile otherwise.
Hope that helps.
best regards Guenther
____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ