[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH] tests/test-int128: Don't use __noclone__ attr
Re: [Qemu-trivial] [PATCH] tests/test-int128: Don't use __noclone__ attribute on clang
Sun, 02 Mar 2014 17:20:42 +0400
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10
27.02.2014 03:39, Peter Maydell wrote:
> 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__.
Applied to -trivial, thank you!
|[Prev in Thread]
||[Next in Thread]|
- Re: [Qemu-trivial] [PATCH] tests/test-int128: Don't use __noclone__ attribute on clang,
Michael Tokarev <=