From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10027 invoked by alias); 30 Jun 2005 22:11:22 -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 9908 invoked by uid 22791); 30 Jun 2005 22:11:13 -0000 Received: from monty-python.gnu.org (HELO monty-python.gnu.org) (199.232.76.173) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 30 Jun 2005 22:11:13 +0000 Received: from [62.4.16.104] (helo=kraid.nerim.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Do7Hq-0005CX-6f; Thu, 30 Jun 2005 18:13:34 -0400 Received: from uniton.integrable-solutions.net (gdr.net1.nerim.net [62.212.99.186]) by kraid.nerim.net (Postfix) with ESMTP id 728F740E26; Fri, 1 Jul 2005 00:03:23 +0200 (CEST) Received: from uniton.integrable-solutions.net (localhost [127.0.0.1]) by uniton.integrable-solutions.net (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id j5UM2bKY017105; Fri, 1 Jul 2005 00:02:37 +0200 Received: (from gdr@localhost) by uniton.integrable-solutions.net (8.12.10/8.12.10/Submit) id j5UM2bSC017104; Fri, 1 Jul 2005 00:02:37 +0200 To: gcc-bugzilla@gcc.gnu.org Cc: gcc-bugs@gcc.gnu.org Subject: Re: [Bug c++/22256] diagnostic shows wrong type for cast operator References: <20050630163052.22256.igodard@pacbell.net> <20050630214813.29930.qmail@sourceware.org> From: Gabriel Dos Reis In-Reply-To: <20050630214813.29930.qmail@sourceware.org> Date: Thu, 30 Jun 2005 22:11:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-06/txt/msg03638.txt.bz2 List-Id: "igodard at pacbell dot net" writes: | Gabriel: no, it also happens with any pointer: | | struct node { float* operator float*(); }; | | gets you: | | foo.cc:1: error: operator `float*' declared to return `float' Alright, that was a wrong guess. -- Gaby