diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2022-01-18 21:37:02 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2022-01-18 21:37:02 +0000 |
commit | 76d5a9ec270a763c892ae28070e391cf99e0b7cd (patch) | |
tree | 83512c8741c408387e47a58170398bed873fb6d5 | |
parent | 748a9a5452568b90edba7162e5b9376d4837529d (diff) | |
download | swig-76d5a9ec270a763c892ae28070e391cf99e0b7cd.tar.gz |
gcc-12 warning fix in test-case
Closes #2145
-rw-r--r-- | Examples/test-suite/nested_class.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/test-suite/nested_class.i b/Examples/test-suite/nested_class.i index b10c33949..c778a12cf 100644 --- a/Examples/test-suite/nested_class.i +++ b/Examples/test-suite/nested_class.i @@ -201,7 +201,7 @@ struct Outer { Integer xx; } MultipleInstanceAnonDerived1, MultipleInstanceAnonDerived2, *MultipleInstanceAnonDerived3, MultipleInstanceAnonDerived4[2]; -#if defined(__GNUC__) || defined(_MSC_VER) || defined(SWIG) +#if (defined(__GNUC__) && __GNUC__ < 12) || defined(_MSC_VER) || defined(SWIG) /* some compilers do not accept these */ struct : public InnerMultiple { Integer xx; |