[Bug c++/13005] Pointer wrongly adjusted for derived class containing virtual function

stephenma at telus dot net gcc-bugzilla@gcc.gnu.org
Sat Jan 10 05:45:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list