aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2014-04-02 13:13:22 +0100
committerD G Turner2014-04-02 13:13:22 +0100
commit6a984425e877d5bb636fba185f550dc84dc7a70d (patch)
tree90b573a4145880b60013541dbab7821bf058895c
parent2a2f033551b10ee785dc47806d3cf9bfdf331aa9 (diff)
downloadscummvm-rg350-6a984425e877d5bb636fba185f550dc84dc7a70d.tar.gz
scummvm-rg350-6a984425e877d5bb636fba185f550dc84dc7a70d.tar.bz2
scummvm-rg350-6a984425e877d5bb636fba185f550dc84dc7a70d.zip
CONFIGURE: Remove noisy format warnings from AmigaOS4 builds.
This is due to the 4 byte long as int32 which leads to format mismatch warnings. These are supressed to allow any real issues to be seen.
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index caf88b3720..dc8eace88b 100755
--- a/configure
+++ b/configure
@@ -2058,6 +2058,8 @@ case $_host_os in
# 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.
type_4_byte='long'
+ # Supress format warnings as the long 4 byte causes noisy warnings.
+ CXXFLAGS="$CXXFLAGS -Wno-format"
add_line_to_config_mk 'AMIGAOS = 1'
;;
android)