From 3676c0871fa9cb1df58a32f78efd01d2c95d5038 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 23 Jan 2016 22:24:59 +0000 Subject: [PATCH] re PR libstdc++/69446 (cow-stdexcept.cc:374:1: error: alias d efinitions not supported in this configuration) PR libstdc++/69446 * config/os/hpux/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. From-SVN: r232769 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/config/os/hpux/os_defines.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b1244875e546..f0edd040727e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2016-01-23 John David Anglin + + PR libstdc++/69446 + * config/os/hpux/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. + 2016-01-22 Edward Smith-Rowland <3dw4rd@verizon.net> TR29124 C++ Special Math - pulls funcs into global namespace. diff --git a/libstdc++-v3/config/os/hpux/os_defines.h b/libstdc++-v3/config/os/hpux/os_defines.h index b0fcb725ec7d..e0347258ec57 100644 --- a/libstdc++-v3/config/os/hpux/os_defines.h +++ b/libstdc++-v3/config/os/hpux/os_defines.h @@ -99,6 +99,9 @@ typedef long int __padding_type; to null pointers when weak symbol support is on. */ #define _GLIBCXX_GTHREAD_USE_WEAK 0 +// No support for referencing weak symbols without a definition. +#define _GLIBCXX_USE_WEAK_REF 0 + // The strtold function is obsolete and not C99 conformant on PA HP-UX. // It returns plus or minus _LDBL_MAX instead of plus or minus HUGE_VALL // if the correct value would cause overflow. It doesn't handle "inf", -- 2.47.2