On Wednesday 11 March 2015 20:45:05 Lankswert, Patrick wrote:
> Ossama,
> 
> Regarding designated initializers; simply ?yes?.
>
> 
> Regarding the compiler selection; the limiting factor is the validation
> effort which involves:
> 
> 1)      Finding the maximum compiler (C and C++) versions that is available
> for all of the supported platforms (for instance, iOS, Android and Arduino
> all have their commonly available compilers which may not be the most
> current)

iOS currently has a modern version of Clang, so we're good.

My problem is for future, potential platforms:
 - QNX 6.5 currently ships with GCC 4.4 and will not upgrade
   (6.6 has GCC 4.7)
 - Windows Embedded Compact 7 only works with Visual Studio 2008
 - Windows RT / Phone only works with Visual Studio 2013

VS 2013 is actually a decent compiler when it comes to C++11 and even C99 
support. I was surprised to discover it does support designated initialisers.

The problem is VS 2008, which supports no C99 and no C++11 at all.

> That said, I am still encouraging that developers use the language features
> in which a preponderance of the developers are fluent. Code need to be
> clear. In most (not all) cases, clarity is more important than
> performance/size/etc. So the use of advanced language features will be
> discouraged if most developers cannot follow it.

Agreed, that's a good policy.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Reply via email to