diff options
| author | Peter Maydell | 2014-02-27 00:39:46 +0100 |
|---|---|---|
| committer | Michael Tokarev | 2014-03-02 14:20:37 +0100 |
| commit | 7edd9ddc979f112287ff5184590830c67ea991bf (patch) | |
| tree | 266dcc9e428a95a830a66a3e8cd00e43f691a477 /include/qapi | |
| parent | stubs: Optimize dependencies for gdbstub.c (diff) | |
| download | qemu-7edd9ddc979f112287ff5184590830c67ea991bf.tar.gz qemu-7edd9ddc979f112287ff5184590830c67ea991bf.tar.xz qemu-7edd9ddc979f112287ff5184590830c67ea991bf.zip | |
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 'include/qapi')
0 files changed, 0 insertions, 0 deletions
