mirror of
https://github.com/boostorg/uuid.git
synced 2026-01-19 04:42:16 +00:00
Disable -Wmissing-field-initializers for GCC 13+ as appropriate
This commit is contained in:
@@ -5,9 +5,15 @@
|
||||
#include <boost/uuid/time_generator_v1.hpp>
|
||||
#include <boost/uuid/uuid_clock.hpp>
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
#include <boost/config.hpp>
|
||||
#include <chrono>
|
||||
#include <set>
|
||||
|
||||
#if defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION >= 130000
|
||||
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114865
|
||||
# pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
||||
|
||||
using namespace boost::uuids;
|
||||
|
||||
uuid generate_and_test( time_generator_v1& gen )
|
||||
|
||||
@@ -5,10 +5,16 @@
|
||||
#include <boost/uuid/time_generator_v1.hpp>
|
||||
#include <boost/uuid/uuid_clock.hpp>
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
#include <boost/config.hpp>
|
||||
#include <chrono>
|
||||
#include <atomic>
|
||||
#include <set>
|
||||
|
||||
#if defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION >= 130000
|
||||
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114865
|
||||
# pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
||||
|
||||
using namespace boost::uuids;
|
||||
|
||||
uuid generate_and_test( time_generator_v1& gen )
|
||||
|
||||
@@ -5,12 +5,18 @@
|
||||
#include <boost/uuid/time_generator_v1.hpp>
|
||||
#include <boost/uuid/uuid_clock.hpp>
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
#include <boost/config.hpp>
|
||||
#include <atomic>
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
||||
#if defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION >= 130000
|
||||
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114865
|
||||
# pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
||||
|
||||
using namespace boost::uuids;
|
||||
|
||||
uuid::node_type const node{{ 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }};
|
||||
|
||||
@@ -5,9 +5,15 @@
|
||||
#include <boost/uuid/time_generator_v6.hpp>
|
||||
#include <boost/uuid/uuid_clock.hpp>
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
#include <boost/config.hpp>
|
||||
#include <chrono>
|
||||
#include <set>
|
||||
|
||||
#if defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION >= 130000
|
||||
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114865
|
||||
# pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
||||
|
||||
using namespace boost::uuids;
|
||||
|
||||
uuid generate_and_test( time_generator_v6& gen )
|
||||
|
||||
@@ -5,10 +5,16 @@
|
||||
#include <boost/uuid/time_generator_v6.hpp>
|
||||
#include <boost/uuid/uuid_clock.hpp>
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
#include <boost/config.hpp>
|
||||
#include <chrono>
|
||||
#include <atomic>
|
||||
#include <set>
|
||||
|
||||
#if defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION >= 130000
|
||||
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114865
|
||||
# pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
||||
|
||||
using namespace boost::uuids;
|
||||
|
||||
uuid generate_and_test( time_generator_v6& gen )
|
||||
|
||||
@@ -5,12 +5,18 @@
|
||||
#include <boost/uuid/time_generator_v6.hpp>
|
||||
#include <boost/uuid/uuid_clock.hpp>
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
#include <boost/config.hpp>
|
||||
#include <atomic>
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
||||
#if defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION >= 130000
|
||||
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114865
|
||||
# pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
||||
|
||||
using namespace boost::uuids;
|
||||
|
||||
uuid::node_type const node{{ 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }};
|
||||
|
||||
Reference in New Issue
Block a user