Hi David,
> On Thu, 2026-10-29 at 09:43 +0100, Andreas Schwab wrote:
>> g++ -std=c++14 -c -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -
>> fasynchronous-unwind-tables -W -Wall -Wno-error=narrowing -Wwrite-
>> strings -Wcast-qual -Wno-format -Wmissing-format-attribute -
>> Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-
>> long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -
>> DGENERATOR_FILE -I. -Ibuild -I../../gcc -I../../gcc/build -
>> I../../gcc/../include -I../../gcc/../libcpp/include \
>> -o build/print-rtl.o ../../gcc/print-rtl.cc
>> In file included from ../../gcc/print-rtl.cc:57:
>> ../../gcc/json.h:226:57: error: ‘std::string’ has not been declared
>> 226 | const json::string *set_string (const char *key,
>> std::string utf8_value);
>> |
>> ^~~~~~
>> ../../gcc/json.h:25:1: note: ‘std::string’ is defined in header
>> ‘<string>’; this is probably fixable by adding ‘#include <string>’
>> 24 | #include "label-text.h"
>> +++ |+#include <string>
>> 25 |
>> make[3]: *** [Makefile:3297: build/print-rtl.o] Error 1
>
> [adding the list this time]
>
> Sorry about the breakage. Does the attached patch fix things for you?
worked for me to unbreak amd64-pc-openbsd8.0 bootstrap.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University