On 02/28/2013 10:57 AM, Pavel Simerda wrote: > Hi all, > > I would like to do *occasional* C99-style declarations in the code to avoid > ugly hacks when using conditionally built code. That means bumping up the > compiler requirements to the C99 standard. As we currently only target to GCC > and possibly LLVM, I don't think it would be a problem. > > I will modify the configure.ac to require and use C99, if there are no > objections on the list.
Given that NM is Linux-only, this seems fine to me; at this point, the only real reason for sticking with C90 in the GNOME platform is to support win32 (where MSVC does not and will not ever support C99); it seems unlikely that in 2013 there is any other platform where NM could even theoretically be built where there is a defensible reason to use a non-C99 compiler. You may need to specify --std=gnu99 rather than c99 to avoid warnings about gcc extensions though. -- Dan _______________________________________________ networkmanager-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/networkmanager-list
