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>
... | ... |
@@ -3059,6 +3059,8 @@ elif enabled armcc; then |
3059 | 3059 |
add_cflags -W${armcc_opt},--diag_suppress=1207 |
3060 | 3060 |
add_cflags -W${armcc_opt},--diag_suppress=1293 # assignment in condition |
3061 | 3061 |
add_cflags -W${armcc_opt},--diag_suppress=3343 # hardfp compat |
3062 |
+ add_cflags -W${armcc_opt},--diag_suppress=167 # pointer sign |
|
3063 |
+ add_cflags -W${armcc_opt},--diag_suppress=513 # pointer sign |
|
3062 | 3064 |
elif enabled tms470; then |
3063 | 3065 |
add_cflags -pds=824 -pds=837 |
3064 | 3066 |
elif enabled pathscale; then |