From: Eli Zaretskii <eliz@gnu.org>
To: Keith Seitz <keiths@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA 3/3] c++/13356: Update documentation
Date: Fri, 17 Aug 2012 06:19:00 -0000 [thread overview]
Message-ID: <83boiaavly.fsf@gnu.org> (raw)
In-Reply-To: <502D5D3A.7020706@redhat.com>
> Date: Thu, 16 Aug 2012 13:51:06 -0700
> From: Keith Seitz <keiths@redhat.com>
> CC: gdb-patches@sourceware.org
>
> 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?
Yes, that would be good. And/or explicitly tell that C++ forbids
that.
Thanks.
next prev parent reply other threads:[~2012-08-17 6:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-16 20:16 Keith Seitz
2012-08-16 20:44 ` Eli Zaretskii
2012-08-16 20:51 ` Keith Seitz
2012-08-17 6:19 ` Eli Zaretskii [this message]
2012-08-23 18:52 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83boiaavly.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=keiths@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox