[Bug c++/60932] make stdatomic.h compatible with C++

sebastian.huber@embedded-brains.de gcc-bugzilla@gcc.gnu.org
Wed Apr 23 14:06:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60932

Sebastian Huber <sebastian.huber@embedded-brains.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #11 from Sebastian Huber <sebastian.huber@embedded-brains.de> ---
Ok, I will use this

#ifdef __cplusplus
#include <atomic>
using namespace std;
#else
#include <stdatomic.h>
#endif

approach, but from my point of view this is quite an unsatisfactory user
experience.



More information about the Gcc-bugs mailing list