c++/40
rodrigc@gcc.gnu.org
rodrigc@gcc.gnu.org
Mon May 28 18:46:00 GMT 2001
The following reply was made to PR c++/40; it has been noted by GNATS.
From: rodrigc@gcc.gnu.org
To: chrisb@sandy.force9.co.uk, rodrigc@gcc.gnu.org, 43170@bugs.debian.org,
gcc-gnats@gcc.gnu.org, martin@loewis.home.cs.tu-berlin.de,
nobody@gcc.gnu.org
Cc:
Subject: Re: c++/40
Date: 29 May 2001 01:44:40 -0000
Synopsis: Result naming doesn't work for functions defined in a class
State-Changed-From-To: analyzed->closed
State-Changed-By: rodrigc
State-Changed-When: Mon May 28 18:44:40 2001
State-Changed-Why:
Tested under gcc version 3.0 20010528 (prerelease)
Your example uses the GCC named return value extension which i
which is deprecated. Compiling your example yielded error
messages like:
a.cc: In member function `std::string foo::do_foo(const std::string&)':
a.cc:15: warning: the named return value extension is deprecated, please see
the documentation for details
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=40&database=gcc
More information about the Gcc-prs
mailing list