Tested on x86_64-darwin23 and 24.
OK for trunk?
thanks
Iain
--- 8< ---
Similar to the changes in r16-6620, the improved gnatwu warning finds
a use that is not needed in s-osinte__darwin.abd leading to a bootstrap
fail building the libraries.
Fixed by removing the extraneous 'use'.
gcc/ada/ChangeLog:
* libgnarl/s-osinte__darwin.adb: Delete unneeded use.
Signed-off-by: Iain Sandoe <[email protected]>
---
gcc/ada/libgnarl/s-osinte__darwin.adb | 2 --
1 file changed, 2 deletions(-)
diff --git a/gcc/ada/libgnarl/s-osinte__darwin.adb
b/gcc/ada/libgnarl/s-osinte__darwin.adb
index 27b8d25fb73..0c6b4e5f0dd 100644
--- a/gcc/ada/libgnarl/s-osinte__darwin.adb
+++ b/gcc/ada/libgnarl/s-osinte__darwin.adb
@@ -58,8 +58,6 @@ package body System.OS_Interface is
-- Darwin Threads don't have clock_gettime, so use gettimeofday
- use Interfaces;
-
TV : aliased C_Time.timeval;
Result : int;
--
2.50.1 (Apple Git-155)