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 Wed, 30 Jul 2008, Alan Barrett wrote:

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

Ah. Maybe that's what jnemeth meant in his comment to the pr. There was
a cryptic ed command at the end of it.

So is this back to a pkg pr where the Makefile needs the -std=c99?

--
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte


Home | Main Index | Thread Index | Old Index