GCC8 has tightened up warnings vs errors and throws this error on build:
47724 In file included from /home/nistmni/src/minc-toolkit-v2/ANTs/Examples/Atropos.cxx:16:
47725 /home/nistmni/src/minc-toolkit-v2/ANTs/ImageSegmentation/antsAtroposSegmentationImageFilter.h: In member function 'void itk::ants::AtroposSegmentationImageFilter<TInputImage, TMaskImage, TClassifiedImage>::GetPriorLabelParameterMap()':
47726 /home/nistmni/src/minc-toolkit-v2/ANTs/ImageSegmentation/antsAtroposSegmentationImageFilter.h:523:18: error: return-statement with a value, in function returning 'void' [-fpermissive]
47727 return this->m_PriorLabelParameterMap;
47728 ^~~~~~~~~~~~~~~~~~~~~~~~
47729 make[5]: *** [Examples/CMakeFiles/l_Atropos.dir/build.make:63: Examples/CMakeFiles/l_Atropos.dir/Atropos.cxx.o] Error 1
GCC8 has tightened up warnings vs errors and throws this error on build:
https://github.com/ANTsX/ANTs/blob/master/ImageSegmentation/antsAtroposSegmentationImageFilter.h#L523