-
Notifications
You must be signed in to change notification settings - Fork 67
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
Fix CI errors #317
Fix CI errors #317
Conversation
First warning and first error (of about 50): Modules/Core/Common/itkConfigure.h:56:6: warning: #warning "WARNING: The current project is configured to use a C++ standard version older than the C++ standard used for this build of ITK" [-Wcpp] Modules/Core/Common/include/itkSize.h:329:29: error: 'constexpr const value_type& itk::Size<VDimension>::operator[](itk::Size<VDimension>::size_type) const' cannot be overloaded
The errors were introduced by 89a7300. /home/runner/work/Ex/src/Filtering/LabelMap/ShapeAttributesForBinaryImage/Code.cxx: In function 'int main(int, char**)': /home/runner/work/Ex/src/Filtering/LabelMap/ShapeAttributesForBinaryImage/Code.cxx:48:16: error: 'argv' was not declared in this scope fileName = argv[1]; ^~~~ ../src/Filtering/Thresholding/DemonstrateThresholdAlgorithms/Code.cxx:52:0: error: unterminated #ifdef
After this PR, we are just one warning short of a clean CI:
|
Awesome @dzenanz ! Looks like the error stems from using The CI's I'd say that the |
Matt is currently out of office, and is generally busy. Maybe we should try 3.5.4 (released Apr 11, 2021), as the latest from 3.x branch? Or the latest, 4.3.2 (released Dec 19, 2021)? I guess that we should go with the latest one which works for us. |
I asked because maybe the version should match that one used to actually build the site, and I do not know whether it was kept at 3.0.4 for some particular reason. I'm fine if you decide that we should go either with the latest from 3.x or the most recent one. |
I think that Sphinx documentation is built and deployed upon merge. Or at least it was. So any configuration should be in the repository (CI etc). |
Going with 3.x is less likely to cause problems (e.g. new warnings), so I think that is lower hanging fruit. |
I am not sure whether this will fix all errors, but it will surely fix some.