From: Keith M. <no...@so...> - 2017-02-21 08:36:40
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Repository: mingw-org-wsl". The branch, 5.0-active has been updated via 617f15b16863cb5d542d1134e44e8fbd72739ad4 (commit) from b0798df545a3b6411558eb4798798db187b49430 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sf.net/p/mingw/mingw-org-wsl/ci/617f15b16863cb5d542d1134e44e8fbd72739ad4/ commit 617f15b16863cb5d542d1134e44e8fbd72739ad4 Author: Keith Marshall <kei...@us...> Date: Thu Feb 16 22:07:56 2017 +0000 Work around GCC bug; force C++11 to support std::wcstof(). diff --git a/mingwrt/ChangeLog b/mingwrt/ChangeLog index e3ffe46..03e10a5 100644 --- a/mingwrt/ChangeLog +++ b/mingwrt/ChangeLog @@ -1,3 +1,12 @@ +2017-02-16 Keith Marshall <kei...@us...> + + Work around GCC bug; force C++11 to support std::wcstof(). + + * include/_mingw.h [_ISOC99_SOURCE && __cplusplus >= 201103L] + [__GNUC__ < 6] (_GLIBCXX_HAVE_WCSTOF): Define it to 1; it is required + because, prior to GCC-6, GCC's configuration process fails to specify + it correctly, and so invalidates its own <string> header file. + 2017-02-12 Keith Marshall <kei...@us...> Support brace expansion in globbing patterns. diff --git a/mingwrt/include/_mingw.h.in b/mingwrt/include/_mingw.h.in index da4ea87..5e54a22 100644 --- a/mingwrt/include/_mingw.h.in +++ b/mingwrt/include/_mingw.h.in @@ -504,9 +504,10 @@ allow GCC to optimize away some EH unwind code, at least in DW2 case. */ /* Due to a configuration defect in GCC versions prior to GCC-6, when * compiling C++11 code, the ISO-C99 functions may not be incorporated * into the appropriate namespace(s); we may be able to mitigate this, - * by ensuring that this GCC configuration macro is defined. + * by ensuring that these GCC configuration macros are defined. */ -# define _GLIBCXX_USE_C99 1 +# define _GLIBCXX_USE_C99 1 +# define _GLIBCXX_HAVE_WCSTOF 1 #endif #if ! defined _MINGW32_SOURCE_EXTENDED && ! defined __STRICT_ANSI__ ----------------------------------------------------------------------- Summary of changes: mingwrt/ChangeLog | 9 +++++++++ mingwrt/include/_mingw.h.in | 5 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) hooks/post-receive -- Repository: mingw-org-wsl |