From: Iain Sandoe Date: Tue, 16 Sep 2025 06:51:28 +0000 (+0100) Subject: Ada, libgnarl: Fix Ada bootstrap for Darwin. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f94a461641b9415c29fb58779ec5f82759626d77;p=thirdparty%2Fgcc.git Ada, libgnarl: Fix Ada bootstrap for Darwin. Recent changes to Ada have produced a new diagnostic: s-osinte.adb:34:18: warning: unit "Interfaces.C.Extensions"... which causes a bootstrap fail on Darwin when Ada is enabled. Fixed thus. PR ada/114065 gcc/ada/ChangeLog: * libgnarl/s-osinte__darwin.adb: Add and reference clause for Interfaces.C, remove clause for Interfaces.C.Extensions. Signed-off-by: Iain Sandoe --- diff --git a/gcc/ada/libgnarl/s-osinte__darwin.adb b/gcc/ada/libgnarl/s-osinte__darwin.adb index eeafbdbef8f..955db064b77 100644 --- a/gcc/ada/libgnarl/s-osinte__darwin.adb +++ b/gcc/ada/libgnarl/s-osinte__darwin.adb @@ -31,10 +31,9 @@ -- This is a Darwin Threads version of this package -with Interfaces.C.Extensions; +with Interfaces.C; use Interfaces.C; package body System.OS_Interface is - use Interfaces.C; ------------------------ -- To_Target_Priority --