qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 1/4] Use proper struct initializers and remove I


From: Juan Quintela
Subject: [Qemu-devel] Re: [PATCH 1/4] Use proper struct initializers and remove INIT_FIELD() macro
Date: Tue, 28 Jul 2009 19:13:00 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

malc <address@hidden> wrote:
> On Mon, 27 Jul 2009, Anthony Liguori wrote:
>
>> malc wrote:
>> > On Mon, 27 Jul 2009, Juan Quintela wrote:
>> > 
>> > This patch is pointless.
>> >   
>> 
>> The INIT_FIELD() stuff is goofy.  struct initializers are C99 so using 
>> them conditionally on GNUC is incorrect.  Also, if you can't rely on the 
>> initializier, what's the point of even doing it at all since you cannot 
>> change order.
>
> The reason for this goofyness is that the code was fed as is to MSVC
> (in VirtualBox), the patch looks like a change for the sake of a change.

MSVC don't support C99 initializers in 2009? Wow :)

I was trying to get everything else consistent.

Later, Juan.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]