Date: Mon, 16 Mar 1998 17:56:54 -0800 (PST) Message-Id: <199803170156.RAA24125@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: ichapman AT nortel DOT ca, djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: __cplusplus Precedence: bulk At 11:42 3/16/1998 -0500, Ian Chapman wrote: >Hi, > __cplusplus is that defined by the system depending upon the source >file bing .c or .cc? Yes. `__cplusplus' is defined when a C++ compile is being done, which is when the file has a name like .cc, .cpp, etc. > Or should I have an explicite:- > > #define __cplusplus No. If you do, you will get a warning about "redefinition of __cplusplus". Nate Eldredge eldredge AT ap DOT net