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

--- Comment #11 from Thiago Macieira <thiago at kde dot org> ---
(In reply to Andrew Pinski from comment #7)
> Use a configure time test instead of a compile time one.

Configure-time tests aren't good for libraries, when the idea is to use the
content in our own headers. Users may be using newer versions of GCC that could
benefit from this. And it defeats the purpose of having a standard way of
detecting the existence of functionality.

Anyway, since we don't have a time machine, I have to block any use of
<stdckdint.h> with GCC 14 anyway. So my problem is solved for GCC 14.

However, not for later versions and libc++. Can you fix the C header to either
work in C++ mode (like Clang's) or not define __STDC_VERSION_STDCKDINT_H__?

Reply via email to