From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17042 invoked by alias); 8 Jul 2014 17:59:00 -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 16931 invoked by uid 48); 8 Jul 2014 17:58:55 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61753] poor diagnostic for constructor definition that starts with 'const' Date: Tue, 08 Jul 2014 17:59: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-Version: 4.7.2 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg00497.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61753 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.7.2 regression] |poor diagnostic for |prototype for function does |constructor definition that |not match any in class |starts with 'const' |error | --- Comment #3 from Jonathan Wakely --- I don't know how you got that to compile with GCC 4.6.3 as every version I have rejects it - not a regression. (The upstream code on github has been fixed now btw)