From abecbdad6434545de7b6589440edea52b7db23f8 Mon Sep 17 00:00:00 2001 From: tobil4sk Date: Tue, 25 Jun 2024 19:17:34 +0100 Subject: [PATCH] Don't undefine __STRICT_ANSI__ for mingw (#1112) 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 851d0055a..c1dce197d 100644 --- a/toolchain/mingw-toolchain.xml +++ b/toolchain/mingw-toolchain.xml @@ -42,7 +42,6 @@ -