tech-toolchain archive

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

Re: Is __STDC_VERSION supposed to be defined in NetBSD?



On Tue, 29 Jul 2008, Hisashi T Fujinaka wrote:
> Is __STDC_VERSION supposed to be defined in NetBSD?

I don't see why it should be.  However, __STDC_VERSION__ is defined
if you run the compiler in c99 mode.

$ cpp -dM -std=c99 </dev/null | grep STDC
#define __STDC_HOSTED__ 1
#define __STDC_VERSION__ 199901L
#define __STDC__ 1

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index