Subject: [Boost-bugs] [Boost C++ Libraries] #5295: boost/range/sub_range.hpp cannot be included by itself
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-12 20:58:58
#5295: boost/range/sub_range.hpp cannot be included by itself
------------------------------------------------+---------------------------
Reporter: Ivan A. Melnikov (iv@⦠| Owner: neilgroves
Type: Bugs | Status: new
Milestone: To Be Determined | Component: range
Version: Boost 1.46.0 | Severity: Problem
Keywords: |
------------------------------------------------+---------------------------
When I try to compile a simple test:
#include <boost/range/sub_range.hpp>
int main() { return 0; }
I got the following error (Linux x86_64, GCC 4.5.1):
$ g++ test.cpp
In file included from test.cpp:2:0:
/usr/include/boost/range/sub_range.hpp:15:21: error: missing binary
operator before token "("
That's because BOOST_WORKAROUND is used on line 15, before corresponding
header included on line 20.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5295> 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:05 UTC