COMP: Update SlicerDMRI to fix "CompareTxts" build errors
//---------------------------
commit SlicerDMRI/SlicerDMRI@cab6a68
Author: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Date: Sun Feb 21 23:15:09 2016 -0500
COMP: CompareTxts: Fix build errors
1) Include "cstdlib" to fix this build error:
/home/jcfr/Projects/Slicer-Debug/DMRI/FiberTractMeasurements/Testing/CompareTxts.cxx: In function ‘int main(int, char**)’:
/home/jcfr/Projects/Slicer-Debug/DMRI/FiberTractMeasurements/Testing/CompareTxts.cxx:20:12: error: ‘EXIT_FAILURE’ was not declared in this scope
return EXIT_FAILURE;
^
2) Construct "ifstream" using char* signature also available with c++ older
that c++11:
/home/jcfr/Projects/Slicer-Debug/DMRI/FiberTractMeasurements/Testing/CompareTxts.cxx:25:40: error: no matching function for call to ‘std::basic_ifstream<char>::basic_ifstream(std::__cxx11::string&)’
std::ifstream resultTxt(resultTxtPath);
^
//---------------------------
git-svn-id: http://svn.slicer.org/Slicer4/trunk@24940 3bd1e089-480b-0410-8dfb-8563597acbee |