8sa1-gcc/c++tools
Iain Sandoe af78514a18 modules : Make sure we include <map> in system.h.
It appears that many targets include the map header transitively in
other std headers included from system.h.  However there are some
editions of clang/libc++ in Xcode that do not, which results in a
bootstrap fail - since when resolver.h is included  there is then a
conflict in declaring abort().

The fix is to ensure that map is pulled in by system.h and before
resolver.h is included.  As a precautionary measure and to alert
anyone perhaps adding another header to resolver.h this patch also
gates the direct includes there on !IN_GCC.

c++tools/ChangeLog:

	* resolver.h: Do not include std headers directly when
	building in GCC.

gcc/cp/ChangeLog:

	* mapper-client.cc (INCLUDE_MAP): New; require map to be
	included from system.h.
	* mapper-resolver.cc (INCLUDE_MAP): Likewise.
2021-04-01 19:32:16 +01:00
..
ChangeLog Daily bump. 2021-02-26 00:16:36 +00:00
config.h.in bootstrap: Fix some windows issues [PR 98300] 2020-12-17 05:57:13 -08:00
configure build: libcody: Link with -lsocket -lnsl if necessary [PR98316] 2021-01-05 11:32:31 +01:00
configure.ac build: libcody: Link with -lsocket -lnsl if necessary [PR98316] 2021-01-05 11:32:31 +01:00
Makefile.in build: libcody: Link with -lsocket -lnsl if necessary [PR98316] 2021-01-05 11:32:31 +01:00
resolver.cc [libcody] Remove some std::move [PR 98368] 2021-01-04 06:38:52 -08:00
resolver.h modules : Make sure we include <map> in system.h. 2021-04-01 19:32:16 +01:00
server.cc c++tools: Make NETWORKING define check consistent [PR 98318] 2021-02-25 08:58:26 -08:00