This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16169] -Weffc++ item 15 improvements
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jun 2004 02:19:42 -0000
- Subject: [Bug c++/16169] -Weffc++ item 15 improvements
- References: <20040624022151.16169.bkoz@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-06-29 02:19 -------
I think it makes sense to make this warning smarter. I propose we disable this
if the return instruction is calling a methos whose return type is a reference
to the current class type.
It's not perfect of course, but I think it is still better than the current
situation. What do you think?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |giovannibajo at libero dot
| |it
Keywords| |diagnostic
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16169