This is the mail archive of the
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.3
On 7/27/2016 4:33 PM, Corinna Vinschen wrote:
> On Jul 27 10:58, Ken Brown wrote:
>> On 7/27/2016 8:36 AM, Corinna Vinschen wrote:
>>> Hi Cygwin developers and maintainers,
>>> Hi everyone else,
>>> I uploaded a new Cygwin test release 2.6.0-0.3.
>>> Supposed to fix the problems reported in
>> This is now fixed. Here's another problem, with a very easy test case:
>> $ locale -a
>> Segmentation fault (core dumped)
> Confirmed. I missed to set a variable in case of the "th_TH.TIS-620"
> locale or the "thai" locale alias. I'll build a 0.4 tomorrow.
This is fixed in 0.4, and that's the last of the regressions that I've found by running the emacs test suite.
I built and tested texlive with no problem.
I also tried to build icu, but there are some glitches due to the new POSIX guard in /usr/include/locale.h. For example:
$ cat setlocale_test.cc
$ g++ -c setlocale_test.cc --std=c++0x
In file included from /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/x86_64-pc-cygwin/bits/c++locale.h:41:0,
/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/clocale:54:11: error: ‘::setlocale’ has not been declared
/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/clocale:55:11: error: ‘::localeconv’ has not been declared
In file included from /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/bits/localefwd.h:40:0,
/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/x86_64-pc-cygwin/bits/c++locale.h: In function ‘int std::__convert_from_v(int* const&, char*, int, const char*, ...)’:
/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/x86_64-pc-cygwin/bits/c++locale.h:60:19: error: ‘setlocale’ is not a member of ‘std’
char* __old = std::setlocale(LC_NUMERIC, 0);
/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/x86_64-pc-cygwin/bits/c++locale.h:67:2: error: ‘setlocale’ is not a member of ‘std’
/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/x86_64-pc-cygwin/bits/c++locale.h:83:2: error: ‘setlocale’ is not a member of ‘std’
The errors go away if I move the prototypes of setlocale and localeconv outside of the new POSIX guard.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple