https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864
--- Comment #17 from Jürgen Reuter <juergen.reuter at desy dot de> --- (In reply to Erik Schnetter from comment #16) > The proper way to fix this via fixinclude is to replace declarations such as > > _Atomic u_long > > with > > _Atomic(u_long) > > which is still legal in C. In C++, one can then add > > #include <stdatomic> > #ifndef _Atomic > #define _Atomic(T) std::atomic< T > > #endif > > to create proper C++ code. It would be really great if you could provide a proper fix for gcc.