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 >>> https://cygwin.com/ml/cygwin/2016-07/msg00306.html >> >> 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 #include <istream> $ 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, from /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/bits/localefwd.h:40, from /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/ios:41, from /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/istream:38, from setlocale_test.cc:1: /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/clocale:54:11: error: ‘::setlocale’ has not been declared using ::setlocale; ^ /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/clocale:55:11: error: ‘::localeconv’ has not been declared using ::localeconv; ^ In file included from /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/bits/localefwd.h:40:0, from /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/ios:41, from /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/istream:38, from setlocale_test.cc:1: /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’ std::setlocale(LC_NUMERIC, "C"); ^ /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’ std::setlocale(LC_NUMERIC, __sav); The errors go away if I move the prototypes of setlocale and localeconv outside of the new POSIX guard. Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple