(default_compilers): Treat files with an extension of .c++
authorJason Merrill <merrill@gnu.org>
Tue, 18 Oct 1994 00:33:02 +0000 (00:33 +0000)
committerJason Merrill <merrill@gnu.org>
Tue, 18 Oct 1994 00:33:02 +0000 (00:33 +0000)
        as C++ code.

From-SVN: r8297

gcc/gcc.c

index db9c49af7ef3a9882aaa295c98e83add521806ef..4fb47d716108d6e2fe251e13157c740d22aa139a 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -637,6 +637,7 @@ static struct compiler default_compilers[] =
   {".cc", "@c++"},
   {".cxx", "@c++"},
   {".cpp", "@c++"},
+  {".c++", "@c++"},
   {".C", "@c++"},
   {"@c++",
    "cpp -lang-c++ %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\