From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26339 invoked by alias); 16 Aug 2004 10:56:17 -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 26331 invoked by uid 48); 16 Aug 2004 10:56:17 -0000 Date: Mon, 16 Aug 2004 10:56:00 -0000 Message-ID: <20040816105617.26330.qmail@sourceware.org> From: "giovannibajo at libero dot it" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030504101600.10618.giovannibajo@libero.it> References: <20030504101600.10618.giovannibajo@libero.it> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/10618] Error message for function declarations with invalid return type could be improved X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg01523.txt.bz2 List-Id: ------- Additional Comments From giovannibajo at libero dot it 2004-08-16 10:56 ------- An easier example is also: ---------------------------------------- ostream& operator<<(ostream& os, const CVector& x); ---------------------------------------- which gives a generic parse error before '&', but should really emit two distinct error messages about 'ostream? and 'CVector' being undefined. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10618