Message-ID: <000f01c079bc$c0955ac0$2360893e@oemcomputer> From: "Stephen Silver" To: Subject: Re: namespace std - stdio.h patch Date: Mon, 8 Jan 2001 21:48:33 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp-workers AT delorie DOT com 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