From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1236 invoked by alias); 28 Aug 2011 12:39:14 -0000 Received: (qmail 1222 invoked by uid 22791); 28 Aug 2011 12:39:13 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Received: from smtp3.epfl.ch (HELO smtp3.epfl.ch) (128.178.224.226) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Sun, 28 Aug 2011 12:38:57 +0000 Received: (qmail 14793 invoked by uid 107); 28 Aug 2011 12:38:53 -0000 Received: from 76-10-180-162.dsl.teksavvy.com (HELO discarded) (76.10.180.162) (authenticated) by smtp3.epfl.ch (AngelmatoPhylax SMTP proxy) with ESMTPA; Sun, 28 Aug 2011 14:38:53 +0200 Message-ID: <4E5A36DC.4010401@cs.utoronto.ca> Date: Sun, 28 Aug 2011 12:39:00 -0000 From: Ryan Johnson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: v*printf functions not available with g++ -std=c++0x References: <4E4BD899.4070409@cs.utoronto.ca> <20110818143329.GQ27614@calimero.vinschen.de> In-Reply-To: <20110818143329.GQ27614@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2011-08/txt/msg00500.txt.bz2 On 18/08/2011 10:33 AM, Corinna Vinschen wrote: > If I try that with Yaakov's 4.5.3 cross compilers, then __STRICT_ANSI__ > is not defined with -std=c__0x, unless I also specify `-ansi' on the > command line. However, there's a weird warning: > > $ i686-pc-cygwin-g++ -std=c++0x -dM -E -< /dev/null | grep ANSI > cc1: warning: command line option "-std=c++0x" is valid for C++/ObjC++ but not for C > > Well, sure, that's why I called g++, not gcc... That's just because you read from /dev/null, so it couldn't infer which language the input file was. Try it with -x c++ ? Ryan -- 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