delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/07/28/15:44:48

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=pm++d2Xfn8y6nwMC
hyr+K55fcpT9EgEhw/m2vaFEpHnLhn6VvqJ5OFaim6TcqhR32+O7kg/JVvT1oQaF
AuPn+1ei5pMyOLXoopTDoymn+do0o0Zo7wUIGhjvmc+zlaupW2o0vNFChvFZ93xC
1AVUjBaBt9aeYZzjR1yB2vn4BOY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=Vcclqy+kWXrf3H7jWfYgUE
dJSgM=; b=fx90c/gRZMBMxuLUsgSHkK4qd4ireiJAT8bDjvSx7LFe6Q0dUsZo3k
QiXsFSwGpyShTM04n78Bwn3W3bvRWMjxeEpSsN8IQf2/0BrE9EuZS9aK6kfxO6sH
pjzOipVPPmCj0PBiPubir7Q361OgsNm3MnqFYM1bVpTblWLPhEeZo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:2704, H*M:3c86
X-HELO: limerock01.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.3
To: cygwin AT cygwin DOT com
References: <announce DOT 20160727123645 DOT GA15051 AT calimero DOT vinschen DOT de> <bd8a8318-7318-966a-646b-8f4cf9bed1d7 AT cornell DOT edu> <20160727203350 DOT GB29214 AT calimero DOT vinschen DOT de>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <9ce2e1fc-5bb5-923e-3c86-9331f33a5bb7@cornell.edu>
Date: Thu, 28 Jul 2016 15:44:38 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <20160727203350.GB29214@calimero.vinschen.de>
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019