re PR bootstrap/69506 (check-in 232454 seems to cause problems with cygwin builds)
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Tue, 2 May 2017 15:04:39 +0000 (17:04 +0200)
committerJonathan Yong <jyong@gcc.gnu.org>
Tue, 2 May 2017 15:04:39 +0000 (15:04 +0000)
2017-05-02  Hugo Beauzée-Luyssen <hugo@beauzee.fr>

PR libstdc++/69506
* config/os/mingw32-w64/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.

From-SVN: r247502

libstdc++-v3/ChangeLog
libstdc++-v3/config/os/mingw32-w64/os_defines.h

index 65e9cadd408a0ca55da16abee9205987f9ef400e..7e39c092e4600b3e2206ca92abf87e2247039939 100644 (file)
@@ -1,3 +1,8 @@
+2017-05-02  Hugo Beauzée-Luyssen <hugo@beauzee.fr>
+
+       PR libstdc++/69506
+       * config/os/mingw32-w64/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
+
 2017-04-29  François Dumont  <fdumont@gcc.gnu.org>
 
        * testsuite/libstdc++-prettyprinters/48362.cc: Replace a regexp-test
index 1f46103249aeae3dfcfbb6db6ff230aeccae6dba..44985064c5964fa50975d0c212c68147de5bea02 100644 (file)
@@ -76,6 +76,8 @@
 
 #ifdef __x86_64__
 #define _GLIBCXX_LLP64 1
+// See libstdc++/69506
+#define _GLIBCXX_USE_WEAK_REF 0
 #endif
 
 // Enable use of GetModuleHandleEx (requires Windows XP/2003) in