-
-
Notifications
You must be signed in to change notification settings - Fork 668
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
Report all warnings in CI builds #4877
Comments
Cross-ref #4865 (comment):
Here is the screenshot of my compiler's output:
Here it is: CMakeCache.txt |
I do like to see all those warnings, thanks 👍 However, I don't think it's necessary to fix all of them. MSVC MSVC
|
Probably, but the example in #4865 speaks for itself. And I also saw some warnings related to unused variables and signedness comparison mismatches. |
If you really want to address all those |
Niels, please, I did not say that I will attempt at fixing all warnings, but I believe that unless we see such warnings openly somewhere it is impossible to assess what we are ignoring. I have a list of other things that I have been unable to address in ITK since some time now. Also, I know very well the time it would require to have a look at the 5000+ warnings that I get from |
Just for notice, as ITK consumers, we can handle ITK headers as system headers to avoid warnings. |
Description
Compiling ITK on MSVC with the
/Wall
flag raises a number of warnings that are not being reported in our CI builds. We should at least report or monitor them to try to address them as time permits.Steps to Reproduce
Add the relevant warnings (e.g.
/Wall
) to the compilers to report all warnings.Expected behavior
We monitor all source code warnings.
Actual behavior
Not all source code warnings are being monitored.
Reproducibility
N/A.
Versions
master
.Environment
Any.
Additional Information
Cross-referencing #4865 (comment).
The text was updated successfully, but these errors were encountered: