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

--- Comment #16 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Iain D Sandoe
<ia...@gcc.gnu.org>:

https://gcc.gnu.org/g:f4ad0b2287a334613f570c69b7c5320a5a7d7554

commit r11-10785-gf4ad0b2287a334613f570c69b7c5320a5a7d7554
Author: Iain Sandoe <i...@sandoe.co.uk>
Date:   Wed Jan 18 19:58:33 2023 +0000

    Darwin, fixincludes: Handle MacOS13 SDK Apple-specific deprecations
[PR107568].

    The SDK for MacOS13 includes Apple-specific deprecations of some functions
that
    are not deprecated in Posix, C or C++ and widely used in GCC.

    The fix makes the deprecation conditional on __APPLE_LOCAL_DEPRECATIONS so
that
    end users may still observe them but they are hidden from normal
compilations.

    Signed-off-by: Iain Sandoe <i...@sandoe.co.uk>

            PR target/107568

    fixincludes/ChangeLog:

            * fixincl.x: Regenerate.
            * inclhack.def: Add a fix for MacOS13 SDK function deprecations
            in stdio.h.
            * tests/base/stdio.h (__deprecated_msg): New test.

    (cherry picked from commit 442d2bdc1d2a98aba0b18aeaa3e87fa946ac8031)

Reply via email to