Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
COMP: GCC 13 CastXML vector include workaround
Addresses: ``` FAILED: Wrapping/castxml_inputs/itkImageSource.xml /home/matt/bin/ITK-Wrap-Release/Wrapping/castxml_inputs/itkImageSource.xml cd /home/matt/bin/ITK-Wrap-Release/Wrapping/Modules/ITKCommon && /home/matt/bin/ITK-Wrap-Release/Wrapping/Generators/CastXML/castxml/bin/castxml -o /home/matt/bin/ITK-Wrap-Release/Wrapping/castxml_inputs/itkImageSource.xml --castxml-gccxml --castxml-start _wrapping_ --castxml-cc-gnu "(" /usr/bin/c++ -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wctad-maybe-unsupported -Wstrict-null-sentinel -fno-sized-deallocation -msse2 -fno-sized-deallocation -msse2 -std=c++17 ")" -w -c @/home/matt/bin/ITK-Wrap-Release/Wrapping/castxml_inputs/.castxml.inc /home/matt/bin/ITK-Wrap-Release/Wrapping/castxml_inputs/itkImageSource.cxx In file included from /home/matt/bin/ITK-Wrap-Release/Wrapping/castxml_inputs/itkImageSource.cxx:1: In file included from /home/matt/src/ITK/Modules/Core/Common/include/itkCommand.h:21: In file included from /home/matt/src/ITK/Modules/Core/Common/include/itkObject.h:31: In file included from /home/matt/src/ITK/Modules/Core/Common/include/itkLightObject.h:21: In file included from /home/matt/src/ITK/Modules/Core/Common/include/itkMacro.h:51: In file included from /home/matt/src/ITK/Modules/Core/Common/include/itkPrintHelper.h:24: In file included from /usr/include/c++/13/vector:67: /usr/include/c++/13/bits/stl_bvector.h:190:35: error: expected string literal as argument of '__assume__' attribute 190 | __attribute__ ((__assume__ (__ofst < unsigned(_S_word_bit)))); | ^ ``` See also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112467
- Loading branch information