aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1994-10-18 00:33:02 +0000
committerJason Merrill <merrill@gnu.org>1994-10-18 00:33:02 +0000
commitbccef0116a25e141fe7e8e145b000de73895368b (patch)
tree52f1152871a99fafe96ddda3052b7fab21d69153
parentce883c1f8461b2f9ecf3004ebd626b0cd5c93e35 (diff)
downloadgcc-bccef0116a25e141fe7e8e145b000de73895368b.zip
gcc-bccef0116a25e141fe7e8e145b000de73895368b.tar.gz
gcc-bccef0116a25e141fe7e8e145b000de73895368b.tar.bz2
(default_compilers): Treat files with an extension of .c++
as C++ code. From-SVN: r8297
-rw-r--r--gcc/gcc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index db9c49a..4fb47d7 100644
--- 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\