Mail Archives: djgpp/1998/09/10/03:34:18
On Wed, 9 Sep 1998, Jean-Francois Tremblay wrote:
> Hence, on windows (and Dos) you absolutly need to use more than ".C" to tag
> the file as being C++
Please try to avoid posting untested assertions like this: this issue
is complex and confusing enough as it is.
The truth is that a file like FOO.C or foo.C *is* treated by GCC as a
C++ program when you type the .C extension in upper case on the
command line. The fact that DOS and Windows won't allow you to create
both toto.c and TOTO.C in the same directory is irrelevant, since the
command-line arguments are passed to a program exactly as you typed
them.
The DJGPP FAQ list explains this at some length in section 8.4.
- Raw text -