Date: Mon, 21 Oct 1996 09:23:07 +0000 From: Bill Currie Subject: Re: problem solved To: Axel Schwenke Cc: djgpp AT delorie DOT com Message-id: <326B40FB.3AE3@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <53foi3$f2 AT strippe DOT htwm DOT de> <54a6gc$4ca AT strippe DOT htwm DOT de> <54dh35$4ib AT strippe DOT htwm DOT de> Axel Schwenke wrote: > > The Problem with PDcurses is solved. Many thanx to Eli Zaretskii who > guessed there is a C/C++ ambiguity. > > Obviously there is something wrong with , they test > for _cplusplus to recognize C++ mode, but that symbol is not > defined when using gcc to compile C++ code. > > Therefore, does anybody know what (automatic) symbol does indicate > you`re compiling in C++ mode? I could not find any Information in > the dokumentation (maybe I overlooked it). > The symbol is __cplusplus (TWO underscores). That's the cause of the problem. Bill