The build generates a lot of warnings! But also some errors.
This in alire-conditional_trees.ads
,
525. function Root (This : Tree) return Node'Class is
526. (This.Constant_Reference);
|
>>> actual for explicitly aliased formal is too short lived
This could well be a compiler issue, of course.
Likewise in alire-dependencies-states.adb
,
8. overriding function "=" (L, R : Stored_Release) return Boolean
9. is
10. use type Milestones.Milestone;
11. use type Origins.Origin;
12. begin
13. return
14. (L.Is_Empty and then R.Is_Empty)
15. or else
16. (not L.Is_Empty and then not R.Is_Empty
17. and then
18. L.Constant_Reference.Milestone = R.Constant_Reference.Milestone
1 2
>>> actual for explicitly aliased formal is too short lived
>>> actual for explicitly aliased formal is too short lived
19. and then
20. L.Constant_Reference.Origin = R.Constant_Reference.Origin);
1 2
>>> actual for explicitly aliased formal is too short lived
>>> actual for explicitly aliased formal is too short lived
21. end "=";
Also, more definitely a problem,
alire-manifest.adb:47:07: actual for "This" must be a variable
alire-manifest.adb:258:26: actual for "This" must be a variable
alire-manifest.adb:269:07: actual for "This" must be a variable
the first of which is
47. Replacer.Replace; -- All went well, keep the changes
|
>>> actual for "This" must be a variable
(Replacer
is declared constant
)
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too