2
0
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:
Peter Dimov
2026-01-04 18:42:07 +02:00
parent 0b86240e0d
commit 2b5d078c00

View File

@@ -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>