mirror of
https://github.com/boostorg/container.git
synced 2025-07-31 21:14:30 +02:00
Adjust BOOST_CONTAINER_GCC_COMPATIBLE_HAS_DIAGNOSTIC_IGNORED since clang claims to be GCC 4.2 but supports this feature.
This commit is contained in:
@@ -238,6 +238,8 @@ namespace boost {
|
||||
|
||||
#if defined(__GNUC__) && ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40600)
|
||||
#define BOOST_CONTAINER_GCC_COMPATIBLE_HAS_DIAGNOSTIC_IGNORED
|
||||
#elif defined(__clang__)
|
||||
#define BOOST_CONTAINER_GCC_COMPATIBLE_HAS_DIAGNOSTIC_IGNORED
|
||||
#endif
|
||||
|
||||
#endif //#ifndef BOOST_CONTAINER_DETAIL_WORKAROUND_HPP
|
||||
|
Reference in New Issue
Block a user