From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3650 invoked by alias); 4 Apr 2012 05:19:18 -0000 Received: (qmail 3635 invoked by uid 22791); 4 Apr 2012 05:19:15 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RDNS_DYNAMIC,TVD_RCVD_IP X-Spam-Check-By: sourceware.org Received: from 195-14-0-142.nuxit.net (HELO de558.ispfr.net) (195.14.0.142) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Apr 2012 05:18:55 +0000 Received: from ours.starynkevitch.net ([213.41.244.95] helo=glinka.lesours) by de558.ispfr.net with smtp (Exim 4.72) (envelope-from ) id 1SFIcO-0003ef-Uo; Wed, 04 Apr 2012 07:18:53 +0200 Date: Wed, 04 Apr 2012 05:19:00 -0000 From: Basile Starynkevitch To: Ian Lance Taylor Cc: =?UTF-8?B?UGF3ZcWC?= Sikora , gcc@gcc.gnu.org, Diego Novillo , Lawrence Crowl Subject: Re: Switching to C++ by default in 4.8 Message-Id: <20120404071845.6a807300173302639eaa74ba@starynkevitch.net> In-Reply-To: References: <4F7B356E.9080003@google.com> <2917059.BV54bIKJY8@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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/msg00075.txt.bz2 On Tue, 03 Apr 2012 13:51:56 -0700 Ian Lance Taylor wrote: > Paweł Sikora writes: > > > On Tuesday 03 of April 2012 13:37:50 Diego Novillo wrote: > >> > >> Concurrently with this, Lawrence and Ian are working on the C++ coding > >> guidelines. The draft is stored at http://gcc.gnu.org/wiki/CppConventions. > > > > what about using http://astyle.sourceforge.net/astyle.html for code checkers? > > 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. But I believe we could install as a rule that every genuine C++ source file be indented with astyle -gnu -s2 and perhaps even provide an 'indent' make target for that purpose. I really think that systematic reindentation would help us a lot. What do you think? Cheers -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mine, sont seulement les miennes} ***