ARM: silence some annoying armcc warnings
authorMans Rullgard <mans@mansr.com>
Sat, 25 Jun 2011 17:51:00 +0000 (18:51 +0100)
committerMans Rullgard <mans@mansr.com>
Sat, 25 Jun 2011 18:02:56 +0000 (19:02 +0100)
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>
configure

index 41e1a4d..7031717 100755 (executable)
--- a/configure
+++ b/configure
@@ -3065,6 +3065,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