mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 00:42:24 +00:00
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.
This commit is contained in:
parent
2a2f033551
commit
6a984425e8
2
configure
vendored
2
configure
vendored
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user