VNL in ITK 4.13 is too old, and there are some new warnings detected by gcc 8 which are interpreted as errors. Some can be fixed, some have to be suppressed for now
Description
Description
Event Timeline
Comment Actions
You mean like
-Wno-error=catch-value=
and
-Wno-error=class-memaccess
?
To avoid this, for example:
MITK/Modules/Core/include/mitkImageToItk.txx:143:11: error: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class itk::RGBAPixel<unsigned char>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Werror=class-memaccess] memcpy(output->GetBufferPointer(), imageAccess->GetData(), sizeof(InternalPixelType) * noBytes); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~