From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122585 invoked by alias); 28 Jul 2016 19:44:33 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 122575 invoked by uid 89); 28 Jul 2016 19:44:32 -0000 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 Received: from limerock01.mail.cornell.edu (HELO limerock01.mail.cornell.edu) (128.84.13.241) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 28 Jul 2016 19:44:22 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock01.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u6SJiJ2x008565 for ; Thu, 28 Jul 2016 15:44:20 -0400 Received: from [192.168.1.9] (mta-68-175-148-36.twcny.rr.com [68.175.148.36] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u6SJiIu7006527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Thu, 28 Jul 2016 15:44:19 -0400 Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.3 To: cygwin@cygwin.com References: <20160727203350.GB29214@calimero.vinschen.de> From: Ken Brown Message-ID: <9ce2e1fc-5bb5-923e-3c86-9331f33a5bb7@cornell.edu> Date: Thu, 28 Jul 2016 19:57:00 -0000 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> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes X-SW-Source: 2016-07/txt/msg00361.txt.bz2 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 $ 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