You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
overridingprocedureSet_Close_On_Exec (Socket : Socket_Type) is
Status : Boolean;
begin
Sockets.Set_Close_On_Exec (Socket.S.FD, True, Status);
endSet_Close_On_Exec;
became
overridingprocedureSet_Close_On_Exec (Socket : Socket_Type) is
Status : Boolean;
pragma Unreferenced (Status);
begin
Sockets.Set_Close_On_Exec (Socket.S.FD, True, Status);
endSet_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.
How it can be fixed?
The text was updated successfully, but these errors were encountered:
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
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?
The text was updated successfully, but these errors were encountered: