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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:7a5e9a58fbe27d8b8f04cd18bc6e1dd736e3cd12

commit r12-1041-g7a5e9a58fbe27d8b8f04cd18bc6e1dd736e3cd12
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Tue May 25 16:44:35 2021 +0200

    c++tools: Include <cstdlib> for exit [PR100731]

    This TU uses exit, but doesn't include <stdlib.h> or <cstdlib> and relies
    on some other header to include it indirectly, which apparently doesn't
    happen on reporter's host.

    The other <c*> headers aren't guarded either and we rely on a compiler
    capable of C++11, so maybe we can rely on <cstdlib> being around
    unconditionally.

    2021-05-25  Jakub Jelinek  <ja...@redhat.com>

            PR bootstrap/100731
            * server.cc: Include <cstdlib>.

Reply via email to