From 83042ee02c676764fe99b02774c9ab5cbd3e60b9 Mon Sep 17 00:00:00 2001 From: Tobiasz Laskowski Date: Sat, 1 Jun 2024 20:50:46 +0100 Subject: [PATCH] Don't undefine __STRICT_ANSI__ for mingw This was done originally to fix #785. However, since gcc 11.1.0, this gives a warning: __STRICT_ANSI__ seems to have been undefined; this is not supported Due to this change: https://gcc.gnu.org/git/?p=gcc.git;a=commit;f=libstdc%2B%2B-v3/include/bits/c%2B%2Bconfig;h=767537a8b027bcb5807bb45b0268c5da98c2c7a0 The original issue no longer happens with mingw-w64. The original mingw project is outdated (and 32 bit only) it is safe remove this flag now. --- toolchain/mingw-toolchain.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/toolchain/mingw-toolchain.xml b/toolchain/mingw-toolchain.xml index d45ebaf9b..0358cd583 100644 --- a/toolchain/mingw-toolchain.xml +++ b/toolchain/mingw-toolchain.xml @@ -41,7 +41,6 @@ -