This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/5809: Not possible to declare a pointer to function return type
- From: nathan at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jcfranzoy at ats dot com dot ar, jfranzoy at yahoo dot com dot ar, nobody at gcc dot gnu dot org
- Date: 2 Mar 2002 19:58:07 -0000
- Subject: Re: c/5809: Not possible to declare a pointer to function return type
- Reply-to: nathan at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jcfranzoy at ats dot com dot ar, jfranzoy at yahoo dot com dot ar, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Not possible to declare a pointer to function return type
State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Sat Mar 2 11:58:07 2002
State-Changed-Why:
you mean
int f ();
int (*func ()) ()
{
return f;
}
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5809