I get this error when I try to build the MITK master on mac with clang 7:
[ 2%] Building CXX object ofstd/tests/CMakeFiles/ofstd_tests.dir/tvariant.cc.o In file included from /Users/mespak/src/mitk-debug/ep/src/DCMTK/ofstd/tests/tvariant.cc:5: In file included from /Users/mespak/src/mitk-debug/ep/src/DCMTK/ofstd/include/dcmtk/ofstd/ofvriant.h:375: In file included from /Users/mespak/src/mitk-debug/ep/src/DCMTK/ofstd/include/dcmtk/ofstd/variadic/variant.h:19: /Users/mespak/src/mitk-debug/ep/src/DCMTK/ofstd/include/dcmtk/ofstd/variadic/helpers.h:57:30: error: non-type template argument evaluates to -1, which cannot be narrowed to type 'unsigned long' [-Wc++11-narrowing] : OFintegral_constant<size_t,-1> {}; ^ 1 error generated.
The current snapshot used on the master is:
dcmtk-3.6.1_20161102.tar.gz
The next version compiles fine:
dcmtk-3.6.1_20170228.tar.gz
So, unless it has other problems, it would be good to upgrade.