From mboxrd@z Thu Jan 1 00:00:00 1970 From: lerdsuwa@gcc.gnu.org To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/2458 Date: Tue, 03 Apr 2001 05:46:00 -0000 Message-id: <20010403124604.21952.qmail@sourceware.cygnus.com> X-SW-Source: 2001-04/msg00047.html List-Id: The following reply was made to PR c++/2458; it has been noted by GNATS. From: lerdsuwa@gcc.gnu.org To: Richard.h.Gong@aero.org, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: c++/2458 Date: 3 Apr 2001 12:41:15 -0000 Synopsis: typename within function template cause internal compiler error State-Changed-From-To: open->closed State-Changed-By: lerdsuwa State-Changed-When: Tue Apr 3 08:41:15 2001 State-Changed-Why: Fixed in the gcc 3.0 branch. The following error message is correctly displayed instead of internal compiler error: /tmp/@28611.7.cc:5: syntax error before `:' token In file included from /usr/local/include/g++-v3/bits/std_vector.h:32, from /usr/local/include/g++-v3/vector:2, from /tmp/@28611.7.cc:7: /usr/local/include/g++-v3/bits/functexcept.h:84: parse error before `}' token /tmp/@28611.7.cc: In function `void PrintSTL(StlClass)': /tmp/@28611.7.cc:14: declaration does not declare anything /tmp/@28611.7.cc:16: parse error before `;' token /tmp/@28611.7.cc: At global scope: /tmp/@28611.7.cc:20: `main' must return `int' http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2458&database=gcc