Re: [Qemu-devel] [RFC PATCH v3 02/11] Fix errors and warnings while compiling with c++ compilier

2013-05-27 Thread Stefan Hajnoczi
On Fri, May 24, 2013 at 05:25:21PM +0200, Markus Armbruster wrote: > Tomoki Sekiyama writes: > > > On 5/24/13 4:52 , "Stefan Hajnoczi" wrote: > > > >>On Thu, May 23, 2013 at 06:34:43PM +, Tomoki Sekiyama wrote: > >>> On 5/23/13 8:12 , "Stefan Hajnoczi" wrote: > >>> > >>> >On Tue, May 21, 2

Re: [Qemu-devel] [RFC PATCH v3 02/11] Fix errors and warnings while compiling with c++ compilier

2013-05-24 Thread Markus Armbruster
Tomoki Sekiyama writes: > On 5/24/13 4:52 , "Stefan Hajnoczi" wrote: > >>On Thu, May 23, 2013 at 06:34:43PM +, Tomoki Sekiyama wrote: >>> On 5/23/13 8:12 , "Stefan Hajnoczi" wrote: >>> >>> >On Tue, May 21, 2013 at 11:33:41AM -0400, Tomoki Sekiyama wrote: >>> >> Add C++ keywords to avoid er

Re: [Qemu-devel] [RFC PATCH v3 02/11] Fix errors and warnings while compiling with c++ compilier

2013-05-24 Thread Tomoki Sekiyama
On 5/24/13 9:01 , "Laszlo Ersek" wrote: >On 05/21/13 17:33, Tomoki Sekiyama wrote: > >> diff --git a/scripts/qapi.py b/scripts/qapi.py >> index afc5f32..b174acb 100644 >> --- a/scripts/qapi.py >> +++ b/scripts/qapi.py >> @@ -156,9 +156,16 @@ def c_var(name, protect=True): >> # GCC http://gcc

Re: [Qemu-devel] [RFC PATCH v3 02/11] Fix errors and warnings while compiling with c++ compilier

2013-05-24 Thread Tomoki Sekiyama
On 5/24/13 4:52 , "Stefan Hajnoczi" wrote: >On Thu, May 23, 2013 at 06:34:43PM +, Tomoki Sekiyama wrote: >> On 5/23/13 8:12 , "Stefan Hajnoczi" wrote: >> >> >On Tue, May 21, 2013 at 11:33:41AM -0400, Tomoki Sekiyama wrote: >> >> Add C++ keywords to avoid errors in compiling with c++ compile

Re: [Qemu-devel] [RFC PATCH v3 02/11] Fix errors and warnings while compiling with c++ compilier

2013-05-24 Thread Laszlo Ersek
On 05/21/13 17:33, Tomoki Sekiyama wrote: > diff --git a/scripts/qapi.py b/scripts/qapi.py > index afc5f32..b174acb 100644 > --- a/scripts/qapi.py > +++ b/scripts/qapi.py > @@ -156,9 +156,16 @@ def c_var(name, protect=True): > # GCC http://gcc.gnu.org/onlinedocs/gcc-4.7.1/gcc/C-Extensions.htm

Re: [Qemu-devel] [RFC PATCH v3 02/11] Fix errors and warnings while compiling with c++ compilier

2013-05-24 Thread Stefan Hajnoczi
On Thu, May 23, 2013 at 06:34:43PM +, Tomoki Sekiyama wrote: > On 5/23/13 8:12 , "Stefan Hajnoczi" wrote: > > >On Tue, May 21, 2013 at 11:33:41AM -0400, Tomoki Sekiyama wrote: > >> Add C++ keywords to avoid errors in compiling with c++ compiler. > >> This also renames class member of PciDevic

Re: [Qemu-devel] [RFC PATCH v3 02/11] Fix errors and warnings while compiling with c++ compilier

2013-05-23 Thread Tomoki Sekiyama
On 5/23/13 8:12 , "Stefan Hajnoczi" wrote: >On Tue, May 21, 2013 at 11:33:41AM -0400, Tomoki Sekiyama wrote: >> Add C++ keywords to avoid errors in compiling with c++ compiler. >> This also renames class member of PciDeviceInfo to q_class. >> >> Signed-off-by: Tomoki Sekiyama >> --- >> hmp.c

Re: [Qemu-devel] [RFC PATCH v3 02/11] Fix errors and warnings while compiling with c++ compilier

2013-05-23 Thread Stefan Hajnoczi
On Tue, May 21, 2013 at 11:33:41AM -0400, Tomoki Sekiyama wrote: > Add C++ keywords to avoid errors in compiling with c++ compiler. > This also renames class member of PciDeviceInfo to q_class. > > Signed-off-by: Tomoki Sekiyama > --- > hmp.c |2 +- > hw/pci/pci.c|2 +- > s

[Qemu-devel] [RFC PATCH v3 02/11] Fix errors and warnings while compiling with c++ compilier

2013-05-21 Thread Tomoki Sekiyama
Add C++ keywords to avoid errors in compiling with c++ compiler. This also renames class member of PciDeviceInfo to q_class. Signed-off-by: Tomoki Sekiyama --- hmp.c |2 +- hw/pci/pci.c|2 +- scripts/qapi.py |9 - 3 files changed, 10 insertions(+), 3 deletions(-