On Fri, Mar 31, 2023 at 02:27:17PM -0000, Michael van Elst wrote:
> c++ also doesn't define __STDC_VERSION__ nor _ISOC99_SOURCE.

It defines the former but not the latter:

 > c++ -dM -E - < /dev/null | fgrep __STDC_VERSION__
#define __STDC_VERSION__ 201710L
 > c++ -dM -E - < /dev/null | fgrep __ISO
 >

(at least w/o special -std= options)

Martin

Reply via email to