-
Notifications
You must be signed in to change notification settings - Fork 9
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
-Wall -Wextra has tons of warnings #8
Comments
FWIW, I do agree about the |
A couple other warnings I found include |
Oops. Didn't mean to close it. Not going to fix this, especially not for -Wextra, but not going to close this either. I'll let it smolder and see what kinds of fixes for warnings we accumulate. Some of these are doubleplus annoying because they appear in the default warning sets on strange compilers/platforms. |
From #9, this comment wasn't addressed:
Depending on your assessment I'll happily make the gruntwork changes. |
Yes. Feel free to remove the unused variable declarations from those predicates. The only reason I can fathom they're there is that they were used for debugging during development and left in. |
Suppose that I am using CHDL in something else, and I am interested in guaranteeing that the code doesn't have warnings.
This can be easily reproduced by setting CXXFLAGS="-Wall -Wextra" and typing 'make'. Here is an excerpt of the output:
This bug is important because users expect their code to compile cleanly without warnings, especially upstream projects that are subject to distribution requirements for -Wall and -Wextra.
The text was updated successfully, but these errors were encountered: