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: 10 Jan 2004 05:45:32 -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-10 05:45 -------
Wolfgang Bangerth wrote:
> I think that if we usually don't refer to a specific flag in warnings
> and error messages, we should keep to that here as well. However, a good
> way to avoid getting lots of questions is to do the following:
> - list the exact error message text in the manual where you
> describe this flag, for example when showing a small example
> - leave a small note in the code where the error is issued that
> the exact wording is mirrored in the manual (so as to remind people
> changing the wording of the message that they also need to change
> the manual).
Thank you for the suggestion. I will consider it, but I would prefer
to keep the "see -W...".
I am puzzled. If the cross reference in the warning was misleading or
ambiguous, or if the cited documentation was incomplete, then I could
understand why people would object. Neither is the case here, if I
may say so. Can someone please explain?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13005