aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/swig-support-gcc-12.patch
blob: ece7928aa26f80298c773b0f6dfd88a6cfb8ee70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Fix for https://github.com/swig/swig/issues/2145 made in unreleased upstream commit
https://github.com/swig/swig/commit/76d5a9ec270a763c892ae28070e391cf99e0b7cd

diff --git a/Examples/test-suite/nested_class.i b/Examples/test-suite/nested_class.i
index b10c339493e..c778a12cf7c 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;
ef='/guix/commit/gnu/packages/curl.scm?id=1e6ddceb8318d413745ca1c9d91fde01b1e0364b'>gnu: Use HTTPS package home pages wherever possible.Tobias Geerinckx-Rice 2023-02-12gnu: coeurl: Update to 0.3.0.Efraim Flashner 2023-01-30Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner 2022-11-27gnu: coeurl: Update to 0.2.1.Tobias Geerinckx-Rice 2022-09-01gnu: cURL: Update to 7.85.0.Marius Bakke 2022-08-30gnu: nghttp2: Update to 1.49.0.Marius Bakke 2022-08-30gnu: cURL: Use G-expression.Marius Bakke 2022-08-30gnu: cURL: Remove input labels.Marius Bakke 2022-07-22gnu: cURL: Incorporate grafted changes.Marius Bakke 2022-07-22Merge branch 'staging' into core-updatesMarius Bakke 2022-07-08gnu: curl@7.84.0: Reduce lib3026 resource use on 32-bit platforms.Ludovic Courtès 2022-07-03gnu: curl: Skip failing test on 32-bit architectures.Efraim Flashner 2022-07-03gnu: curl: Fix build on some systems.Efraim Flashner 2022-07-02gnu: curl: Skip failing test on x86-32.Liliana Marie Prikler 2022-06-30gnu: cURL: Replace with 7.84.0 [security fixes].Marius Bakke 2022-06-30gnu: cURL: Update source URI.Marius Bakke 2022-06-08Merge branch 'master' into core-updatesLudovic Courtès 2022-05-13gnu: curl: Use $SSL_CERT_DIR/$SSL_CERT_FILE.Maxime Devos 2022-05-08gnu: curl: Update to 7.82.0.Paul Alesius 2022-04-05gnu: curlie: Update to 1.6.9Imran Iqbal 2022-03-25gnu: Add curlie.Imran Iqbal 2022-03-14gnu: coeurl: Add source file-name.Efraim Flashner 2022-03-10gnu: coeurl: Update to 0.2.0.raingloom 2022-01-21gnu: Add coeurl.raingloom 2021-12-13gnu: Simplify package inputs.Ludovic Courtès 2021-11-11gnu: curl: Update to 7.79.1.Maxim Cournoyer 2021-11-11gnu: curl: Honor #:tests?.Sarah Morgensen