mirror of
https://github.com/boostorg/spirit.git
synced 2026-01-19 04:42:11 +00:00
CI: Re-enable -Wdeprecated-copy on Clang
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -421,9 +421,6 @@ jobs:
|
||||
# -Wextra warnings:
|
||||
-Wno-deprecated-copy # Proto, Phoenix, GCC bug 92145
|
||||
: unchecked ;
|
||||
toolset.flags clang-linux.compile OPTIONS <known-warnings>suppress :
|
||||
-Wno-deprecated-copy # Proto, Phoenix
|
||||
: unchecked ;
|
||||
|
||||
EOF
|
||||
# Determining the root branch
|
||||
|
||||
@@ -119,9 +119,6 @@ before_install:
|
||||
# -Wextra warnings:
|
||||
-Wno-deprecated-copy # Proto, Phoenix, GCC bug 92145
|
||||
: unchecked ;
|
||||
toolset.flags clang-linux.compile OPTIONS <known-warnings>suppress :
|
||||
-Wno-deprecated-copy # Proto, Phoenix
|
||||
: unchecked ;
|
||||
|
||||
- |
|
||||
# Determining the root branch
|
||||
|
||||
@@ -9,6 +9,14 @@
|
||||
#include <iostream>
|
||||
#include <cctype>
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
// suppress -Wdeprecated-copy from dynamic_bitset and random
|
||||
#if defined(__GNUC__) && __GNUC__ >= 9
|
||||
# pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
||||
#elif defined(__clang__) && defined(__has_warning)
|
||||
# if __has_warning("-Wdeprecated-copy")
|
||||
# pragma clang diagnostic ignored "-Wdeprecated-copy"
|
||||
# endif
|
||||
#endif
|
||||
#include <boost/dynamic_bitset.hpp>
|
||||
#include <boost/integer_traits.hpp>
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1700
|
||||
|
||||
Reference in New Issue
Block a user