aboutsummaryrefslogtreecommitdiff
path: root/slirp/cksum.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-08-05 20:16:40 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2013-09-01 19:06:26 +0400
commit714290979abf551d5116346e4fbd3d54eb24bd12 (patch)
treecea9503f7f4a914ea5f8d487797d83fed5547383 /slirp/cksum.c
parentc89aa2f1851b08c3efa8a1070c0a6b9a36e1227f (diff)
configure: disable clang -Wstring-plus-int warning
Some versions of clang will warn about adding integers to strings: disas/i386.c:4753:23: error: adding 'char' to a string does not append to the string [-Werror,-Wstring-plus-int] oappend ("%es:" + intel_syntax); ~~~~~~~^~~~~~~~~~~~~~ disas/i386.c:4753:23: note: use array indexing to silence this warning oappend ("%es:" + intel_syntax); ^ & [ ] disas/i386.c uses this idiom to to skip a "%" prefix if using intel rather than AT&T syntax. This seems like a reasonable thing to do, and I don't think anybody contributing to QEMU is likely to believe that '+' is a string concatenation operator in C, so just disable -Wstring-plus-int. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'slirp/cksum.c')
0 files changed, 0 insertions, 0 deletions