http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60932
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |c++ Summary|<stdatomic.h> is not C++ |make stdatomic.h compatible |compatible |with C++ Severity|normal |enhancement --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The answer is no. Use atomic for C++11 code instead (since that is what the standard defines).