Page MenuHomePhabricator

MITK doesn't build with gcc 8
Closed, ResolvedPublic


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

Event Timeline

You mean like





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);