Due to a marco redefintion of NOMINMAX Examples/Dump/mitkDump.cpp produces an error which is located somewhere in GDCM. Since warnings as errors is activated this results in a build error.
Adding the following at the top of mitkDump.cpp solves the problem:
Have to do this due to an #define NOMINMAX withing GDCM which gives a warning
which is treated as error
#ifdef WIN32
#undef NOMINMAX
#endif