From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by sourceware.org (Postfix) with ESMTPS id A0B3F388F015 for ; Tue, 5 May 2020 10:11:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A0B3F388F015 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=corinna-cygwin@cygwin.com Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N6Kl7-1j3BMP0w8X-016ivq for ; Tue, 05 May 2020 12:11:20 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 8F953A803FD; Tue, 5 May 2020 12:11:18 +0200 (CEST) Date: Tue, 5 May 2020 12:11:18 +0200 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Default mingw _WIN32_WINNT Message-ID: <20200505101118.GD3947@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <7101b829ec197e48e3aaf373625d950e95e29df4.camel@cygwin.com> <20200505085436.GC3947@calimero.vinschen.de> <5dfce652-c039-64af-e839-2bda021f7437@emrich-ebersheim.de> <2bd7e94d-e6e8-be8f-f409-c78ecf0aa643@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <2bd7e94d-e6e8-be8f-f409-c78ecf0aa643@gmail.com> X-Provags-ID: V03:K1:hZu8HoY3l0rHT+ZjWae8IFoMDPL5R3I72sKSoUC4TG9GEqvLXfw 5It1QjhoWbM+tg96pUE7doeK5Xso0cDPOrb3GWlFRHuzj3KA158sF4HsfCWpaLRvbuGPKlV 0bFuzUUj20J7qYpPcAvB7J1qugzCUkPAGHGmKzEydPHaQZVpA7/hzcXvDtofSjOlGr+/ZVE UP0eFEvJ65Q7Y9D0NHroA== X-UI-Out-Filterresults: notjunk:1;V03:K0:e/NKrpaUdtI=:kC463RvmnDroXbAMIAfcSY cuzMUp7MFeuk7oWwKf1AMW7qcDdKM7tL+mNjnnt1GWjnuO7jVn9CH5XZYOmAVBjzIonxAyjsn oyD2HyOQkFPf0ECHPIDHpdLYZVMU9t9VMBhQ3Qo82HBLgy8xYNabhpZHLqCLdLeS8y3kha4BC y0tNAGMTCEvJD814qJLo5FSxBV+dQfPmXzrkdFd1nZLKT5FnFaXltMh/jWlA3+SAAvvgwRgvh jO5n+JYUH2BGdOB/5e9NFBm5fL3zz4aekp2z9lKmFweUmI5sQoEiIAmrOeJrGD+oVEFcNp8/e R9R3L9QGb9VquCpV9ElnwGm4C1HHceWd7yN2vKn7wFDue5b610qNerB7VGrRreii9ZH/VK/EE 8s0JO8lS2JbS59bQyPlV+/GoJXy2jFDySA1Q4D/odj08t0XXgwH8EGAyjsqNYa6xq0nIrVF3B i/OpqIK4BI8sf2lRkH8/0aTbFBx6Y1Xd8RKKu5oatqgK9MTM0UtQbfGkEDeSBW2WXUZul6x0w f9/hljKzN3Tv/lcwDRiPYu6vXfqEAL15UYetsncU1Qif15bwhGitXGeqWdm4Upbz3tdnWCVNN CtKUfwixb52mt6bMhpm80YrkDfDC7YCWsEj6/NtCWWFDr01TylZghf5RhMrFpruiCZhV3JRg4 Abp/heMJ/DGNGvN6grDZG3EaRVkmnF3ZH1mrvRomUAvzTpKAL0WkJH15c4cn4ai7c3SxMeJpd SW1rtpVMyP+BdnfNCH0ZaqLhVKcgbehdDHIvLtz6oXoGfDyFkw/npNBm0Q0mWacjw72JM/A3E mebjYN/hv/6uCCT5tyxUKDOw+lMy/zVTEug072ag/qHzMkLFsNPkfLQaCoczvSREYILv35S X-Spam-Status: No, score=-98.0 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 10:11:23 -0000 On May 5 10:06, JonY via Cygwin wrote: > On 5/5/20 9:05 AM, Rainer Emrich wrote: > > Hi Corinna, > > > > Am 05.05.2020 um 10:54 schrieb Corinna Vinschen: > >> Therefore it might be a good idea to bump the default for these > >> Cygwin-related headers to at least 0x0600. > >> > >> Setting them to 0x0602 sounds like a good idea, but as long as we didn't > >> drop Vista or W7 support it might be premature. > >> > >> Btw., checking Cygwin sources for Vista and W7-specific code, it turned > >> out that actually very few lines of code handle Vista or W7-specific > >> workarounds. The advantage of removing the code is pretty minor, so I > >> didn't push the changes. While it's a bad idea to keep Vista and W7 > >> running (at least attached to the internet), we can support them a while > >> longer. > > I would expect support for Windows 7 as long as the Micsrosoft ESU > > program is active. > > > > By right, applications needing newer APIs should be setting them instead > of relying on the defaults. In this case, Cygwin compiled with > -D_WIN32_WINNT=0x602 if needed. It's not about compiling Cygwin itself (which sets _WIN32_WINNT to 0x0a00 anyway), it's about compiling executables *for* Cygwin. Given they won't run under pre-0x0600 anyway, it may be a good thing if the win32 headers for Cygwin executables define the minimum possible as default. Corinna -- Corinna Vinschen Cygwin Maintainer