From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29905 invoked by alias); 14 Apr 2012 10:39:54 -0000 Received: (qmail 29897 invoked by uid 22791); 14 Apr 2012 10:39:53 -0000 X-SWARE-Spam-Status: No, hits=-5.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ob0-f175.google.com (HELO mail-ob0-f175.google.com) (209.85.214.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 14 Apr 2012 10:39:41 +0000 Received: by obbuo13 with SMTP id uo13so5894926obb.20 for ; Sat, 14 Apr 2012 03:39:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.136.104 with SMTP id pz8mr6608868obb.37.1334399980395; Sat, 14 Apr 2012 03:39:40 -0700 (PDT) Received: by 10.182.92.168 with HTTP; Sat, 14 Apr 2012 03:39:40 -0700 (PDT) In-Reply-To: <4F893ECA.6070004@adacore.com> References: <4F7B356E.9080003@google.com> <4F7C2E74.6010501@google.com> <4F893ECA.6070004@adacore.com> Date: Sat, 14 Apr 2012 10:39:00 -0000 Message-ID: Subject: Re: Switching to C++ by default in 4.8 From: Gabriel Dos Reis To: Robert Dewar Cc: Chiheng Xu , Richard Guenther , Diego Novillo , David Edelsohn , gcc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00634.txt.bz2 On Sat, Apr 14, 2012 at 4:09 AM, Robert Dewar wrote: > On 4/13/2012 9:34 PM, Chiheng Xu wrote: >> >> On Wed, Apr 4, 2012 at 7:38 PM, Richard Guenther >> =A0wrote: >>> >>> >>> Oh, and did we address all the annoyances of debugging gcc when it's >>> compiled by a C++ compiler? ... >>> >> >> Probably, if you can refrain from using some "advance" C++ >> features(namespace, template, etc.), =A0you will not have such >> annoyances. > > > To me namespaces are fundamental in terms of the advantages that > moving to C++ can give in a large project, I would never regard > them as some "advanced" feature to be avoided. If namespaces > cause trouble for the debugger, that's surprising and problematic! Indeed, the notion that 'namspace' is "advance" is troublesome. Similarly I would find any notion that simple uses and definitions of templates (functions, datatypes) "advanced" a bit specious.