OSDN Git Service

disas/libvixl: Really suppress gcc 4.6.3 sign-compare warnings
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 14 Jan 2016 14:53:22 +0000 (14:53 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 14 Jan 2016 17:57:51 +0000 (17:57 +0000)
commitf02ccf53693758b65843264e077f90cf295e7d98
tree03f19e2cf6d6fed6e30729b36819292abe07ff2a
parent17c8a2197888bac8ec0256b16919b721c76c5e62
disas/libvixl: Really suppress gcc 4.6.3 sign-compare warnings

Commit 8acc216b956 attempted to silence some sign-compare
warnings in libvixl by adding -Wno-sign-compare to the CFLAGS
for the relevant objects. Unfortunately it was ineffective
because it was placed before $(QEMU_CFLAGS), so the -Wall in
the general flags overrode -Wno-sign-compare rather than
vice-versa. Reorder the flags so the warning suppression works.

Thanks to Franz-Josef Haider <Franz-Josef.Haider@student.uibk.ac.at>
for pointing out what was wrong with the original patch.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1452783202-576-1-git-send-email-peter.maydell@linaro.org
disas/libvixl/Makefile.objs