[Scummvm-git-logs] scummvm-tools master -> 8eecc2850cff428655e402aa32cdc5b77c1bbfcd

sev- noreply at scummvm.org
Mon Nov 21 11:34:53 UTC 2022


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

Summary:
8eecc2850c CONFIGURE: Suppress format warnings in AmigaOS


Commit: 8eecc2850cff428655e402aa32cdc5b77c1bbfcd
    https://github.com/scummvm/scummvm-tools/commit/8eecc2850cff428655e402aa32cdc5b77c1bbfcd
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2022-11-21T12:34:50+01:00

Commit Message:
CONFIGURE: Suppress format warnings in AmigaOS

Changed paths:
    configure


diff --git a/configure b/configure
index 21bdbf07..65fabc76 100755
--- a/configure
+++ b/configure
@@ -1182,11 +1182,13 @@ echo_n "Checking hosttype... "
 echo $_host_os
 case $_host_os in
 	amigaos*)
+		add_line_to_config_mk 'AMIGAOS = 1'
 		LDFLAGS="$LDFLAGS -L/sdk/local/newlib/lib"
-		# We have to use 'long' for our 4 byte typedef because AmigaOS already typedefs (u)int32
-		# as (unsigned) long, and consequently we'd get a compiler error otherwise.
+		# Use 'long' for ScummVM's 4 byte typedef, because AmigaOS
+		# already typedefs (u)int32 as (unsigned) long and suppress
+		# those noisy format warnings caused by the 'long' 4 byte
 		type_4_byte='long'
-		add_line_to_config_mk 'AMIGAOS = 1'
+		append_var CXXFLAGS "-Wno-format"
 		;;
 	beos*)
 		DEFINES="$DEFINES -DSYSTEM_NOT_SUPPORTING_D_TYPE"




More information about the Scummvm-git-logs mailing list