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

-- 
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Reply via email to