Mail Archives: djgpp/1998/03/18/11:32:15
>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 <ichapman AT nortel DOT ca>
>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
- Raw text -