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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=vtt vVobrnusKhGkGouykkg0xCSC3Eilj7D7EuqMvSV+lL0tbmHeSGYR6tlDlqbUYhXl YTxFSBDrmosWIERCzdWbJs6ciqWuqmQ5gXTYM4ObRRrosO83cjGgYGY1ZuSpgHxx TI73TYxo+pDYBYVmr6pj4vlR6zp8zlWPz9xPWdeE= 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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=n8VmbeDUX cGBMyF/IrVYPnOe014=; b=fSHgzKc+uMDItrACnLwFJ4PRAR7d8VecAbyqH2nUR aC//mRjVsH3VJavxpEIIb7wh8NEpp6p76JV6vClUuwytady6B1RoIFffIPbe5lh3 T2tqH4+/sst3G9PE7s7nSc1A/3/n/78d5aCu63cZ7bKxF4CJVg4eKYctuiv84fkK oQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-4.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: limerock01.mail.cornell.edu X-CornellRouted: This message has been Routed already. To: cygwin From: Ken Brown Subject: c++0x and locale_t Message-ID: Date: Sat, 1 Oct 2016 09:30:07 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes I'm having an issue building icu, which boils down to the following test case: $ cat foo.cc #include locale_t foo; $ g++ -c --std=c++0x foo.cc foo.cc:2:1: error: ‘locale_t’ does not name a type locale_t foo; ^ If I remove '--std=c++0x', the error goes away. I know nothing about C++ standards, so I don't know if this is expected behavior or if it indicates a bug in Cygwin's headers. 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