allow clang to use Range Concepts despite reporting GCC 4.2.

This commit is contained in:
Neil Groves
2014-06-04 13:15:04 +01:00
parent 60025220f5
commit e43796c42c

View File

@ -64,6 +64,7 @@ namespace boost {
#ifndef BOOST_RANGE_ENABLE_CONCEPT_ASSERT
// List broken compiler versions here:
#ifndef __clang__
#ifdef __GNUC__
// GNUC 4.2 has strange issues correctly detecting compliance with the Concepts
// hence the least disruptive approach is to turn-off the concept checking for
@ -79,6 +80,7 @@ namespace boost {
#define BOOST_RANGE_ENABLE_CONCEPT_ASSERT 0
#endif
#endif
#endif
#ifdef __BORLANDC__
#define BOOST_RANGE_ENABLE_CONCEPT_ASSERT 0