From 0d0f3acaee20987a66cc7bf522e8dfb1b1eb1c4c Mon Sep 17 00:00:00 2001 From: msebor Date: Tue, 27 Feb 2018 23:29:51 +0000 Subject: [PATCH] Avoid including directly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258046 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/pt.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9b4dd033be4..e5f98293c32 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,9 @@ 2018-02-27 Martin Sebor + * pt.c: Avoid including directly. + +2018-02-27 Martin Sebor + PR c++/83871 PR c++/83503 * cp-tree.h (warn_spec_missing_attributes): New function. diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index ae777db82fe..23eb2db1a5d 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -24,8 +24,8 @@ along with GCC; see the file COPYING3. If not see all methods must be provided in header files; can't use a source file that contains only the method templates and "just win". */ -#include #include "config.h" +#define INCLUDE_STRING #include "system.h" #include "coretypes.h" #include "cp-tree.h" -- 2.11.4.GIT