diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-02-26 23:39:46 +0000 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-03-02 17:20:37 +0400 |
commit | 7edd9ddc979f112287ff5184590830c67ea991bf (patch) | |
tree | 266dcc9e428a95a830a66a3e8cd00e43f691a477 /tests/test-qmp-output-visitor.c | |
parent | 8ead6018837f13f1ef4a40c3eb5054512c160577 (diff) | |
download | qemu-7edd9ddc979f112287ff5184590830c67ea991bf.zip qemu-7edd9ddc979f112287ff5184590830c67ea991bf.tar.gz qemu-7edd9ddc979f112287ff5184590830c67ea991bf.tar.bz2 |
tests/test-int128: Don't use __noclone__ attribute on clang
clang doesn't support the __noclone__ attribute and emits a warning about
it. Fortunately clang also implements a mechanism for asking if a particular
attribute is implemented; use it. We assume that if the compiler doesn't
support __has_attribute() then it must be GCC and must support __noclone__.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'tests/test-qmp-output-visitor.c')
0 files changed, 0 insertions, 0 deletions