At 12:08 PM 6/9/2000 +0200, Alexander Mai wrote:
>On Fri, Jun 09, 2000 at 11:43:41AM +0200, Alexander Mai wrote:
> > Xbae headers have C++ clauses like
> >
> > #if defined(__cplusplus) || defined(c_plusplus)
> >
> > Where does this defined(c_plusplus) come from?
> > The first is the canonical one. Which system/compiler defines
> > c_plusplus ?
>
>Ok, a quick research indicates that this is for legacy
>C++ compilers, a symbol from the pre-ANSI language definition.
>
>Probably we should get rid of this ...
>
>--
>Alexander Mai
>[EMAIL PROTECTED]

Could this have been there to support UIM/X when its interpreter only 
supported "C" (prior to the last release of 3.1)? I recall that they 
recommended people use the c_plusplus #ifdef blocks to stop their 
interpreter from flagging C++ code with syntax errors.

Mark




Integrated Computer Solutions, Inc.
Visual Development Tools for Professionals

617-621-0060 x108 (voice)
617-621-9555 (fax)

201 Broadway
Cambridge, MA 02139

Reply via email to