[Bug c++/107616] c++tools: select not found breaks build
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 9 15:45:07 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107616
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by John David Anglin <danglin@gcc.gnu.org>:
https://gcc.gnu.org/g:0925a9772960c946440833033423bff41c330154
commit r13-5072-g0925a9772960c946440833033423bff41c330154
Author: John David Anglin <danglin@gcc.gnu.org>
Date: Mon Jan 9 15:41:51 2023 +0000
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-08 John David Anglin <danglin@gcc.gnu.org>
c++tools/ChangeLog:
PR other/107616
* server.cc (server): Don't call FD_ISSET when HAVE_PSELECT
and HAVE_SELECT are zero.
More information about the Gcc-bugs
mailing list