Re: [Predef-contribute] value of __cplusplus for C++98
Brought to you by:
breese,
tahonermann
|
From: Bjorn R. <br...@ma...> - 2012-10-09 18:04:23
|
On 2012-10-09 11:15, massimo morara wrote: > > First of all: thanks for your pre-def macro wiki. I find it very > usefull. > But, about the value of __cplusplus for C++98 (ISO/IEC > 14882:1998), your value is 199707L when I find the value 199711L from > other sources (examples: [1], [2], [3]). You are absolutely right. I just checked the C++98 standard itself, and it says 199711L. Puzzled about where the value 199707L came from, I looked further into this. It turns out that this value was set by the first proposal for C++98, and this was adopted by some compilers such as the HP aC++ compiler. I have changed the predef pages to use the correct value now. Thank you for spotting this error. |