Martin,

This patch broke bootstrap.

diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 42fd872..9c2e5e6 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -24,6 +24,7 @@ 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 <string>
 #include "config.h"
 #include "system.h"
 #include "coretypes.h"

Nothing is allowed to be included before GCC config.h and system.h.
And you should not be including C++ header files directly.  If you
truly need <string>, the file should define INCLUDE_STRING (see
system.h).

Thanks, David

Reply via email to