-
-
Notifications
You must be signed in to change notification settings - Fork 686
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
BUG: SAGITAL_PLANE -> SAGITTAL_PLANE, though with legacy support #5154
BUG: SAGITAL_PLANE -> SAGITTAL_PLANE, though with legacy support #5154
Conversation
There is a dashboard issue that might be tricky to work around: |
Could we fix this via warning suppression mechanism? |
The dashboard is showing the warnings for deprecation when we haven't set |
I found an example of this: Line 74 in 524df2a
|
This is the easiest solution. @blowekamp what do you think? |
The Recently in itkAnatomicalOrientation I also had to add an ITK_WRAPPING. That may need to be added to the itkMacro. ITK/Modules/Core/Common/include/itkAnatomicalOrientation.h Lines 436 to 445 in 5a6d1e9
|
If you add it to |
@Leengit Please give the macro defined here a try: ITK/Modules/Core/Common/include/itkMacro.h Lines 1383 to 1389 in 1090d31
If warning persists with wrapping, then the macro may need to be modified to handle when ITK_WRAPPING is defined. |
I am thinking that the optimal behavior is
It looks like use of So am I hesitant to use |
2c07ff3
to
1cdba67
Compare
I just force-pushed changes that I hope have the following behavior.
|
As I discuss above, I was able to achieve a balancing of priorities ... but I acknowledge that there are other ways to balance the priorities. If we should go forward with the current implementation, please approve. Otherwise, let's continue the discussion here. Thanks! And/or if you think the failure of |
Closes #3923.
Replace the misspelling
SAGITAL_PLANE
withSAGITTAL_PLANE
.Note that both spellings are accepted if not
ITK_LEGACY_REMOVE
.However, invocation of
std::ostream &operator<<(std::ostream & out, const OctreeEnums::Octree value)
with either spelling will output a string with the correct spelling:"itk::OctreeEnums::Octree::SAGITTAL_PLANE"
PR Checklist