Mail Archives: djgpp-workers/2001/01/08/16:48:41
Eli Zaretskii wrote:
> > + #if defined(__cplusplus) && !defined(__dj_ENFORCE_ANSI_FREESTANDING)
>
> I wonder whether we need to have __dj_ENFORCE_ANSI_FREESTANDING here.
I'm not sure, but I thought it was safest.
> That symbol is for a stand-alone compiler, i.e. when libc.a is not
> used. Does the C++ standard at all define a stand-alone compiler?
Yes, it defines "hosted" and "freestanding" implementations, just
as the C standard does. I don't know if it's possible to use DJGPP as
a freestanding C++ compiler, but I can't see an obvious reason why not.
Stephen
- Raw text -