|
Boost : |
Subject: Re: [boost] [interprocess] atomic_write32 on GCC/x86/x68_64 lacks memory barrier
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2014-08-11 22:50:12
On 12/08/2014 02:17, Peter Dimov wrote:
> You should probably use the __asm__ and __volatile__ spellings as a
> matter of style though.
It's not just style. When in strict standards mode, "asm volatile" will
fail to compile, but "__asm__ __volatile__" will still work.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk