This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: .CPP extension


On Fri, 6 Sep 2002, Devang Patel wrote:

> 2002-09-06  Devang Patel <dpatel@apple.com>
>        * gcc.c (struct default_compiler): Recognizes input file names 
> with
>        .CPP extension as C++ source files.
>        * cp/lang-spec.h: Same.

The supported extensions are documented in invoke.texi - this patch needs
documentation.  If there's a suitable testsuite area where a .CPP file can
be put and will be compiled based on its extension (the testsuite driver
not passing any -x options to specify the language of the input) then
there should be a testcase as well.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]