public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: rodrigc@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org,
	simons+gccbug@cryp.to
Subject: Re: c++/6215: Internal error #2000 in g++ 3.0.4
Date: Sun, 07 Apr 2002 18:18:00 -0000	[thread overview]
Message-ID: <20020408011838.22837.qmail@sources.redhat.com> (raw)

Synopsis: Internal error #2000 in g++ 3.0.4

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Apr  7 18:18:37 2002
State-Changed-Why:
    Problem reproduced with gcc 3.0.4.
    
    With gcc 3.1 20020401 (prerelease), the compiler does not
    crash but produces many compilation errors:
    
    In file included from m.cpp:3:
    AgingCache.h:101: `template<class KeyT, class ValT, class DisposeFun>
       template<class KeyT_, class ValT_, class DisposeFun_> class
       MaciekUtils::AgingCache<KeyT, ValT, DisposeFun>::cache_position' used
       without template parameters
    AgingCache.h:102: ISO C++ forbids declaration of `cp' with no type
    AgingCache.h:122: syntax error before `(' token
    AgingCache.h:130: semicolon missing after declaration of `
       MaciekUtils::AgingCache<KeyT, ValT, DisposeFun>'
    AgingCache.h: In constructor `MaciekUtils::AgingCache<KeyT, ValT,
       DisposeFun>::AgingCache(int, DisposeFun)':
    AgingCache.h:71: class `MaciekUtils::AgingCache<KeyT, ValT, DisposeFun>' does
       not have any field named `_maxsize'
    AgingCache.h:71: class `MaciekUtils::AgingCache<KeyT, ValT, DisposeFun>' does
       not have any field named `_dispfun'
    AgingCache.h: At global scope:
    AgingCache.h:130: ISO C++ forbids defining types within return type
    AgingCache.h:130: syntax error before `(' token
    AgingCache.h:131: ISO C++ forbids declaration of `end' with no type
    AgingCache.h: In function `int MaciekUtils::end()':
    AgingCache.h:132: `_keylist' undeclared (first use this function)
    AgingCache.h:132: (Each undeclared identifier is reported only once for each
       function it appears in.)
    AgingCache.h:132: `cache_position' undeclared (first use this function)
    AgingCache.h: At global scope:
    AgingCache.h:136: syntax error before `&' token
    AgingCache.h:143: syntax error before `&' token
    AgingCache.h:152: syntax error before `&' token
    AgingCache.h:155: parse error before `&' token
    AgingCache.h:162: `keylist_iterator' was not declared in this scope
    AgingCache.h:162: `i' was not declared in this scope
    AgingCache.h:163: parse error before `{' token
    AgingCache.h:166: syntax error before `.' token
    AgingCache.h:167: syntax error before `.' token
    AgingCache.h:168: ISO C++ forbids declaration of `i' with no type
    AgingCache.h:168: `_keylist' was not declared in this scope
    AgingCache.h:169: parse error before `return'
    AgingCache.h:173: parse error before `&' token
    AgingCache.h: In function `void remove_by_iter(...)':
    AgingCache.h:175: `call_dispose_fun' undeclared (first use this function)
    AgingCache.h:176: `_vallist' undeclared (first use this function)
    AgingCache.h:176: base operand of `->' is not a pointer
    AgingCache.h:177: `_keylist' undeclared (first use this function)
    AgingCache.h: At global scope:
    AgingCache.h:181: parse error before `&' token
    AgingCache.h: In function `void call_dispose_fun(...)':
    AgingCache.h:182: `void call_dispose_fun(...)' used prior to declaration
    AgingCache.h:183: `keyiter' undeclared (first use this function)
    AgingCache.h:183: `_dispfun' undeclared (first use this function)
    AgingCache.h: At global scope:
    AgingCache.h:186: `keylist_elem_type' was not declared in this scope
    AgingCache.h:186: template argument 1 is invalid
    AgingCache.h:186: template argument 2 is invalid
    AgingCache.h:186: ISO C++ forbids declaration of `_keylist' with no type
    AgingCache.h:186: `int _keylist' used prior to declaration
    AgingCache.h:187: `ValT' was not declared in this scope
    AgingCache.h:187: template argument 1 is invalid
    AgingCache.h:187: template argument 2 is invalid
    AgingCache.h:187: ISO C++ forbids declaration of `_vallist' with no type
    AgingCache.h:187: `int _vallist' used prior to declaration
    AgingCache.h:189: 'DisposeFun' is used as a type, but is not defined as a type.
    AgingCache.h:190: parse error before `}' token
    AgingCache.h:307: parse error before `::' token
    AgingCache.h:309: `bool operator==(...)' must have an argument of class or
       enumerated type
    AgingCache.h:309: `bool operator==(...)' must take exactly two arguments
    AgingCache.h:314: parse error before `::' token
    AgingCache.h:316: `bool operator!=(...)' must have an argument of class or
    AgingCache.h: In function `void remove_by_iter(...)':
    AgingCache.h:175: `call_dispose_fun' undeclared (first use this function)
    AgingCache.h:176: `_vallist' undeclared (first use this function)
    AgingCache.h:176: base operand of `->' is not a pointer
    AgingCache.h:177: `_keylist' undeclared (first use this function)
    AgingCache.h: At global scope:
    AgingCache.h:181: parse error before `&' token
    AgingCache.h: In function `void call_dispose_fun(...)':
    AgingCache.h:182: `void call_dispose_fun(...)' used prior to declaration
    AgingCache.h:183: `keyiter' undeclared (first use this function)
    AgingCache.h:183: `_dispfun' undeclared (first use this function)
    AgingCache.h: At global scope:
    AgingCache.h:186: `keylist_elem_type' was not declared in this scope
    AgingCache.h:186: template argument 1 is invalid
    AgingCache.h:186: template argument 2 is invalid
    AgingCache.h:186: ISO C++ forbids declaration of `_keylist' with no type
    AgingCache.h:186: `int _keylist' used prior to declaration
    AgingCache.h:187: `ValT' was not declared in this scope
    AgingCache.h:187: template argument 1 is invalid
    AgingCache.h:187: template argument 2 is invalid
    AgingCache.h:187: ISO C++ forbids declaration of `_vallist' with no type
    AgingCache.h:187: `int _vallist' used prior to declaration
    AgingCache.h:189: 'DisposeFun' is used as a type, but is not defined as a type.
    AgingCache.h:190: parse error before `}' token
    AgingCache.h:307: parse error before `::' token
    AgingCache.h:309: `bool operator==(...)' must have an argument of class or
       enumerated type
    AgingCache.h:309: `bool operator==(...)' must take exactly two arguments
    AgingCache.h:314: parse error before `::' token
    AgingCache.h:316: `bool operator!=(...)' must have an argument of class or
       enumerated type

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6215


             reply	other threads:[~2002-04-08  1:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-07 18:18 rodrigc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-04-07  9:56 simons+gccbug

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020408011838.22837.qmail@sources.redhat.com \
    --to=rodrigc@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.gnu.org \
    --cc=simons+gccbug@cryp.to \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).