aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-06-25 18:51:00 +0100
committerReinhard Tartler <siretart@tauware.de>2011-06-27 08:38:42 +0200
commit9b69efc02b6f34fbe50512d4d108ec5559ebb9ec (patch)
tree79f0aba55d9497bdeeadebb04557fbc1a63e4d31
parent9c709f053474dd74890f32662b7d7010e5cc0b0d (diff)
downloadffmpeg-9b69efc02b6f34fbe50512d4d108ec5559ebb9ec.tar.gz
ARM: silence some annoying armcc warnings
This silences warnings about pointer target sign mismatches as already done for gcc with -Wno-pointer-sign. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit d0ce090ec553c88eb8e9c303156017417d4599cc) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index b26394ec29..b3c20350df 100755
--- a/configure
+++ b/configure
@@ -3059,6 +3059,8 @@ elif enabled armcc; then
add_cflags -W${armcc_opt},--diag_suppress=1207
add_cflags -W${armcc_opt},--diag_suppress=1293 # assignment in condition
add_cflags -W${armcc_opt},--diag_suppress=3343 # hardfp compat
+ add_cflags -W${armcc_opt},--diag_suppress=167 # pointer sign
+ add_cflags -W${armcc_opt},--diag_suppress=513 # pointer sign
elif enabled tms470; then
add_cflags -pds=824 -pds=837
elif enabled pathscale; then