OSDN Git Service

armcc: suppress 'assignment in condition' warning
authorMans Rullgard <mans@mansr.com>
Sat, 15 Jan 2011 14:55:08 +0000 (14:55 +0000)
committerMans Rullgard <mans@mansr.com>
Tue, 18 Jan 2011 20:48:24 +0000 (20:48 +0000)
configure

index ffc2a63..f672e8a 100755 (executable)
--- a/configure
+++ b/configure
@@ -2969,6 +2969,7 @@ elif enabled armcc; then
     # 2523: use of inline assembler is deprecated
     add_cflags -W${armcc_opt},--diag_suppress=2523
     add_cflags -W${armcc_opt},--diag_suppress=1207
+    add_cflags -W${armcc_opt},--diag_suppress=1293 # assignment in condition
 elif enabled tms470; then
     add_cflags -pds=824 -pds=837
 fi