[Bug ada/110898] compilation of adacl-assert-integer.ads failed

2023-08-07 Thread dkm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110898

--- Comment #3 from Marc Poulhiès  ---
Yes, I was confused also, as I've never seen this issue when using alire.
Maybe check that your alr install is up to date, and if it's the case, report
an issue in the corresponding project:
https://github.com/alire-project/alire/issues

[Bug ada/110898] compilation of adacl-assert-integer.ads failed

2023-08-04 Thread krischik at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110898

Martin Krischik  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #2 from Martin Krischik  ---
@(In reply to Marc Poulhiès from comment #1)

> I've checked and I also get the same errors with gcc 11.x, so that's not
> something new. I think your code should be fixed here.

Yes, those error messages make sense. Especially the „error: child of a generic
package must be a generic unit“. That is indeed a problem on my side.

Thanks for checking. What confuse me was the not at all helpful “compilation of
adacl-assert-integer.ads failed” and the proper error message is no where to be
seen.

But is probably an Alire problem. I'll close the bug.

[Bug ada/110898] compilation of adacl-assert-integer.ads failed

2023-08-04 Thread dkm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110898

--- Comment #1 from Marc Poulhiès  ---
I get the following error when compiling the adacl-assert-integer.ads file:

```
src/adacl-assert-integer.ads:21:10: warning: unit "GNAT.Source_Info" is not
referenced [-gnatwu]
src/adacl-assert-integer.ads:25:34: (style) trailing spaces not permitted
[-gnatyb]
src/adacl-assert-integer.ads:31:01: error: child of a generic package must be a
generic unit
```

I've checked and I also get the same errors with gcc 11.x, so that's not
something new. I think your code should be fixed here.