strerror is defined by <string.h>, and recent versions of GNU libstdc++ no longer include this automatically from <string>. --- doc/bison.texi | 1 + 1 file changed, 1 insertion(+)
diff --git a/doc/bison.texi b/doc/bison.texi index 683308cf..6effd716 100644 --- a/doc/bison.texi +++ b/doc/bison.texi @@ -11810,6 +11810,7 @@ then the parser's to get the set of defined tokens. # include <cerrno> # include <climits> # include <cstdlib> +# include <cstring> # include <string> # include "driver.hh" # include "parser.hh" -- 2.19.1
