]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Ada, libgnarl: Fix Ada bootstrap for Darwin.
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 16 Sep 2025 06:51:28 +0000 (07:51 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Tue, 16 Sep 2025 07:24:56 +0000 (08:24 +0100)
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 <iain@sandoe.co.uk>
gcc/ada/libgnarl/s-osinte__darwin.adb

index eeafbdbef8f16ae03c2034af1127175fa36caa7d..955db064b773581000e63c2c6398d0dbcfd2b3c6 100644 (file)
 
 --  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 --