You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debian Linux 12, gcc version 12.2.0 (Debian 12.2.0-14).
/home/r/itk/ITK/Modules/IO/GDCM/src/itkGDCMImageIO.cxx: In function ‘bool itk::readNoPreambleDicom(std::ifstream&)’:
/home/r/itk/ITK/Modules/Core/Common/include/itkMacro.h:504:11: error: invalid use of ‘this’ in non-member function
504 | if (this->GetDebug() && ::itk::Object::GetGlobalWarningDisplay()) \
| ^~~~
/home/r/itk/ITK/Modules/IO/GDCM/src/itkGDCMImageIO.cxx:191:3: note: in expansion of macro ‘itkDebugMacro’
191 | itkDebugMacro(<< "No DICOM magic number found, but the file appears to be DICOM without a preamble.");
| ^~~~~~~~~~~~~
/home/r/itk/ITK/Modules/Core/Common/include/itkMacro.h:508:19: error: invalid use of ‘this’ in non-member function
508 | << this->GetNameOfClass() << " (" << this << "): " x << "\n\n"; \
| ^~~~
/home/r/itk/ITK/Modules/IO/GDCM/src/itkGDCMImageIO.cxx:191:3: note: in expansion of macro ‘itkDebugMacro’
191 | itkDebugMacro(<< "No DICOM magic number found, but the file appears to be DICOM without a preamble.");
| ^~~~~~~~~~~~~
/home/r/itk/ITK/Modules/Core/Common/include/itkMacro.h:508:53: error: invalid use of ‘this’ in non-member function
508 | << this->GetNameOfClass() << " (" << this << "): " x << "\n\n"; \
| ^~~~
/home/r/itk/ITK/Modules/IO/GDCM/src/itkGDCMImageIO.cxx:191:3: note: in expansion of macro ‘itkDebugMacro’
191 | itkDebugMacro(<< "No DICOM magic number found, but the file appears to be DICOM without a preamble.");
| ^~~~~~~~~~~~~
make[2]: *** [Modules/IO/GDCM/src/CMakeFiles/ITKIOGDCM.dir/build.make:76: Modules/IO/GDCM/src/CMakeFiles/ITKIOGDCM.dir/itkGDCMImageIO.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:9402: Modules/IO/GDCM/src/CMakeFiles/ITKIOGDCM.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
A similar error will occur with DCMTK IO if it is enabled.
The text was updated successfully, but these errors were encountered:
issakomi
added
the
type:Testing
Ensure that the purpose of a class is met/the results on a wide set of test cases are correct
label
Mar 28, 2024
Build in Debug mode fails after fix-32bits-dicom-read-crash .
Debian Linux 12,
gcc version 12.2.0 (Debian 12.2.0-14)
.A similar error will occur with DCMTK IO if it is enabled.
The text was updated successfully, but these errors were encountered: