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

Drop -Werror #70

Closed
lanodan opened this issue May 2, 2019 · 7 comments
Closed

Drop -Werror #70

lanodan opened this issue May 2, 2019 · 7 comments

Comments

@lanodan
Copy link

lanodan commented May 2, 2019

Please drop -Werror, at least on releases.

It makes no sense to do that and of course it makes cage fails when you compile it with clang and it is doomed to fail on any compiler or warning flag you didn’t test.

@Hjdskes
Copy link
Collaborator

Hjdskes commented May 2, 2019

It makes no sense to do that

Care to elaborate? I like to get as much assistance from the compiler as possible. I compile Cage on Arch w/ GCC & Clang, Alpine w/ GCC and FreeBSD w/ Clang.

Also, I sense an undertone I don't like. Please don't do that. Just describe the issue you're having and try to convince me to change with sound arguments, not frustrations.

@lanodan
Copy link
Author

lanodan commented May 2, 2019

Well here is the build.log then. (EDIT: And here is the one without -Werror which maybe has more warnings btw: build.log )

I disabled “-Werror” btw as it should just not be there by default in releases, as it means that if the building environment is different from yours (compilers, libc, flags, …) it’ll probably errornously fail instead of successfully manage to build.

I could understand using it when you’re in development, but in releases you’ll just annoy packagers, specially as the release could end up failling rebuilding after an update.

gentoo-repo-qa-bot pushed a commit to gentoo-mirror/lanodanOverlay that referenced this issue May 2, 2019
@Hjdskes
Copy link
Collaborator

Hjdskes commented May 3, 2019

I'll see if I can compile a list of compile flags to use instead of -Werror. Open to suggestions on what to include/exclude.

@lanodan
Copy link
Author

lanodan commented May 4, 2019 via email

@JakeSays
Copy link

JakeSays commented Jun 2, 2019

I would ask for this as well. I fully understand the value of -Werror while developing cage itself, but for the rest of us having a build option to turn it off would be very helpful.

@lanodan
Copy link
Author

lanodan commented Jun 2, 2019 via email

@JakeSays
Copy link

JakeSays commented Jun 2, 2019

@lanodan perfect! Thanks

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

3 participants