[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lzip-bug] mingw build failure
From: |
Roy Tam |
Subject: |
Re: [Lzip-bug] mingw build failure |
Date: |
Sun, 13 Jan 2013 11:27:24 +0800 |
2013/1/13 Antonio Diaz Diaz <address@hidden>:
> Roy Tam wrote:
>>
>> actually it is safe to #define it to _strtoi64 in mingw as _strtoi64
>> is always exists in MSVCRT.
>
>
> I hope you are right because I have just released lzip-1.14-rc2 with
> strtoull defined to _strtoi64. BTW, this version uses strtoull instead of
> strtoll, but I guess _strtoi64 may be fine because the maximum valid value
> is in the range of a signed long long.
for strtoull in mingw, use _strtoui64. (
http://msdn.microsoft.com/en-US/library/85zk715d%28v=vs.80%29.aspx )
for document about _strtoi64, it isavailable here:
http://msdn.microsoft.com/en-US/library/h80404d3%28v=vs.80%29.aspx
but g++ complains there is no header about it, I think keep using
strtoll/strtoull in C++ version will be better.
(the function exists in MSVCRT.dll but mingw header does not have prototypes)
>
> 1.14-rc2 also uses setmode instead of _setmode. Please, test these changes
> in Windows and OS/2 before I made a wider announcement.
>
> http://download-mirror.savannah.gnu.org/releases/lzip/
>
>
> Regards,
> Antonio.
- [Lzip-bug] mingw build failure, Roy, 2013/01/10
- Re: [Lzip-bug] mingw build failure, Antonio Diaz Diaz, 2013/01/10
- Re: [Lzip-bug] mingw build failure, Roy Tam, 2013/01/10
- Re: [Lzip-bug] mingw build failure, Antonio Diaz Diaz, 2013/01/11
- Re: [Lzip-bug] mingw build failure, Roy Tam, 2013/01/11
- Re: [Lzip-bug] mingw build failure, Antonio Diaz Diaz, 2013/01/12
- Re: [Lzip-bug] mingw build failure,
Roy Tam <=
- Re: [Lzip-bug] mingw build failure, JonY, 2013/01/12
- Re: [Lzip-bug] mingw build failure, Antonio Diaz Diaz, 2013/01/13
- Re: [Lzip-bug] mingw build failure, JonY, 2013/01/14
- Re: [Lzip-bug] mingw build failure, Antonio Diaz Diaz, 2013/01/14
- [Lzip-bug] Rc3, Elbert & Nicole Pol, 2013/01/15
- Re: [Lzip-bug] Rc3, Antonio Diaz Diaz, 2013/01/15
- Re: [Lzip-bug] Rc3, JonY, 2013/01/16
- Re: [Lzip-bug] Rc3, Antonio Diaz Diaz, 2013/01/16
- Re: [Lzip-bug] mingw build failure, Elbert & Nicole Pol, 2013/01/13