This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]