From: Ian Campbell <ian.campbell@citrix.com>
To: Tim Deegan <tim@xen.org>
Cc: Keir Fraser <keir@xen.org>,
Ian Jackson <ian.jackson@eu.citrix.com>,
Jan Beulich <JBeulich@suse.com>,
xen-devel@lists.xen.org
Subject: Re: [PATCH v2] RFC: Automatically check xen's public headers for C++ pitfalls.
Date: Thu, 5 Mar 2015 11:35:54 +0000 [thread overview]
Message-ID: <1425555354.25940.220.camel@citrix.com> (raw)
In-Reply-To: <20150305112557.GC86322@deinos.phlegethon.org>
On Thu, 2015-03-05 at 12:25 +0100, Tim Deegan wrote:
> At 17:28 +0100 on 26 Feb (1424968122), Tim Deegan wrote:
> > BTW, ring.h is the only instance of that, so the extra diff to clear
> > that up too is pretty small (see below).
> >
> > Not sure what people think about that though - it might be
> > quite a PITA for downstream users of it, though they ought really to
> > be using local copies so they can update in a controlled way.
>
> So I've seen four responses in favour of just renaming the field
> (Andrew Cooper, Razvan Cojocaru, Don Slutz and David Vrabel) and one
> in favour of #ifdeffing it so it's only renamed in C++ (Jan Beulich).
> I really don't like adding more #ifdefs to an already hard-to-read
> file; I'd rather just rename the field, or else leaving it alone and
> letting C++ users carry the fixup in their own code.
>
> CC'ing the other "THE REST" maintainers for their opinions.
Rather than ifdefs for C++, don't we need them based on
__XEN_INTERFACE_VERSION__?
I don't much like that (I'd rather just change the name) but I think
that's what we are supposed to do here.
next prev parent reply other threads:[~2015-03-05 11:35 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-26 13:11 [PATCH] RFC: Make xen's public headers a little friendlier for C++ Tim Deegan
2015-02-26 14:09 ` Jan Beulich
2015-02-26 15:22 ` Tim Deegan
2015-02-26 15:39 ` Jan Beulich
2015-02-26 16:11 ` [PATCH v2] RFC: Automatically check xen's public headers for C++ pitfalls Tim Deegan
2015-02-26 16:28 ` Tim Deegan
2015-02-26 16:43 ` Andrew Cooper
2015-02-26 16:47 ` Jan Beulich
2015-02-26 17:01 ` Tim Deegan
2015-02-26 17:49 ` Razvan Cojocaru
2015-02-26 19:22 ` Tim Deegan
2015-02-26 20:31 ` Don Slutz
2015-02-27 8:00 ` Jan Beulich
2015-02-26 16:49 ` David Vrabel
2015-03-05 11:25 ` Tim Deegan
2015-03-05 11:35 ` Ian Campbell [this message]
2015-03-05 11:41 ` Jan Beulich
2015-03-05 11:55 ` Ian Campbell
2015-03-05 12:13 ` Wei Liu
2015-03-05 12:34 ` Ian Campbell
2015-03-05 12:16 ` Tim Deegan
2015-03-12 10:03 ` Tim Deegan
2015-03-12 10:14 ` Ian Campbell
2015-03-12 11:16 ` Tim Deegan
2015-03-12 10:57 ` Jan Beulich
2015-02-26 16:24 ` [PATCH v3] " Tim Deegan
2015-02-26 20:28 ` Don Slutz
2015-02-27 10:05 ` Tim Deegan
2015-02-27 8:36 ` Jan Beulich
2015-02-27 9:22 ` Tim Deegan
2015-02-27 9:34 ` Jan Beulich
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=1425555354.25940.220.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=ian.jackson@eu.citrix.com \
--cc=keir@xen.org \
--cc=tim@xen.org \
--cc=xen-devel@lists.xen.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.