From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1172 invoked by alias); 27 Mar 2013 20:24:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 1120 invoked by uid 48); 27 Mar 2013 20:24:47 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/56725] extra spaces in error message Date: Wed, 27 Mar 2013 20:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2013-03/txt/msg02047.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56725 --- Comment #10 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez 2013-03-27 20:24:47 UTC --- No, true means something was reported (error or warning), false means that nothing was reported. The same as for pedwarn and warning. pedwarn also ret= urns true for --pedantic-errors, even thought it gives an error then. So either: if (permerror(...)) inform(...) or=20 permerror() && inform() but I think the latter was frowned upon by the powers that be. >>From gcc-bugs-return-418607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 27 20:30:46 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3009 invoked by alias); 27 Mar 2013 20:30:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2952 invoked by uid 48); 27 Mar 2013 20:30:36 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/56725] extra spaces in error message Date: Wed, 27 Mar 2013 20:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-03/txt/msg02048.txt.bz2 Content-length: 345 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56725 --- Comment #11 from Paolo Carlini 2013-03-27 20:30:36 UTC --- Ok, thanks a lot again. Then however we have to tweak a bit that comment too (it only mentions warnings for true, instead means any diagnostics is actually reported (that's much better!))