[Insight-developers] ImageSource MakeOutput build error on MinGW64

Matt McCormick matt.mccormick at kitware.com
Wed Apr 3 18:32:28 EDT 2013


Hi,

I am getting this odd build error on MinGW64-GCC4.7:

FAILED: c:\MinGW64\bin\c++.exe    -Wcast-align -Wdisabled-optimization
-Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral
-Wpointer-arith -Wshadow -Wunused -Wwrite-strings -funit-at-a-time
-Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof
-Woverloaded-virtual -Wstrict-null-sentinel  -mthreads -O2 -g -DNDEBUG
-IC:/Users/matt/ITK/Modules/ThirdParty/DoubleConversion/src/double-conversion
-IModules/ThirdParty/KWSys/src
-IC:/Users/matt/ITK/Modules/ThirdParty/VNL/src/vxl/v3p/netlib
-IC:/Users/matt/ITK/Modules/ThirdParty/VNL/src/vxl/vcl
-IC:/Users/matt/ITK/Modules/ThirdParty/VNL/src/vxl/core
-IModules/ThirdParty/VNL/src/vxl/v3p/netlib
-IModules/ThirdParty/VNL/src/vxl/vcl
-IModules/ThirdParty/VNL/src/vxl/core
-IC:/Users/matt/ITK/Modules/ThirdParty/VNLInstantiation/include
-IModules/Core/Common -IC:/Users/matt/ITK/Modules/Core/Common/include
-MMD -MT Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/itkImageSource.cxx.obj
-MF "Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/itkImageSource.cxx.obj.d"
-o Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/itkImageSource.cxx.obj
-c C:/Users/matt/ITK/Modules/Core/Common/src/itkImageSource.cxx
In file included from
C:/Users/matt/ITK/Modules/Core/Common/src/itkImageSource.cxx:20:0:
C:/Users/matt/ITK/Modules/Core/Common/include/itkImageSource.h:233:44:
error: 'virtual itk::ProcessObject::DataObjectPointer
itk::ImageSource<TOutputImage>::MakeOutput(itk::ProcessObject::DataObjectPointerArraySizeType)'
cannot be overloaded
In file included from
C:/Users/matt/ITK/Modules/Core/Common/include/itkImageSource.h:31:0,
                 from
C:/Users/matt/ITK/Modules/Core/Common/src/itkImageSource.cxx:20:
C:/Users/matt/ITK/Modules/Core/Common/include/itkProcessObject.h:223:29:
error: with 'virtual itk::ProcessObject::DataObjectPointer
itk::ProcessObject::MakeOutput(itk::ProcessObject::DataObjectPointerArraySizeType)'
In file included from
C:/Users/matt/ITK/Modules/Core/Common/include/itkImageSource.h:370:0,
                 from
C:/Users/matt/ITK/Modules/Core/Common/src/itkImageSource.cxx:20:
C:/Users/matt/ITK/Modules/Core/Common/include/itkImageSource.hxx:64:1:
error: prototype for 'itk::ProcessObject::DataObjectPointer
itk::ImageSource<TOutputImage>::MakeOutput(itk::ProcessObject::DataObjectPointerArraySizeType)'
does not match any in class 'itk::ImageSource<TOutputImage>'
In file included from
C:/Users/matt/ITK/Modules/Core/Common/include/itkImageSource.h:31:0,
                 from
C:/Users/matt/ITK/Modules/Core/Common/src/itkImageSource.cxx:20:
C:/Users/matt/ITK/Modules/Core/Common/include/itkProcessObject.h:223:29:
error: candidates are: virtual itk::ProcessObject::DataObjectPointer
itk::ProcessObject::MakeOutput(itk::ProcessObject::DataObjectPointerArraySizeType)
C:/Users/matt/ITK/Modules/Core/Common/include/itkProcessObject.h:331:29:
error:                 virtual itk::ProcessObject::DataObjectPointer
itk::ProcessObject::MakeOutput(const DataObjectIdentifierType&)

Has anyone else encountered this?  We have a MinGW32-gcc4.5 dashboard
build that is doing fine.

Thanks,
Matt


More information about the Insight-developers mailing list