This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/6371: g++ crashes with template function with wrong return type
- From: rodrigc at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, lodewijk_smit at yahoo dot com, nobody at gcc dot gnu dot org
- Date: 24 Apr 2002 01:20:41 -0000
- Subject: Re: c++/6371: g++ crashes with template function with wrong return type
- Reply-to: rodrigc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, lodewijk_smit at yahoo dot com, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: g++ crashes with template function with wrong return type
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Tue Apr 23 18:20:41 2002
State-Changed-Why:
gcc 3.1 (prerelease) issues the following error on your code:
test.cc:10: ISO C++ forbids the declaration of `MaxS' with no type
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6371