c++: Fix (some) solaris breakage
Nathan Sidwell
nathan@acm.org
Wed Dec 16 13:13:46 GMT 2020
Jonathan was kind enough to test this fix. It doesn't address all the
solaris issues, but does get us further.
Solaris' sys/socket uses the poisoned bcopy identifier, so we must
#include it before poisoning. The inclusion happens in cody.hh, so we
preemptively copy a bit of cody's inclusion logic to get it earlier.
gcc/cp/
* mapper-client.cc: Include sys/socket.h before system.h.
pushing to trunk
--
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jwakely.diff
Type: text/x-patch
Size: 786 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201216/c0b0b25a/attachment.bin>
More information about the Gcc-patches
mailing list