[FFmpeg-cvslog] ARM: silence some annoying armcc warnings
Mans Rullgard
git at videolan.org
Wed Jul 27 12:49:37 CEST 2011
ffmpeg | branch: release/0.7 | Mans Rullgard <mans at mansr.com> | Sat Jun 25 18:51:00 2011 +0100| [9b69efc02b6f34fbe50512d4d108ec5559ebb9ec] | committer: Reinhard Tartler
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 at mansr.com>
(cherry picked from commit d0ce090ec553c88eb8e9c303156017417d4599cc)
Signed-off-by: Reinhard Tartler <siretart at tauware.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9b69efc02b6f34fbe50512d4d108ec5559ebb9ec
---
configure | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index b26394e..b3c2035 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
More information about the ffmpeg-cvslog
mailing list