Subject: [Boost-bugs] [Boost C++ Libraries] #6139: error: "BOOST_CLANG" is not defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-18 11:19:15
#6139: error: "BOOST_CLANG" is not defined
-----------------------------------------+----------------------------------
Reporter: Ivo Raisr <ivosh@â¦> | Owner: nasonov
Type: Bugs | Status: new
Milestone: Boost 1.49.0 | Component: any
Version: Boost 1.47.0 | Severity: Problem
Keywords: |
-----------------------------------------+----------------------------------
{{{
boost/detail/container_fwd.hpp:72:9: error: "BOOST_CLANG" is not defined
}}}
This header file at line 72 contains the following:
{{{
#if BOOST_CLANG
}}}
But BOOST_CLANG is not even defined in my environment (gcc 4.1.2 on RHEL
5.x). I've checked all other occurrences of BOOST_CLANG in boost header
files and all contain construct such as
{{{
defined(BOOST_CLANG)
}}}
The problem is present in boost 1.48.0 as well.
I changed line 72 to:
{{{
#if defined(BOOST_CLANG) && (BOOST_CLANG)
}}}
and it seems to work now.
Perhaps it could be changed just to:
{{{
#if defined(BOOST_CLANG)
}}}
Should you need more information, just ping me.
Ivo Raisr
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6139> 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