File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 42
42
runs-on : ${{ matrix.runs-on }}
43
43
env :
44
44
CXX : ${{ matrix.compiler }}
45
- CXXFLAGS : -std=${{ matrix.cxx-std }} -Wall -Wextra -Wold-style-cast -Wunused-parameter -Wno-error=dangling-reference - Wpedantic -Werror -pthread
45
+ CXXFLAGS : -std=${{ matrix.cxx-std }} -Wall -Wextra -Wold-style-cast -Wunused-parameter -Wpedantic -Werror -pthread
46
46
steps :
47
47
- uses : actions/checkout@v3
48
48
- name : Install compiler
Original file line number Diff line number Diff line change 11
11
// THE SOFTWARE.
12
12
13
13
14
+ // We want cppfront to build cleanly at very high warning levels, with warnings
15
+ // as errors -- so disable a handful that fire incorrectly due to compiler bugs
14
16
#ifdef _MSC_VER
15
- #pragma warning(disable: 4456)
17
+ #pragma warning(disable: 4456)
18
+ #endif
19
+ #if defined(__GNUC__) && __GNUC__ >= 13 && !defined(__clang_major__)
20
+ #pragma GCC diagnostic ignored "-Wno-dangling-reference"
16
21
#endif
17
22
18
23
#include " cpp2util.h"
You can’t perform that action at this time.
0 commit comments