This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Install cp/operators.def as part of plugin headers
- From: Boris Kolpackov <boris at codesynthesis dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 7 Nov 2017 17:31:44 +0200
- Subject: [PATCH] Install cp/operators.def as part of plugin headers
- Authentication-results: sourceware.org; auth=none
Hi,
cp/cp-tree.h now includes operators.def which means it has to be installed
as part of the plugin headers. The below patch addresses this (copyright
assignment is on file).
Thanks,
Boris
gcc/cp/ChangeLog:
2017-11-07 Boris Kolpackov <boris@codesynthesis.com>
* Make-lang.in (CP_PLUGIN_HEADERS): Add operators.def since included
in cp-tree.h.
diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
index a46845c0c53..c852f6a38b4 100644
--- a/gcc/cp/Make-lang.in
+++ b/gcc/cp/Make-lang.in
@@ -39,7 +39,7 @@ CXX_INSTALL_NAME := $(shell echo c++|sed '$(program_transform_name)')
GXX_INSTALL_NAME := $(shell echo g++|sed '$(program_transform_name)')
CXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo c++|sed '$(program_transform_name)')
GXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo g++|sed '$(program_transform_name)')
-CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h type-utils.h
+CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h type-utils.h operators.def
#^L
# Define the names for selecting c++ in LANGUAGES.