https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864

--- Comment #16 from Erik Schnetter <schnetter at gmail dot com> ---
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.

Reply via email to