Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: LLONG_MAX not available from c++



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


Home | Main Index | Thread Index | Old Index