[PATCH] hpux: Remove _GLIBCXX_USE_LONG_LONG define from hpux os_defines.h
John David Anglin
dave@parisc-linux.org
Sat Apr 5 15:37:43 GMT 2025
The stage1 compiler is built with -std=c++14 and _GLIBCXX_USE_LONG_LONG
is defined in config.h. So, I believe we can remove define from hpux
os_defines.h.
Tested on hpppa64-hp-hpux11.11 with no regressions.
Dave
---
hpux: Remove _GLIBCXX_USE_LONG_LONG define from hpux os_defines.h
_GLIBCXX_USE_LONG_LONG is now defined by configure.
2025-04-05 John David Anglin <danglin@gcc.gnu.org>
libstdc++-v3/ChangeLog:
* config/os/hpux/os_defines.h: Remove _GLIBCXX_USE_LONG_LONG
define.
diff --git a/libstdc++-v3/config/os/hpux/os_defines.h b/libstdc++-v3/config/os/hpux/os_defines.h
index d3a6c5ab142..acc1a022bde 100644
--- a/libstdc++-v3/config/os/hpux/os_defines.h
+++ b/libstdc++-v3/config/os/hpux/os_defines.h
@@ -52,10 +52,7 @@
Also note that the compiler defines _INCLUDE_LONGLONG for C++
unconditionally, which makes intmax_t and uintmax_t long long
- types.
-
- We also force _GLIBCXX_USE_LONG_LONG here so that we don't have
- to bastardize configure to deal with this sillyness. */
+ types. */
#if __cplusplus >= 201103L
namespace std
@@ -77,8 +74,6 @@ namespace std
} // namespace std
#endif // __cplusplus
-#define _GLIBCXX_USE_LONG_LONG 1
-
// 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.
#if !defined(_LP64) && defined (__ia64__)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20250405/1ec6e9dc/attachment.sig>
More information about the Libstdc++
mailing list