|
Boost : |
Subject: [boost] missing checks of compilation flags in boost/detail/container_fwd.hpp
From: F.S. (FlSt_at_[hidden])
Date: 2010-05-26 09:32:23
Hello everybody,
I don't how to send patches to you. This is a very small one,
which allows to compile boost libraries with gnu c++ library
using the Profile or Parallel mode.
Maybe it's useful for you:
***************
*** 13,19 ****
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
! #if ((defined(__GLIBCPP__) || defined(__GLIBCXX__)) && (
defined(_GLIBCXX_DEBUG) || defined(_GLIBCXX_PROFILE) ||
defined(_GLIBCXX_PARALLEL))) \
|| BOOST_WORKAROUND(__BORLANDC__, > 0x551) \
|| BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x842)) \
|| (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION))
--- 13,19 ----
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
! #if ((defined(__GLIBCPP__) || defined(__GLIBCXX__)) &&
defined(_GLIBCXX_DEBUG)) \
|| BOOST_WORKAROUND(__BORLANDC__, > 0x551) \
|| BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x842)) \
|| (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION))
Regards
Florian
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk