From 90faa3941c5bba322cc9fe9541442ed80f3d51e2 Mon Sep 17 00:00:00 2001 From: Neil Groves Date: Sat, 8 Mar 2014 22:00:27 +0000 Subject: [PATCH] ticket 7328 gccxml compatibility. --- include/boost/range/concepts.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/range/concepts.hpp b/include/boost/range/concepts.hpp index 5a02a21..722b14f 100644 --- a/include/boost/range/concepts.hpp +++ b/include/boost/range/concepts.hpp @@ -72,6 +72,13 @@ namespace boost { #endif #endif + #ifdef __GCCXML__ + // GCC XML, unsurprisingly, has the same issues + #if __GCCXML_GNUC__ == 4 && __GCCXML_GNUC_MINOR__ == 2 + #define BOOST_RANGE_ENABLE_CONCEPT_ASSERT 0 + #endif + #endif + #ifdef __BORLANDC__ #define BOOST_RANGE_ENABLE_CONCEPT_ASSERT 0 #endif