mirror of
https://github.com/boostorg/uuid.git
synced 2026-01-19 04:42:16 +00:00
Disable -Wshadow in test_bench_random.cpp for GCC 4.x because of Boost.Timer
This commit is contained in:
@@ -8,6 +8,12 @@
|
||||
// benchmark for random_generators in different forms
|
||||
//
|
||||
|
||||
// Boost.Timer isn't -Wshadow clean under GCC 4.x
|
||||
|
||||
#if defined(__GNUC__) && __GNUC__ < 5
|
||||
# pragma GCC diagnostic ignored "-Wshadow"
|
||||
#endif
|
||||
|
||||
#include <boost/core/ignore_unused.hpp>
|
||||
#include <boost/timer/timer.hpp>
|
||||
#include <boost/predef/os.h>
|
||||
|
||||
Reference in New Issue
Block a user