From: John David Anglin Date: Sat, 23 Jan 2016 22:24:59 +0000 (+0000) Subject: re PR libstdc++/69446 (cow-stdexcept.cc:374:1: error: alias d efinitions not supporte... X-Git-Tag: basepoints/gcc-7~1368 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3676c0871fa9cb1df58a32f78efd01d2c95d5038;p=thirdparty%2Fgcc.git 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 --- 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",