https://gcc.gnu.org/g:be071faca03881896078f2b686ee3a8fef50c8dc
commit r17-7042-gbe071faca03881896078f2b686ee3a8fef50c8dc Author: John David Anglin <[email protected]> Date: Wed Dec 2 14:04:34 2026 -0500 libstdc++: Declare strtoll and strtoull in global namespace on HP-UX These missing declations were noticed by Jonathan Wakely. 2026-12-02 John David Anglin <[email protected]> libstdc++-v3/ChangeLog: * config/os/hpux/os_defines.h (strtoll, strtoull): Declare in global namespace for C++. Diff: --- libstdc++-v3/config/os/hpux/os_defines.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/config/os/hpux/os_defines.h b/libstdc++-v3/config/os/hpux/os_defines.h index a525298e5586..fd9cce6adf4d 100644 --- a/libstdc++-v3/config/os/hpux/os_defines.h +++ b/libstdc++-v3/config/os/hpux/os_defines.h @@ -72,7 +72,9 @@ namespace std #endif } } // namespace std -#endif // __cplusplus +using std::strtoll; +using std::strtoull; +#endif // __cplusplus >= 201103L // HPUX on IA64 requires vtable to be 64 bit aligned even at 32 bit // mode. We need to pad the vtable structure to achieve this.
