https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107616

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by John David Anglin
<dang...@gcc.gnu.org>:

https://gcc.gnu.org/g:3ea4b96173db521366cd5d62c125d4cb6c8f6065

commit r12-11062-g3ea4b96173db521366cd5d62c125d4cb6c8f6065
Author: John David Anglin <dang...@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  <dang...@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.

Reply via email to