mirror of git://gcc.gnu.org/git/gcc.git
fixincludes: adjust stdio fix for macOS 15 headers
fixincludes/ChangeLog:
* fixincl.x: Regenerate.
* inclhack.def (apple_local_stdio_fn_deprecation): Also apply to
_stdio.h.
(cherry picked from commit 1dc1431815
)
This commit is contained in:
parent
3599245e49
commit
19ddfa147e
|
@ -2,11 +2,11 @@
|
||||||
*
|
*
|
||||||
* DO NOT EDIT THIS FILE (fixincl.x)
|
* DO NOT EDIT THIS FILE (fixincl.x)
|
||||||
*
|
*
|
||||||
* It has been AutoGen-ed December 11, 2023 at 02:50:24 PM by AutoGen 5.18.16
|
* It has been AutoGen-ed May 27, 2025 at 10:40:20 AM by AutoGen 5.18.16
|
||||||
* From the definitions inclhack.def
|
* From the definitions inclhack.def
|
||||||
* and the template file fixincl
|
* and the template file fixincl
|
||||||
*/
|
*/
|
||||||
/* DO NOT SVN-MERGE THIS FILE, EITHER Mon Dec 11 14:50:24 CET 2023
|
/* DO NOT SVN-MERGE THIS FILE, EITHER Tue May 27 10:40:20 BST 2025
|
||||||
*
|
*
|
||||||
* You must regenerate it. Use the ./genfixes script.
|
* You must regenerate it. Use the ./genfixes script.
|
||||||
*
|
*
|
||||||
|
@ -2619,7 +2619,7 @@ tSCC zApple_Local_Stdio_Fn_DeprecationName[] =
|
||||||
* File name selection pattern
|
* File name selection pattern
|
||||||
*/
|
*/
|
||||||
tSCC zApple_Local_Stdio_Fn_DeprecationList[] =
|
tSCC zApple_Local_Stdio_Fn_DeprecationList[] =
|
||||||
"stdio.h\0";
|
"stdio.h\0_stdio.h\0";
|
||||||
/*
|
/*
|
||||||
* Machine/OS name selection pattern
|
* Machine/OS name selection pattern
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1273,6 +1273,7 @@ fix = {
|
||||||
hackname = apple_local_stdio_fn_deprecation;
|
hackname = apple_local_stdio_fn_deprecation;
|
||||||
mach = "*-*-*darwin2*";
|
mach = "*-*-*darwin2*";
|
||||||
files = stdio.h;
|
files = stdio.h;
|
||||||
|
files = _stdio.h;
|
||||||
select = "__deprecated_msg([^\n]*)$";
|
select = "__deprecated_msg([^\n]*)$";
|
||||||
c_fix = format;
|
c_fix = format;
|
||||||
c_fix_arg = "#if defined(__APPLE_LOCAL_DEPRECATIONS)\n"
|
c_fix_arg = "#if defined(__APPLE_LOCAL_DEPRECATIONS)\n"
|
||||||
|
|
Loading…
Reference in New Issue