public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42021] Misleading error message when inherited typedefs cause ambiguity
       [not found] <bug-42021-4@http.gcc.gnu.org/bugzilla/>
@ 2013-06-11 18:48 ` paolo.carlini at oracle dot com
  2013-06-12 14:04 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 2+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-06-11 18:48 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42021

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2013-06-11
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com
   Target Milestone|---                         |4.9.0
     Ever confirmed|0                           |1

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This is essentially fixed:

42021.C: In member function ‘void BreadSlicer::print()’:
42021.C:26:19: error: reference to ‘P3’ is ambiguous
         Policies::P3::doPrint();
                   ^
42021.C:10:21: note: candidates are: typedef struct Policy1 B::P3
     typedef Policy1 P3;
                     ^
42021.C:14:21: note:                 typedef struct Policy2 C1::P3
     typedef Policy2 P3;  
                     ^

Nit: we emit the diagnostic twice. I have a patchlet for that:
>From gcc-bugs-return-424218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 11 18:49:24 2013
Return-Path: <gcc-bugs-return-424218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4497 invoked by alias); 11 Jun 2013 18:49:24 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 4477 invoked by uid 48); 11 Jun 2013 18:49:21 -0000
From: "mikael at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57590] [OOP] class containers are recycled between symbols more than they should be
Date: Tue, 11 Jun 2013 18:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mikael at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
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:
Message-ID: <bug-57590-4-g6yaRZ0mIq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57590-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57590-4@http.gcc.gnu.org/bugzilla/>
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: 2013-06/txt/msg00597.txt.bz2
Content-length: 295

http://gcc.gnu.org/bugzilla/show_bug.cgi?idW590

--- Comment #1 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to Mikael Morin from comment #0)
> This bug was found while trying to fix pr57297.

By the way pr57297 is the reverse problem (not enough sharing instead of too
much).


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/42021] Misleading error message when inherited typedefs cause ambiguity
       [not found] <bug-42021-4@http.gcc.gnu.org/bugzilla/>
  2013-06-11 18:48 ` [Bug c++/42021] Misleading error message when inherited typedefs cause ambiguity paolo.carlini at oracle dot com
@ 2013-06-12 14:04 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 2+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-06-12 14:04 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42021

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Done.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-12 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-42021-4@http.gcc.gnu.org/bugzilla/>
2013-06-11 18:48 ` [Bug c++/42021] Misleading error message when inherited typedefs cause ambiguity paolo.carlini at oracle dot com
2013-06-12 14:04 ` paolo.carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).