From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20122 invoked by alias); 7 Apr 2002 00:02:28 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 20090 invoked by uid 61); 7 Apr 2002 00:02:27 -0000 Date: Sat, 06 Apr 2002 16:02:00 -0000 Message-ID: <20020407000227.20089.qmail@sources.redhat.com> To: altair@chez.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: rodrigc@gcc.gnu.org Reply-To: rodrigc@gcc.gnu.org, altair@chez.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/6130: Internal error when compiling an erroneous C++ source file X-SW-Source: 2002-04/txt/msg00421.txt.bz2 List-Id: Synopsis: Internal error when compiling an erroneous C++ source file State-Changed-From-To: open->closed State-Changed-By: rodrigc State-Changed-When: Sat Apr 6 16:02:27 2002 State-Changed-Why: Compiling with gcc 3.0.4: User.cc:22: field `dbSession' has incomplete type User.cc:34: 'DateTime' is used as a type, but is not defined as a type. User.cc:45: 'DateTime' is used as a type, but is not defined as a type. User.cc:46: 'DateTime' is used as a type, but is not defined as a type. User.cc:51: parse error before `uid' User.cc:56: prototype for `User::User(DatabaseSession)' does not match any in class `User' User.cc:20: candidates are: User::User() User.cc:20: User::User(const User&) User.cc: In constructor `User::User(DatabaseSession)': User.cc:56: `session' has incomplete type User.cc:17: forward declaration of `class DatabaseSession' User.cc:57: `dbSession' undeclared (first use this function) User.cc:57: (Each undeclared identifier is reported only once for each function it appears in.) User.cc: At global scope: User.cc:63: parse error before `{' token User.cc:66: no `void User::setupFieldsValues(...)' member function declared in class `User' User.cc: In member function `void User::setupFieldsValues(...)': User.cc:73: parse error before `return' User.cc:75: confused by earlier errors, bailing out http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6130