This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add stdatomic.h


On Sun, 20 Apr 2014, Sebastian Huber wrote:

> Hello,
> 
> I test currently the GCC 4.9 release branch.  Should <stdatomic.h> work with
> C++?  I use GCC as a cross-compiler for RTEMS targets.  RTEMS uses Newlib as C

<stdatomic.h> is very C-specific; C++ programs are expected to use 
<atomic> instead (although it may be possible for programs to use a common 
subset that works in both languages in some cases).

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]