From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18842 invoked by alias); 10 Mar 2013 11:22:11 -0000 Received: (qmail 18815 invoked by uid 48); 10 Mar 2013 11:22:00 -0000 From: "fpelliccioni at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/56585] Cannot introduce a qualified type - Elaborated type specifiers Date: Sun, 10 Mar 2013 11:22: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: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: fpelliccioni at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org 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 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 X-SW-Source: 2013-03/txt/msg00780.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56585 --- Comment #3 from Fernando Pelliccioni 20= 13-03-10 11:21:59 UTC --- I don't see anything about "diagnostic", I only see that the Standard says "error" I quote a relevant excerpt from the example. [ Example: /* ... */ struct Data { /* ... */ }; /* ... */ struct Data; // OK: Redeclares Data at global scope struct ::Data; // error: cannot introduce a qualified type (7.1.6.3) /* ... */ =E2=80=94end example ] If I'm wrong, please point me to the standard.