Enable -Wsuggest-override in warnings_test; add BOOST_OVERRIDE appropriately

This commit is contained in:
Peter Dimov
2020-06-17 01:06:40 +03:00
parent 63ac7fb9bc
commit 73bf30ae04
3 changed files with 16 additions and 12 deletions
+4
View File
@@ -8,6 +8,10 @@
// See library home page at http://www.boost.org/libs/system
#if defined(__GNUC__) && __GNUC__ >= 5 && __cplusplus >= 201103L
# pragma GCC diagnostic error "-Wsuggest-override"
#endif
#include <boost/config.hpp>
#if defined( BOOST_GCC ) && BOOST_GCC < 40600