> On 2012-04-10 21:50, Keith Thompson wrote:
>> Keith Thompson<
ks...@mib.org> writes:
>>> The latest C11 draft I have, n1570, says (in 6.10.8.1):
>>>
>>> __STDC_VERSION__ The integer constant 201ymmL.
>>>
>>> Obviously this is a placeholder, to be replaced with the actual
>>> constant in the final standard. What is that constant?
>>>
>>> (I can make an educated guess based on the actual release date,
>>> but I'm looking for a definitive answer from someone who has a copy.)
>>
>> I should have Googled before posting.
>>
>> According to<
http://stackoverflow.com/q/9294207/827263>, the
>> *intended* value is 201112L, and that's what the latest gcc uses with
>> "-std=c11".
>>
>> But apparently the placeholder wasn't actually updated, and the
>> document submitted to ISO still has 201ymmL.
>>
> Now I suppose we'll have to discuss if this means that "201ymmL" is an
> integer constant by fiat (and what this means for conforming programs),
> or if the standard has just dissolved in a puff of logic by blatantly
> contradicting itself.
>
2250+MM --> 4250. That is the value of __STDC_VERSION__