[Scummvm-git-logs] scummvm master -> 229a6f305fc71cffd2163a08bc1f52d3c021b240

lotharsm mail at serra.me
Sat Oct 23 08:12:00 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
229a6f305f CONFIGURE: Do not undefine __STRICT_ANSI__ for mingw


Commit: 229a6f305fc71cffd2163a08bc1f52d3c021b240
    https://github.com/scummvm/scummvm/commit/229a6f305fc71cffd2163a08bc1f52d3c021b240
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-10-23T10:11:57+02:00

Commit Message:
CONFIGURE: Do not undefine __STRICT_ANSI__ for mingw

GCC11 warns if it is not defined.

Changed paths:
    configure


diff --git a/configure b/configure
index 92bf10c936..e942c853c4 100755
--- a/configure
+++ b/configure
@@ -2185,7 +2185,7 @@ if test "$have_gcc" = yes ; then
 		case $_host_os in
 		# newlib-based system include files suppress non-C89 function
 		# declarations under __STRICT_ANSI__, undefine it
-		3ds | amigaos* | android | androidsdl | dreamcast | ds | gamecube | mingw* | mint* | n64 | psp | ps3 | psp2 | switch | wii )
+		3ds | amigaos* | android | androidsdl | dreamcast | ds | gamecube | mint* | n64 | psp | ps3 | psp2 | switch | wii )
 			append_var CXXFLAGS "-U__STRICT_ANSI__"
 			;;
 		*)




More information about the Scummvm-git-logs mailing list