From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.3
Date: Thu, 28 Jul 2016 19:57:00 -0000 [thread overview]
Message-ID: <9ce2e1fc-5bb5-923e-3c86-9331f33a5bb7@cornell.edu> (raw)
In-Reply-To: <20160727203350.GB29214@calimero.vinschen.de>
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
next prev parent reply other threads:[~2016-07-28 19:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-27 12:46 Corinna Vinschen
2016-07-27 14:58 ` Ken Brown
2016-07-27 20:34 ` Corinna Vinschen
2016-07-28 19:57 ` Ken Brown [this message]
2016-07-28 20:00 ` Corinna Vinschen
2016-07-28 20:36 ` Ken Brown
2016-07-29 10:38 ` Corinna Vinschen
2016-07-27 18:29 ` Denis Excoffier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9ce2e1fc-5bb5-923e-3c86-9331f33a5bb7@cornell.edu \
--to=kbrown@cornell.edu \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).