Boost logo

Boost Testing :

From: Jonathan Turkanis (turkanis_at_[hidden])
Date: 2008-01-16 00:49:34


Christopher Cambly wrote:
>> Christopher Cambly/Toronto/IBM_at_IBMCA wrote:

> Sorry, the last statement is not entirely correct. The code in SVN is:
> # if defined(_LARGEFILE64_SOURCE) && \
> (!defined(_FILE_OFFSET_BITS) || _FILE_OFFSET_BITS != 64) || \
> defined(__IBMCPP__) && !defined(_LARGE_FILES) || \
> defined(BOOST_IOSTREAMS_HAS_LARGE_FILE_EXTENSIONS)
>
> This code implies that __IBMCPP__ is the only compiler available on AIX.
> gcc is available on AIX, and conversely XLC(__IBMCPP__) is available on
> Linux. The macro is (_AIX) for AIX. Maybe defined(_AIX) &&
> !defined(_LARGE_FILES) would be better. Just a thought.

Okay, I will use _AIX instead of __IBMCPP__ in the above code.

Jumping back to the original subject of the thread, when XLC is used on
Linux, does it use libstdc++ or the same standard library it uses on AIX?

> Chris Cambly
> XL C/C++ Compiler Development

-- 
Jonathan Turkanis
CodeRage
http://www.coderage.com

Boost-testing list run by mbergal at meta-comm.com