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

--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tamar Christina <tnfch...@gcc.gnu.org>:

https://gcc.gnu.org/g:0e510ab53414430e93c6f5b64841e2f40031cda7

commit r12-5396-g0e510ab53414430e93c6f5b64841e2f40031cda7
Author: Tamar Christina <tamar.christ...@arm.com>
Date:   Fri Nov 19 08:48:11 2021 +0000

    libstdc++: Fix ctype changed after newlib update.

    Newlib changed ctype.h recently[1] by moving the short labels from ctype.h
intro
    the private namespace in ctype_.h.  This broke embedded builds due to them
no
    longer being found.  Instead they now expose the long names to match glibc.

    This patch now uses the short or long names depending on is the short ones
are
    defined or not.

    [1]
https://github.com/bminor/newlib/commit/3ba1bd0d9dbc015c14a0aaafcef042f706d1249a

    libstdc++-v3/ChangeLog:

            PR libstdc++/103305
            * config/os/newlib/ctype_base.h (upper, lower, alpha, digit,
xdigit,
            space, print, graph, cntrl, punct, alnum, blank): Use short or long
            names depending on if short ones are defined.

Reply via email to