From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 667 invoked by alias); 27 May 2004 17:12:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 658 invoked by uid 48); 27 May 2004 17:12:01 -0000 Date: Fri, 28 May 2004 04:00:00 -0000 Message-ID: <20040527171201.657.qmail@sourceware.org> From: "leor at bdsoft dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040527163621.15684.gianni@mariani.ws> References: <20040527163621.15684.gianni@mariani.ws> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/15684] Pointer to member function called on incomplete type should diag X-Bugzilla-Reason: CC X-SW-Source: 2004-05/txt/msg03262.txt.bz2 List-Id: ------- Additional Comments From leor at bdsoft dot com 2004-05-27 17:12 ------- (In reply to comment #1) > Not a bug. > From the standard, 8.3.3: > class Y; > char Y::* pmc; > ... > Similarly, the declaration of pmc is well-formed even though Y is an incomplete type. OK, I'm no expert, but all it says is that the declaration is well-formed, not that you can actually use it (the way they show pmi and pmf being used) -leor -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15684