From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16760 invoked by alias); 3 Apr 2012 20:52:17 -0000 Received: (qmail 16751 invoked by uid 22791); 3 Apr 2012 20:52:16 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-gy0-f175.google.com (HELO mail-gy0-f175.google.com) (209.85.160.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Apr 2012 20:52:00 +0000 Received: by ghbz2 with SMTP id z2so98267ghb.20 for ; Tue, 03 Apr 2012 13:52:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=VCFfl/uhA7l6r3JzO6M8WJNy7tblnG6/IEZNK+GmHWM=; b=GEqhTopyOqyi2UO8+yhzJ9h/3MOhWfAvE2eCz69UbUQbVsmIaLyFHZFXgZWBFqYNpi v2UUF31VO55HeovnEJrBN2IzBnZlP1DQc4ItYd7gQ+Dq/KE4wRyAAOgO32WtNoppoYwf bTFoxgOAaxsvhxpQN1yoca3zUeTyqSzmdbtE0z3kfZoqHeD/Fatipr1K/4l/JUq7jVhM GQf3iMm9dX2sulK3iHX14zCbUBKsJOkpsSZgkioB1POoNICWVoQGEvXKoo+APxIeomKA M5Xb//aS1rKVaBggSeQQNxFqynpH3GlML8QvS5DiZGGNW7FiJ01dYBaDhc2rQpIbBRuy aSSQ== Received: by 10.50.17.166 with SMTP id p6mr10148991igd.53.1333486319721; Tue, 03 Apr 2012 13:51:59 -0700 (PDT) Received: by 10.50.17.166 with SMTP id p6mr10148975igd.53.1333486319628; Tue, 03 Apr 2012 13:51:59 -0700 (PDT) Received: from coign.google.com ([2620:0:1000:2301:f2de:f1ff:fe40:72a8]) by mx.google.com with ESMTPS id xt2sm12035520igb.6.2012.04.03.13.51.57 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Apr 2012 13:51:58 -0700 (PDT) From: Ian Lance Taylor To: =?utf-8?Q?Pawe=C5=82?= Sikora Cc: gcc@gcc.gnu.org, Diego Novillo , Lawrence Crowl Subject: Re: Switching to C++ by default in 4.8 References: <4F7B356E.9080003@google.com> <2917059.BV54bIKJY8@localhost> Date: Tue, 03 Apr 2012 20:52:00 -0000 In-Reply-To: <2917059.BV54bIKJY8@localhost> (=?utf-8?Q?=22Pawe=C5=82?= Sikora"'s message of "Tue, 03 Apr 2012 21:38:52 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnakl1TrquUjGw1ZsC3SpFvSaHD1Tpcn5i1W6cpnr7EJNF4oqpINGDl9ej2FB/BAGoxEYlixnePRNDLeGhQoiQChj0ZyZx34gdWc8r0AZwacul22mBaBSWRmtcOJ9OJz1ocYQDoaOmJsnyFsJWRe+IXuGtWIA== X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2012-04/txt/msg00066.txt.bz2 Pawe=C5=82 Sikora writes: > On Tuesday 03 of April 2012 13:37:50 Diego Novillo wrote: >>=20 >> Concurrently with this, Lawrence and Ian are working on the C++ coding=20 >> guidelines. The draft is stored at http://gcc.gnu.org/wiki/CppConventio= ns. > > what about using http://astyle.sourceforge.net/astyle.html for code check= ers? I don't think we want to automatically reformat the entire GCC codebase. Or at least, if we do, we don't want to confuse that with the C++ transition. > what about -Woverloaded-virtual [-Werror] by default? Sounds good to me. -Werror will of course be on by default for stage 2 and 3 development builds. Want to add a cxx_strict_warn along the lines of c_strict_warn in gcc/configure.ac and gcc/Makefile.in? Ian