The recent change to pt.c broke bootstrap by including C++ header file
<string> directly and including it first.  This patch changes to the
necessary method which includes the header file via system.h.

Okay?

Thanks, David

* pt.c: Don't include string. Define INCLUDE_STRING before system.h.

Index: pt.c
===================================================================
--- pt.c        (revision 258045)
+++ pt.c        (working copy)
@@ -24,8 +24,8 @@
      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"
+#define INCLUDE_STRING
 #include "system.h"
 #include "coretypes.h"
 #include "cp-tree.h"

Reply via email to