File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
7
7
Version 4.2.0 (in progress)
8
8
===========================
9
9
10
+ 2022-11-29: bero
11
+ Fix mismatch between #pragma GCC diagnostic push and pop statements
12
+
10
13
2022-11-26: wsfulton
11
14
#2449 Fix undefined behaviour in ccache-swig calculating md4 hashes and possibly
12
15
also handling errors when CCACHE_CPP2 is set.
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ extern "C" {
7
7
8
8
#if __GNUC__ >= 10
9
9
#if defined(__cplusplus)
10
+ #pragma GCC diagnostic push
10
11
#pragma GCC diagnostic ignored "-Wvolatile"
11
12
#endif
12
13
#endif
@@ -16,8 +17,10 @@ extern "C" {
16
17
#include "XSUB.h"
17
18
18
19
#if __GNUC__ >= 10
20
+ #if defined(__cplusplus)
19
21
#pragma GCC diagnostic pop
20
22
#endif
23
+ #endif
21
24
22
25
/* PERL_REVISION was added in Perl 5.6. */
23
26
#if !defined PERL_REVISION || (PERL_REVISION-0 == 5 && PERL_VERSION-0 < 8)
You can’t perform that action at this time.
0 commit comments