-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Build fails on NetBSD 7.1 due to -Werror=char-subscripts #31
Comments
We don't want to either. We want to catch the issues and fix them. Channels are the standard way to distribute software and so we want to ensure 0-warning code in every channel.
Does |
I don't know what channels are in this context, but I just wanted to underline how the combination of As for fixing these specific warnings, I'll test when I get 7.1 set up. This was a bulk build by someone else. |
For jarun#31. Use (int) because that's the type actually taken by the character functions (isdigit etc).
From a bulk build on NetBSD 7.1, an older but still maintained release of NetBSD, a bunch of errors like these:
Full build output here: http://nyftp.netbsd.org/pub/pkgsrc/packages/reports/2019Q1/NetBSD-7.1-x86_64/20190602.1935/bcal-2.1/build.log
My first impression is that we should
-Werror
from CFLAGS, it makes sense in development but not in the wild where you really can't anticipate what warnings could occur-Wno-char-subscripts
but I'll look into it more deeply later.
The text was updated successfully, but these errors were encountered: