g++ problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 1 Apr 2004, Chuck Hallenbeck wrote:

> The GCC man page describes the various input file suffixes and
> their meanings.

You would be talking about this part of the man page?

Suffixes  of  source  file names indicate the language and kind of pro-
       cessing to be done:

.c    C source; preprocess, compile, assemble
.C    C++ source; preprocess, compile, assemble
.cc   C++ source; preprocess, compile, assemble

If so, I'm not sure how that supports the statement, that "gcc requires
that C plus plus files should be named with a ".cpp" extension".

Please elaborate.

Luke




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux