[Bug c++/13005] Pointer wrongly adjusted for derived class containing virtual function
gdr at integrable-solutions dot net
gcc-bugzilla@gcc.gnu.org
Fri Jan 9 04:17:00 GMT 2004
------- Additional Comments From gdr at integrable-solutions dot net 2004-01-09 04:17 -------
Subject: Re: Pointer wrongly adjusted for derived class containing virtual function
"stephenma at telus dot net" <gcc-bugzilla@gcc.gnu.org> writes:
| Falk Hueffner wrote:
|
| > + warning ("casting from/to an incomplete type is risky; see
| -Wno-cast-incomplete");
| > Lines must not be longer than 78 characters.
|
| 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.
| > 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".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13005
More information about the Gcc-bugs
mailing list