https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107568
--- Comment #14 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain D Sandoe <ia...@gcc.gnu.org>: https://gcc.gnu.org/g:442d2bdc1d2a98aba0b18aeaa3e87fa946ac8031 commit r13-5274-g442d2bdc1d2a98aba0b18aeaa3e87fa946ac8031 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.