Skip to content
Snippets Groups Projects
Commit b65c0bcb authored by Tom Tromey's avatar Tom Tromey
Browse files

libcc1: use GCC_FE_VERSION_1 in C++ plugin

The C++ plugin defaults to version 0 of the base compiler API.
However, this is a mistake -- version 1 was introduced before the C++
API was even implemented.  This switches the default to version 1.
Note that the compiler-side plugin will accept this version, so it
should remain compatible.

libcc1

	* libcp1.cc (vtable): Use GCC_FE_VERSION_1.

parent 1a51cb29
No related branches found
No related tags found
No related merge requests found
......@@ -391,7 +391,7 @@ libcp1_destroy (struct gcc_base_context *s)
static const struct gcc_base_vtable vtable =
{
GCC_FE_VERSION_0,
GCC_FE_VERSION_1,
libcp1_set_arguments_v0,
libcp1_set_source_file,
libcp1_set_print_callback,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment