[PATCH] Fix a missing include of <string>
Martin Liška
mliska@suse.cz
Fri Jun 7 05:39:00 GMT 2019
Hi.
Since GCC revision r272011 I see following error:
make[9]: Entering directory '/home/marxin/Programming/binutils/gdb/gdbserver/build-gnulib-gdbserver/import'
In file included from debug.h:29,
from dirsearch.cc:31:
errors.h:87:50: error: âstringâ in namespace âstdâ does not name a type
87 | undefined_symbol(const Symbol* sym, const std::string& location);
| ^~~~~~
errors.h:29:1: note: âstd::stringâ is defined in header â<string>â; did you forget to â#include <string>â?
28 | #include "gold-threads.h"
+++ |+#include <string>
29 |
The patch is fixing that.
Ready for trunk?
Thanks,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-a-missing-include-of-string.patch
Type: text/x-patch
Size: 589 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20190607/c1a4f2dd/attachment.bin>
More information about the Binutils
mailing list