Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation issue after including the crate through an indirect dependency #7

Closed
mgrojo opened this issue Sep 17, 2023 · 1 comment
Closed

Comments

@mgrojo
Copy link

mgrojo commented Sep 17, 2023

Steps to reproduce:

   alr init --bin issue_1386
   cd issue_1386
   alr with ashell
   alr build

This fails with:

posix-signals.ads:39:06: warning: unnecessary with of ancestor [-gnatwr]

   compilation of posix-signals.adb failed

gprbuild: *** compilation phase failed
error: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/tmp/issue_1386/issue_1386.gpr"] exited with code 4
error: Compilation failed.

The distributed version of the crate should not treat the warnings as errors, since future versions of the compiler can raise new warnings which will impede using the library. The switch should be only used by the maintainer of the library, not for users.

See alire-project/alire#1386 (comment) and following comments.

Thanks for your work.

@mgrojo
Copy link
Author

mgrojo commented Sep 25, 2023

I found out that the problem is actually on the ashell side. See charlie5/aShell#7

@mgrojo mgrojo closed this as completed Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant