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] c++/13225


>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

Keith> This occurs because the parser interprets "0" as an integer, and the
Keith> evaluator does not allow integer to pointer conversion. I cannot
Keith> really think of a reason why gdb shouldn't be more permissive of this,
Keith> as long as the INT will fit into a pointer.

Sami updated overloading resolution to more faithfully follow the C++
spec.  So, I think it would be useful to justify this patch in terms of
the standard.

Tom


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