Opened 12 years ago
Closed 12 years ago
#5295 closed Bugs (fixed)
boost/range/sub_range.hpp cannot be included by itself
Reported by: | Owned by: | Neil Groves | |
---|---|---|---|
Milestone: | To Be Determined | Component: | range |
Version: | Boost 1.46.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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.
Note:
See TracTickets
for help on using tickets.
Resolved on trunk.