Import 2017-06-07 23:51:09: master 0810ed25

Author Committer Branch Timestamp Parent
jcfr jcfr master 2016-02-21 23:52:09 master e1284a96
Changeset

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 &quot;cstdlib&quot; 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 &quot;ifstream&quot; 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&lt;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

mod - SuperBuild.cmake Diff File