__STDCPP__ anybody?

Ken Raeburn raeburn at athena.mit.edu
Mon Jun 27 12:59:53 AEST 1988


On a vaguely related note, is there any way of distinguishing at
compile time between a hosted and a standalone implementation?  The
__STDC__ macro says you've got at least standalone, but how do you
know if you can assume a fully-conforming hosted implementation?  (At
least, you can rely on __STDC__ if the compiler isn't fooling you.
Maybe someday Metaware will get it right....)

The alternative to utilizing the hosted environment would presumably
be to supply your own support routines.  (Hm, there's a question.  If
you're on a standalone implementation, are the library procedure names
still considered reserved?)



More information about the Comp.std.c mailing list