Re: [PATCH] c++tools: Fix compilation of server.cc on hpux

2023-01-09 Thread Nathan Sidwell via Gcc-patches
On 1/7/23 14:12, John David Anglin wrote: Tested on trunk and gcc-12 with hppa64-hp-hpux11.11. ah, I see that is the use that was unprotected, ok. Okay? Dave --- Fix compilation of server.cc on hpux. Select and FD_ISSET are declared in sys/time.h on most versions of hpux. As a result, H

[PATCH] c++tools: Fix compilation of server.cc on hpux

2023-01-07 Thread John David Anglin
Tested on trunk and gcc-12 with hppa64-hp-hpux11.11. Okay? Dave --- Fix compilation of server.cc on hpux. Select and FD_ISSET are declared in sys/time.h on most versions of hpux. As a result, HAVE_PSELECT and HAVE_SELECT can be 0. 2023-01-07 John David Anglin c++tools/ChangeLog:

PATCH: c++tools: fix compilation

2022-10-20 Thread Guillaume Gomez via Gcc-patches
Hi, This patch fixes the following compilation error: ../.././c++tools/server.cc: In function ‘void server(bool, int, module_resolver*)’: ../.././c++tools/server.cc:756:69: error: ‘readers’ was not declared in this scope; did you mean ‘read’? 756 | if (active < 0 && sock_fd >= 0 &