I tried to build AWS v23.0.0 with GNAT CE 2021 and it is failed.
The first build is failed as described in the issue #351. These errors can be fixed in that way:
aws-server.adb:971:
Reference := S.Wait_For_Data'Access;
became
Reference := S.Wait_For_Data'Unchecked_Access;
aws-net-std_gnat.adb:701:
overriding procedure Set_Close_On_Exec (Socket : Socket_Type) is
Status : Boolean;
begin
Sockets.Set_Close_On_Exec (Socket.S.FD, True, Status);
end Set_Close_On_Exec;
became
overriding procedure Set_Close_On_Exec (Socket : Socket_Type) is
Status : Boolean;
pragma Unreferenced (Status);
begin
Sockets.Set_Close_On_Exec (Socket.S.FD, True, Status);
end Set_Close_On_Exec;
These errors are not last, and new build gives new error:
[Ada] ada2wsdl-parser.adb
ada2wsdl-parser.adb:971:28: error: "Ada_Composite_Constraint" is undefined
ada2wsdl-parser.adb:972:16: error: no selector "As_Composite_Constraint" for type "Constraint'Class" defined at libadalang-analysis.ads:674
ada2wsdl-parser.adb:974:24: error: no selector "As_Composite_Constraint" for type "Constraint'Class" defined at libadalang-analysis.ads:674
compilation of ada2wsdl-parser.adb failed
gprbuild: *** compilation phase failed
As I understood the error source is Libadalang package, which is too old for GNAT 2021.
I tried to build AWS v23.0.0 with GNAT CE 2021 and it is failed.
The first build is failed as described in the issue #351. These errors can be fixed in that way:
aws-server.adb:971:
became
aws-net-std_gnat.adb:701:
became
These errors are not last, and new build gives new error:
As I understood the error source is Libadalang package, which is too old for GNAT 2021.
How it can be fixed?