In that case,
I think the best course of immediate action is to bump to Windows 7 as Kai
suggested.
If someone has the time to implement a configure option for changing this
default like Ruben suggest that would be a great.
Here is a patch for the former.
Please Review

diff --git a/mingw-w64-headers/crt/_mingw.h.in b/mingw-w64-headers/crt/_
mingw.h.in
index 2742b115..03de2212 100644
--- a/mingw-w64-headers/crt/_mingw.h.in
+++ b/mingw-w64-headers/crt/_mingw.h.in
@@ -222,7 +222,7 @@ limitations in handling dllimport attribute.  */
 #ifndef _WIN32_WINNT
-#define _WIN32_WINNT 0x502
+#define _WIN32_WINNT 0x601
 #endif
 #ifndef _INT128_DEFINED

Best,
Martell

On Fri, Jun 9, 2017 at 4:17 PM, Ruben Van Boxem <[email protected]>
wrote:

> I would maybe go one step further and make this a configure option (with
> default value). Then a user can decide if it's necessary to increase this
> for any reason whatsoever.
>
> Op 9 jun. 2017 11:18 a.m. schreef "Kai Tietz via Mingw-w64-public" <
> [email protected]>:
>
> > I agree that - if we want to increase default windows version - we
> > should bump our default to Windows 7. Windows Vista is already on the
> > way to die ...
> > Nevertheless, IMHO we should do that increase just for our master.
> >
> > Regards,
> > Kai
> >
> > 2017-06-04 1:33 GMT+02:00 Martell Malone <[email protected]>:
> > > Thanks for that clarification Ricardo.
> > > It seems that when we bumped we didn't bump far enough :)
> > > Kai what are your thoughts?
> > >
> > > On Sun, Jun 4, 2017 at 12:13 AM, Ricardo Constantino <
> [email protected]>
> > > wrote:
> > >
> > >> On 3 June 2017 at 19:52, Mateusz Mikuła <[email protected]> wrote:
> > >>
> > >> >  0x0502 is Windows Server 2003
> > >> >
> > >> > If changing default target it should be done properly. Windows Vista
> > is
> > >> > EOL and it's share is lower than XP so I'd vote for Windows 7.
> > >> >
> > >> >
> > >> > ------ Original Message ------
> > >> > Subject: [Mingw-w64-public] Default _WIN32_WINNT version too low?
> > >> > Date: Sat, 3 Jun 2017 18:27:40 +0100
> > >> > To: Mingw-w64-public
> > >> > From: Martell Malone
> > >> > > Hey,
> > >> > >
> > >> > > As per my discussion with LLVM devs here.
> > >> > > 0x600 is the min version required to support libc++ win32
> threading.
> > >> > > https://reviews.llvm.org/D33384
> > >> > >
> > >> > > I'm not quite sure why we currently have 0x502 as the default.
> > >> > > It seems to be a number sitting between Windows XP and Vista.
> > >> >
> > >>
> > >> Besides being Windows Server 2003 it's also XP SP2.
> > >>
> > >>
> > >> > > I would like to propose we bump to 0x600 which is Vista for this
> > >> reason.
> > >> > >
> > >> > > Kind Regards
> > >> > > Martell
> > >> > > ------------------------------------------------------------
> > >> > ------------------
> > >> > > Check out the vibrant tech community on one of the world's most
> > >> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > >> > > _______________________________________________
> > >> > > Mingw-w64-public mailing list
> > >> > > [email protected]
> > >> > > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
> > >> >
> > >> >
> > >> > ------------------------------------------------------------
> > >> > ------------------
> > >> > Check out the vibrant tech community on one of the world's most
> > >> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > >> > _______________________________________________
> > >> > Mingw-w64-public mailing list
> > >> > [email protected]
> > >> > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
> > >> >
> > >> >
> > >> ------------------------------------------------------------
> > >> ------------------
> > >> Check out the vibrant tech community on one of the world's most
> > >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > >> _______________________________________________
> > >> Mingw-w64-public mailing list
> > >> [email protected]
> > >> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
> > >>
> > > ------------------------------------------------------------
> > ------------------
> > > Check out the vibrant tech community on one of the world's most
> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > > _______________________________________________
> > > Mingw-w64-public mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
> >
> > ------------------------------------------------------------
> > ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Mingw-w64-public mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
> >
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to