Re: [Mingw-w64-public] Default _WIN32_WINNT version too low?

2017-06-09 Thread Ruben Van Boxem
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" <
mingw-w64-public@lists.sourceforge.net>:

> 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 :
> > 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 
> > wrote:
> >
> >> On 3 June 2017 at 19:52, Mateusz MikuĊ‚a  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
> >> > > Mingw-w64-public@lists.sourceforge.net
> >> > > 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
> >> > Mingw-w64-public@lists.sourceforge.net
> >> > 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
> >> Mingw-w64-public@lists.sourceforge.net
> >> 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
> > Mingw-w64-public@lists.sourceforge.net
> > 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
> Mingw-w64-public@lists.sourceforge.net
> 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
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Semi-OT: Is this sourceforge email legit? (Fwd: Important Account Information - Reconfirm Mailing List Subscriptions)

2017-06-09 Thread K. Frank
Hi Kai!

On Fri, Jun 9, 2017 at 4:27 AM, Kai Tietz via Mingw-w64-public
 wrote:
> Hello,
>
> yes, everybody seems to get such a mail for the subscribed sf public
> mailing lists.  SF changed describes the reasoning at
> https://sourceforge.net/blog/sourceforge-project-e-mail-policy-update/
> for further information.

Thanks for the clarification / confirmation.  I'll treat the sourceforge
email as legitimate.

> Regards,
> Kai


Best.


K. Frank


> 2017-06-09 7:26 GMT+02:00 LRN :
>> On 6/9/2017 6:13 AM, K. Frank wrote:
>>> Hello List!
>>>
>>> I just wanted to check whether this email from sourceforge is legit.
>>> It seemed a little odd -- out of the blue -- and sourceforge has earned
>>> itself an imperfect reputation.
>>>
>>> Is this okay?  Have others got this?
>>> ...

--
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
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [Patch] normalize strftime and strftime_l

2017-06-09 Thread Kai Tietz via Mingw-w64-public
Well,

the inline variant seems fine to me.  I would prefer to have here
instead an implementation file.  As later allows us to provide such a
function from import-library too.

Cheers,
Kai

2017-06-04 2:10 GMT+02:00 Martell Malone :
> Following up with an initial patch
> Not sure if this is ideal because this will be used over the MSVC version.
> I can add it to a c source as an emulation if that suits better
>
> diff --git a/mingw-w64-headers/crt/time.h b/mingw-w64-headers/crt/time.h
> index 7f5bbb78..405a9f1d 100644
> --- a/mingw-w64-headers/crt/time.h
> +++ b/mingw-w64-headers/crt/time.h
> @@ -129,7 +129,9 @@ extern "C" {
>struct tm *__cdecl _localtime32(const __time32_t *_Time)
> __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
>_SECIMP errno_t __cdecl _localtime32_s (struct tm *_Tm,const __time32_t
> *_Time);
>size_t __cdecl strftime(char * __restrict__ _Buf,size_t
> _SizeInBytes,const char * __restrict__ _Format,const struct tm *
> __restrict__ _Tm);
> -  _CRTIMP size_t __cdecl _strftime_l(char * __restrict__ _Buf,size_t
> _Max_size,const char * __restrict__ _Format,const struct tm * __restrict__
> _Tm,_locale_t _Locale);
> +  __forceinline size_t __cdecl _strftime_l(char * __restrict__ _Buf,size_t
> _Max_size,const char * __restrict__ _Format,const struct tm * __restrict__
> _Tm,_locale_t _Locale) {
> +return strftime(_Buf, _Max_size, _Format, _Tm);
> +  }
>_CRTIMP char *__cdecl _strdate(char *_Buffer)
> __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
>_SECIMP errno_t __cdecl _strdate_s (char *_Buf,size_t _SizeInBytes);
>_CRTIMP char *__cdecl _strtime(char *_Buffer)
> __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
>
> On Mon, May 22, 2017 at 12:18 PM, Martell Malone 
> wrote:
>
>> Thanks for spotting that strangely MSDN seems to think it does exist.
>> https://docs.microsoft.com/en-gb/cpp/c-runtime-library/
>> reference/strftime-wcsftime-strftime-l-wcsftime-l
>> I have no problem in doing an emulation for "strftime_l".
>> I would rather not use random msvcrt versions :)
>>
>> On Mon, May 22, 2017 at 12:14 PM, Liu Hao  wrote:
>>
>>> On 2017/5/22 18:43, JonY wrote:
>>> > On 05/22/2017 07:57 AM, Liu Hao wrote:
>>> >> On 2017/5/22 2:05, Martell Malone wrote:
>>> >>> Context: libc++ uses strftime_l now
>>> >>>
>>> >>> Please Review
>>> >> The DEF files are generated from DLLs. I don't have Win10 at hand so I
>>> >> have asked jon_y on IRC to update them.
>>> >>
>>> >
>>> > Win10 msvcrt doesn't have strftime_l, checked on 1607.
>>> Thanks for confirmation.
>>>
>>> On my Windows 7 the function `_strftime_l` is available in
>>> MSVCR{80,90,100,110,120}.DLL, but is not available in MSVCR{T,70}.DLL.
>>> So the patch can't be applied here.
>>>
>>> When I took my last look at libcxx it required MSVCR90 to build. I am
>>> not sure which version of MSVCR* libcxx requires today but I am afraid
>>> it can't be built with only MSVCRT. That is, in order to build libcxx
>>> you have to *replace* the default `-lmsvcrt` with `-lmsvcr90` (MSVCR90
>>> is fragile so I suggest you use `-lmsvcr100`). In the case of GCC this
>>> can be done by dumping GCC's default specs file, modifying it, then
>>> building use the modified specs.
>>>
>>> --
>>> Best regards,
>>> LH_Mouse
>>>
>>>
>>> 
>>> --
>>> 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
>>> Mingw-w64-public@lists.sourceforge.net
>>> 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
> Mingw-w64-public@lists.sourceforge.net
> 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
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Semi-OT: Is this sourceforge email legit? (Fwd: Important Account Information - Reconfirm Mailing List Subscriptions)

2017-06-09 Thread Kai Tietz via Mingw-w64-public
Hello,

yes, everybody seems to get such a mail for the subscribed sf public
mailing lists.  SF changed describes the reasoning at
https://sourceforge.net/blog/sourceforge-project-e-mail-policy-update/
for further information.

Regards,
Kai

2017-06-09 7:26 GMT+02:00 LRN :
> On 6/9/2017 6:13 AM, K. Frank wrote:
>> Hello List!
>>
>> I just wanted to check whether this email from sourceforge is legit.
>> It seemed a little odd -- out of the blue -- and sourceforge has earned
>> itself an imperfect reputation.
>>
>> Is this okay?  Have others got this?
>>
>>
>> -- Forwarded message --
>> From: SourceForge.net 
>> Date: Thu, Jun 8, 2017 at 6:34 PM
>> Subject: Important Account Information - Reconfirm Mailing List Subscriptions
>> To: 
>
> The message does mention reconfirmation via sourceforge.net website. So if 
> you,
> like me, mistrust the email, just log into your SF.net account and reconfirm 
> there.
>
>
> --
> O< ascii ribbon - stop html email! - www.asciiribbon.org
>
> --
> 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
> Mingw-w64-public@lists.sourceforge.net
> 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
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public