From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14146 invoked by alias); 27 May 2004 19:40:28 -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 14111 invoked by uid 48); 27 May 2004 19:40:26 -0000 Date: Fri, 28 May 2004 11:31:00 -0000 Message-ID: <20040527194026.14108.qmail@sourceware.org> From: "gianni at mariani dot ws" 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/msg03302.txt.bz2 List-Id: ------- Additional Comments From gianni at mariani dot ws 2004-05-27 19:40 ------- > Why do you think it will not work ... I think it's not a question of wether it works or not, it's more an issue of wether it is legal according to the standard. In the c.l.c++ thread I cited earlier, there is an assertion that a call can only be made when the class is complete. I personally like the gcc behaviour and if anything I'd like to see this caught in strict mode only. An alternative would be to write up a defect report on the standard since it seems all the compilers are consistant ! I don't have my copy of the standard handy to I can't say for sure. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15684