This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7430: if method signature lies "I return SomeClass by value" but actually there is no 'return' then construct-destruct asymmetry results!
- From: nathan at gcc dot gnu dot org
- To: dh at digitalbrain dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 30 Sep 2002 17:40:33 -0000
- Subject: Re: c++/7430: if method signature lies "I return SomeClass by value" but actually there is no 'return' then construct-destruct asymmetry results!
- Reply-to: nathan at gcc dot gnu dot org, dh at digitalbrain dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: if method signature lies "I return SomeClass by value" but actually there is no 'return' then construct-destruct asymmetry results!
State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Mon Sep 30 10:40:33 2002
State-Changed-Why:
fixed in CVS
7430.ii: In member function `X C::MightReturnCheese()':
7430.ii:15: warning: no return statement in function returning non-void
7430.ii:15: warning: control reaches end of non-void function
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7430