[RFA 3/3] c++/13356: Update documentation

Keith Seitz keiths@redhat.com
Thu Aug 16 20:51:00 GMT 2012


On 08/16/2012 01:44 PM, Eli Zaretskii wrote:
>> Date: Thu, 16 Aug 2012 13:15:53 -0700
>> From: Keith Seitz <keiths@redhat.com>
>>
>> +The second example fails because the integer constant @samp{0x1234} is not
>> +type-compatible with the pointer parameter type.
>
> Why not? if the current language is C, I see no incompatibilities
> here.  What am I missing?

That conversion is forbidden by C++. Perhaps I should have used a method 
call instead to make that more obvious?

>> +When type checking is disabled, @value{GDBN} evaluates expressions
>> +like the second example above.
>
> Should probably say "successfully evaluates".
>

Changed.

>> +Set strict type checking on or off. If any type mismatches occur in
>                                       ^^
> Two spaces, please.

Zoiks! Changed.

> OK with those changes.

Thank you!

Keith



More information about the Gdb-patches mailing list