forked from boostorg/smart_ptr
Do not enable -Wsuggest-override in C++03 mode
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0.
|
// Distributed under the Boost Software License, Version 1.0.
|
||||||
// https://www.boost.org/LICENSE_1_0.txt
|
// https://www.boost.org/LICENSE_1_0.txt
|
||||||
|
|
||||||
#if defined(__GNUC__) && __GNUC__ >= 5
|
#if defined(__GNUC__) && __GNUC__ >= 5 && __cplusplus >= 201103L
|
||||||
# pragma GCC diagnostic error "-Wsuggest-override"
|
# pragma GCC diagnostic error "-Wsuggest-override"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user