[cfe-dev] RFC: __atomic_* support for gcc 4.7 compatibility
David Chisnall
csdavec at swan.ac.uk
Wed Apr 11 07:07:16 PDT 2012
On 11 Apr 2012, at 13:53, Joerg Sonnenberger wrote:
> On Wed, Apr 11, 2012 at 10:55:30AM +0100, David Chisnall wrote:
>> Ideally, I'd also like an option where we warn if either set of
>> intrinsics is used outside of <stdatomic.h> or <atomic>.
>
> That would be problematic, since it makes perfect sense to have a
> corresponding sys/atomic.h or so for kernel usage.
So don't enable that warning when compiling the kernel?
David
-- Sent from my PDP-11
More information about the cfe-dev
mailing list