From 8a20a3c76fd6299d1e739b858625e5020a0140d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Tue, 2 May 2017 17:04:39 +0200 Subject: [PATCH] re PR bootstrap/69506 (check-in 232454 seems to cause problems with cygwin builds) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2017-05-02 Hugo Beauzée-Luyssen PR libstdc++/69506 * config/os/mingw32-w64/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. From-SVN: r247502 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/config/os/mingw32-w64/os_defines.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 65e9cadd408..7e39c092e46 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2017-05-02 Hugo Beauzée-Luyssen + + PR libstdc++/69506 + * config/os/mingw32-w64/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. + 2017-04-29 François Dumont * testsuite/libstdc++-prettyprinters/48362.cc: Replace a regexp-test diff --git a/libstdc++-v3/config/os/mingw32-w64/os_defines.h b/libstdc++-v3/config/os/mingw32-w64/os_defines.h index 1f46103249a..44985064c59 100644 --- a/libstdc++-v3/config/os/mingw32-w64/os_defines.h +++ b/libstdc++-v3/config/os/mingw32-w64/os_defines.h @@ -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 -- 2.30.2