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:
D G Turner 2014-04-02 13:13:22 +01:00
parent 2a2f033551
commit 6a984425e8

2
configure vendored
View File

@ -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)