stdlib: Avoid syntax errors in libstdc++ header files on AIX.

2025-04-12 Thread Collin Funk
2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0733b2b95a..33cae49b8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2025-04-12 Collin Funk + stdlib: Avoid syntax errors in libstdc++ header files on AIX. + * lib/stdlib.in.h: Include before

Re: stdlib: Avoid syntax errors in libstdc++ header files

2024-07-14 Thread Bruno Haible
I did: > 2024-07-14 Bruno Haible > > stdlib: Avoid syntax errors in libstdc++ header files. > * lib/stdlib.in.h: Include before strtol, strtoll, strtoul, or > strtoull gets defined as a macro. Oops, this causes other compilation errors on macOS 13, 14 and Ope

stdlib: Avoid syntax errors in libstdc++ header files

2024-07-14 Thread Bruno Haible
from /opt/gcc-9/include/c++/9.3.0/ostream:38, from /opt/gcc-9/include/c++/9.3.0/iostream:39, from ../../gltests/test-nullptr-c++.cc:25: ../gllib/stdlib.h:2392:1: note: 'rpl_strtoull' declared here 2392 | _GL_FUNCDECL_RPL (strtoull, unsigned long long,