Closed simonjwright closed 1 year ago
[Ada] alire-solver.adb
alire-solver.adb:874:28: error: ambiguous expression (cannot resolve "Dependencies")
alire-solver.adb:874:28: error: possible interpretation at alire-conditional_trees.ads:76, instance at alire-conditional.ads:18
alire-solver.adb:874:28: error: possible interpretation at alire-conditional.ads:20
gprbuild: *** compilation phase failed
I think this may be a compiler issue: the possible interpretation at alire-conditional_trees.ads:76, instance at alire-conditional.ads:18
appears to be function Dependencies
at alire-releases.ads:141
, whereas the possible interpretation at alire-conditional.ads:20
is subtype Dependencies
.
I am also having the same compiler errors with gcc 13.1.1 on Arch Linux.
This is pending to be merged in https://github.com/alire-project/alire/pull/1381
The same failures happen with GCC 13.1.0 on {x86_64 and aarch64}-apple-darwin.
Building with
gprbuild -k -XALIRE_OS=macos -P alr_env.gpr
(twice, to report only the compilation failures - there are other warnings which don’t lead to failure - ??) givesCompiling with
-gnatwn
leaves us with thealire-solver.adb
problem still; would you like me to look into it?