From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5763 invoked by alias); 12 Apr 2012 06:12:19 -0000 Received: (qmail 5755 invoked by uid 22791); 12 Apr 2012 06:12:17 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from smtp12.dentaku.gol.com (HELO smtp12.dentaku.gol.com) (203.216.5.74) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Apr 2012 06:12:05 +0000 Received: from 61.245.22.233.eo.eaccess.ne.jp ([61.245.22.233] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) (envelope-from ) id 1SIDGB-0004Ra-1F; Thu, 12 Apr 2012 15:11:59 +0900 Received: by catnip.gol.com (Postfix, from userid 1000) id 361192BD47; Thu, 12 Apr 2012 15:11:58 +0900 (JST) From: Miles Bader To: Ian Lance Taylor Cc: Andrew Pinski , Xinliang David Li , Richard Guenther , Torvald Riegel , Michael Matz , Jakub Jelinek , Bernd Schmidt , Gabriel Dos Reis , David Edelsohn , Diego Novillo , gcc Subject: Re: Switching to C++ by default in 4.8 References: <4F7B356E.9080003@google.com> <4F7C35A3.3080207@codesourcery.com> <20120410084614.GJ6148@sunsite.ms.mff.cuni.cz> <1334078968.11195.64.camel@triegel.csb> <1334149073.3101.23.camel@triegel.csb> System-Type: x86_64-unknown-linux-gnu Date: Thu, 12 Apr 2012 06:12:00 -0000 In-Reply-To: (Ian Lance Taylor's message of "Wed, 11 Apr 2012 22:08:15 -0700") Message-ID: <87obqxmqc1.fsf@catnip.gol.com> MIME-Version: 1.0 Content-Type: text/plain X-Abuse-Complaints: abuse@gol.com 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/msg00469.txt.bz2 Ian Lance Taylor writes: >> And GCC usually has better diagnostic than clang except in those few >> areas which it does not (those some might say those areas are the most >> important ones). > > No. clang's diagnostics for C++ are much much better than GCC's. > Obviously GCC's can improve, but today clang's are much better. Meh. Clang's diagnostics are often pretty good, and it's rightly lauded for that, but the "OMG clang totally murders gcc for diagnostics!" meme (which seems to be staple of clang's unfortunately large fanboi contingent) is an exaggeration. Clang's diagnostics are not _that_ good, gcc's are [currently] not that bad, and the situations where the difference is the most noticeable tend to be obscure. (remember: Only Henry Spencer can say "No." and really get away with it...) -miles -- Non-combatant, n. A dead Quaker.