From: G DOT DegliEsposti AT ads DOT it To: djgpp AT delorie DOT com Message-ID: Date: Wed, 18 Mar 1998 17:30:36 +0100 Subject: Re: __cplusplus Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Precedence: bulk >good question! i assumed that it was always defined by the compiler >and not the type of file being compiled. am i wrong? yes and no: it is true that it is defined by the compiler, but it is also true that gcc invokes the c or the c++ compiler according to the file extension (gcc is not the real compiler, it is a "driver" who calls compiler, assembler and/or linker as necessary). >On Mon, 16 Mar 1998 11:42:16 -0500, Ian Chapman >wrote: > >>Hi, >> __cplusplus is that defined by the system depending upon the source >>file bing .c or .cc? Or should I have an explicite:- ciao Giacomo