aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/libgnarl
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2024-08-08 10:22:19 +0200
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2024-08-08 10:22:19 +0200
commit82ed4d514329ed56077efda59a397784615e9c93 (patch)
tree1300f4a20e1c81816daaf9b6349697a2efebb285 /gcc/ada/libgnarl
parent5aa4cd913e48cfce3ca0ab58cf6f80f55dbb0f58 (diff)
downloadgcc-82ed4d514329ed56077efda59a397784615e9c93.zip
gcc-82ed4d514329ed56077efda59a397784615e9c93.tar.gz
gcc-82ed4d514329ed56077efda59a397784615e9c93.tar.bz2
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 <ro@CeBiTec.Uni-Bielefeld.DE> gcc/ada: * libgnarl/s-taprop__solaris.adb (Set_Task_Affinity): Fully quality int.
Diffstat (limited to 'gcc/ada/libgnarl')
-rw-r--r--gcc/ada/libgnarl/s-taprop__solaris.adb2
1 files changed, 1 insertions, 1 deletions
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);