On 07/25/2011 07:00 PM, Rainer Orth wrote:
>> * Also, the definition of HAVE_DESIGNATED_INITIALIZERS was wrong for g++
>> on Solaris which again defines __STDC_VERSION__ 199901L. To fix this,
>> I never define H_D_I if __cplusplus.
>
> Is this a valid definition of __STDC_VERSION__ at all?
Why wouldn't it be? It's the standard C99 value.
Replying to an old message, yes, it's standard C99, but C++ does not
support many of the differences between C89 and C99. I would have
thought the C89 definition to be more conservatively correct.
Paolo