qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [patch 1/2] machine struct - use C99 initializers


From: Ronan Keryell
Subject: Re: [Qemu-devel] [patch 1/2] machine struct - use C99 initializers
Date: Mon, 06 Oct 2008 22:22:23 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

>>>>> On Mon, 06 Oct 2008 17:03:56 +0200, Jes Sorensen <address@hidden> said:

    Jes> Ehm, what compiler does _not_ support C99 these days?

M$ Visual C *2008* for example. :-)

But is it really even a C89 compiler, when you get a deprecation warning
about the use of fopen() ? :-)

Hopefully there are some more efficient C99 compilers such as the Intel
one on this architecture in the vendor world...

    Jes> Sorry, but there is already plenty of use of C99 initializers in
    Jes> QEMU today, the people who you refer to have either stopped
    Jes> building QEMU or switched to a 21st century compiler.

C99 adds many quite useful things to clean up the code and make it more
concise and more efficient (want to go back with alloca() instead of clean
automatic variable size array and so on ? Oh no ! :-) ).

But since everybody on this list has read the C99 norm and so knows what
is C89 and C99, I guess it will remains a religious discussion... :-)
-- 
  Ronan KERYELL                 |\/  Tel:    (+33|0) 2.29.00.14.15
  Département Informatique      |/)  Fax:    (+33|0) 2.29.00.12.82
  TÉLÉCOM Bretagne, CS 83818    K    GSM:    (+33|0) 6.13.14.37.66
  F-29238 PLOUZANÉ CEDEX 3      |\   E-mail: address@hidden
  FRANCE                        | \  http://enstb.org/~keryell




reply via email to

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