]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/69446 (cow-stdexcept.cc:374:1: error: alias d efinitions not supporte...
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 23 Jan 2016 22:24:59 +0000 (22:24 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 23 Jan 2016 22:24:59 +0000 (22:24 +0000)
PR libstdc++/69446
* config/os/hpux/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.

From-SVN: r232769

libstdc++-v3/ChangeLog
libstdc++-v3/config/os/hpux/os_defines.h

index b1244875e54615da59064a1dad0e5582a62ee31d..f0edd040727ec7a952c669f1e8e19f1854b8e2fd 100644 (file)
@@ -1,3 +1,8 @@
+2016-01-23  John David Anglin  <danglin@gcc.gnu.org>
+
+       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 - <math.h> pulls funcs into global namespace.
index b0fcb725ec7df71d85c64829931c0047e0903669..e0347258ec573b25c49d5ccd20a6481ecdc92682 100644 (file)
@@ -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",