From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24882 invoked by alias); 24 Jan 2014 09:36:44 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 24861 invoked by uid 89); 24 Jan 2014 09:36:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-pb0-f51.google.com Received: from mail-pb0-f51.google.com (HELO mail-pb0-f51.google.com) (209.85.160.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 24 Jan 2014 09:36:43 +0000 Received: by mail-pb0-f51.google.com with SMTP id un15so3052885pbc.10 for ; Fri, 24 Jan 2014 01:36:41 -0800 (PST) X-Received: by 10.66.243.103 with SMTP id wx7mr13340266pac.107.1390556201092; Fri, 24 Jan 2014 01:36:41 -0800 (PST) Received: from [192.168.1.4] (76-253-2-104.lightspeed.sntcca.sbcglobal.net. [76.253.2.104]) by mx.google.com with ESMTPSA id de3sm1242857pbb.33.2014.01.24.01.36.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 24 Jan 2014 01:36:39 -0800 (PST) References: Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: Cc: =?utf-8?Q?Lars_Hagstr=C3=B6m?= , "gcc@gcc.gnu.org" From: pinskia@gmail.com Subject: Re: Is C++11 to be default for GCC 4.9? Date: Fri, 24 Jan 2014 09:36:00 -0000 To: "gcc-help@gcc.gnu.org" X-SW-Source: 2014-01/txt/msg00088.txt.bz2 > On Jan 24, 2014, at 1:26 AM, Marc Glisse wrote: >=20 > Wrong list, please send any follow-ups to gcc-help@gcc.gnu.org only. >=20 >> On Fri, 24 Jan 2014, Lars Hagstr=C3=B6m wrote: >>=20 >> I'm wondering whether GCC 4.9 will switch to -std=3Dgnu++11 as default? >=20 > No. This is asked regularly, google should find the answer easily. Considering GCC has not switched to c99 by default what makes someone think= GCC should switch to c++11 by default? -- Andrew >=20 >> I got an error that implies that "auto" is not usable, which would >> mean that C++11 is not enabled, but I also got a warning that implied >> that gnu++11 is "enabled by default". >>=20 >>> error: =E2=80=98xdir=E2=80=99 does not name a type >>=20 >>> warning: non-static data member initializers only available with -std= =3Dc++11 or -std=3Dgnu++11 [enabled by default] >>=20 >> Or does the "enabled by default" bit mean something other than I think i= t means? >=20 > It is the warning that is enabled by default (in other messages you would= see [-Wunused] or [-Wformat] etc to tell you which option controls this wa= rning). >=20 > --=20 > Marc Glisse