This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13005] Pointer wrongly adjusted for derived class containing virtual function
- From: "stephenma at telus dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2004 08:46:09 -0000
- Subject: [Bug c++/13005] Pointer wrongly adjusted for derived class containing virtual function
- References: <20031111075141.13005.stephenma@telus.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From stephenma at telus dot net 2004-01-09 08:46 -------
Gabriel Dos Reis wrote:
> | Heh, I knew somebody would mention this. I went from short to
> | long lines for readability: several other lines in that file
> | (gcc/cp/typeck.c) are much longer than 100 characters.
>
> yes, but they are not examples to duplicate.
OK, I will make the really, really trivial change.
> | > Also leave out the "see", we don't do that for any other warning.
> |
> | I think the reference is necessary, because the reason for the
> | warning is rather subtle. The intent is to point the programmer
> | to the documentation for -Wno-cast-incomplete, which is extensive.
>
> As a matter of existing practrice, we don't say "see xxxx".
Omitting the "see xxx" would do more harm than good. The g++
maintainers would be flooded with questions about the warning.
If you intend to be rigid about this, please tell me now. I would
prefer to withdraw the patch rather than be blamed by people who do
not understand what the warning means.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13005