Commit bccef011 by Jason Merrill

(default_compilers): Treat files with an extension of .c++

        as C++ code.

From-SVN: r8297
parent ce883c1f
...@@ -637,6 +637,7 @@ static struct compiler default_compilers[] = ...@@ -637,6 +637,7 @@ static struct compiler default_compilers[] =
{".cc", "@c++"}, {".cc", "@c++"},
{".cxx", "@c++"}, {".cxx", "@c++"},
{".cpp", "@c++"}, {".cpp", "@c++"},
{".c++", "@c++"},
{".C", "@c++"}, {".C", "@c++"},
{"@c++", {"@c++",
"cpp -lang-c++ %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\ "cpp -lang-c++ %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment