From 82ed4d514329ed56077efda59a397784615e9c93 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Thu, 8 Aug 2024 10:22:19 +0200 Subject: ada: Fix s-taprop__solaris.adb compilation Solaris Ada bootstrap is broken as of 2024-08-06 with s-taprop.adb:1971:23: error: "int" is not visible s-taprop.adb:1971:23: error: multiple use clauses cause hiding s-taprop.adb:1971:23: error: hidden declaration at s-osinte.ads:51 s-taprop.adb:1971:23: error: hidden declaration at i-c.ads:62 because one instance of int isn't qualified. This patch fixes this. Bootstrapped without regressions on i386-pc-solaris2.11 and sparc-sun-solaris2.11. 2024-08-07 Rainer Orth gcc/ada: * libgnarl/s-taprop__solaris.adb (Set_Task_Affinity): Fully quality int. --- gcc/ada/libgnarl/s-taprop__solaris.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ada/libgnarl') diff --git a/gcc/ada/libgnarl/s-taprop__solaris.adb b/gcc/ada/libgnarl/s-taprop__solaris.adb index 6d05e8db..c24925c 100644 --- a/gcc/ada/libgnarl/s-taprop__solaris.adb +++ b/gcc/ada/libgnarl/s-taprop__solaris.adb @@ -1968,7 +1968,7 @@ package body System.Task_Primitives.Operations is then declare CPU_Set : aliased psetid_t; - Result : int; + Result : Interfaces.C.int; begin Result := pset_create (CPU_Set'Access); -- cgit v1.1