[Mingw-w64-public] Any chance that C++ locales work with g++?

2017-11-03 Thread Frédéric
Hi, I saw that std::locale(local_name) does not work with mingw (throws an exception). Even std::locale("") does not work. What is the reason for that? Any chance that it works some day? Maybe it's a problem with the C++ standard library, not mingw w64? Note that the C locale work (std::setlocal

Re: [Mingw-w64-public] [PATCH] headers: Add a configure parameter for setting the default value of _WIN32_WINNT

2017-11-03 Thread Kai Tietz via Mingw-w64-public
Hello Martin, The patch is ok. Please go ahead and apply. JonY, Adrien do we have on web-server documentation about our special configure options? I think it might be time to create such a page/document. What do you think? Thanks, Kai 2017-11-03 10:06 GMT+01:00 Martin Storsjö : > Signed-off

[Mingw-w64-public] [PATCH] headers: Add a configure parameter for setting the default value of _WIN32_WINNT

2017-11-03 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-headers/configure.ac| 10 ++ mingw-w64-headers/crt/_mingw.h.in | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/mingw-w64-headers/configure.ac b/mingw-w64-headers/configure.ac index 84109c9..21259d3 100644 --- a/mingw-

[Mingw-w64-public] [PATCH] Provide __debugbreak on clang as well

2017-11-03 Thread Martin Storsjö
This effectively reverts f2b70c99. Since clang 3.4, __debugbreak is limited to -fms-extensions and thus not available by default when targeting mingw. Signed-off-by: Martin Storsjö --- If you really want to retain support for clang < 3.4, I could try to add ifdefs to detect it. That would probabl