Fixed explicit making cppcheck fail and some lineendings

(cherry picked from commit 25178d9d)
23 jobs for Fix_cppcheck in 20 minutes and 28 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
canceled #22795
VS2013
VS2013-32-bit-shared-apps

canceled #22796
VS2013
VS2013-32-bit-shared-no-apps

canceled #22799
VS2013
VS2013-32-bit-static-apps

canceled #22800
VS2013
VS2013-32-bit-static-no-apps

canceled #22793
VS2013
VS2013-64-bit-shared-apps

canceled #22794
VS2013
VS2013-64-bit-shared-no-apps

canceled #22797
VS2013
VS2013-64-bit-static-apps

canceled #22798
VS2013
VS2013-64-bit-static-no-apps

canceled #22787
VS2015
VS2015-32-bit-shared-apps

canceled #22788
VS2015
VS2015-32-bit-shared-no-apps

canceled #22791
VS2015
VS2015-32-bit-static-apps

canceled #22792
VS2015
VS2015-32-bit-static-no-apps

canceled #22785
VS2015
VS2015-64-bit-shared-apps

canceled #22786
VS2015
VS2015-64-bit-shared-no-apps

canceled #22789
VS2015
VS2015-64-bit-static-apps

canceled #22790
VS2015
VS2015-64-bit-static-no-apps

canceled #22779
Linux
clang-c++11

00:20:27

failed #22781
Linux
clang-c++98

00:07:04

passed #22784
Linux
cppcheck

00:00:25

passed #22778
Linux
gcc-c++11

00:04:25

passed #22780
Linux
gcc-c++98

00:04:05

canceled #22782
Apple
macos-c++11

00:07:13

canceled #22783
Apple
macos-c++98

 
Name Stage Failure
failed
clang-c++98 Test There is an unknown failure, please try again
                                                                  ^
1 error generated.
src/Unittests/CMakeFiles/unittests.dir/build.make:398: recipe for target 'src/Unittests/CMakeFiles/unittests.dir/unittests_property.cc.o' failed
make[2]: *** [src/Unittests/CMakeFiles/unittests.dir/unittests_property.cc.o] Error 1
CMakeFiles/Makefile2:1088: recipe for target 'src/Unittests/CMakeFiles/unittests.dir/all' failed
make[1]: *** [src/Unittests/CMakeFiles/unittests.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: Build failed: exit status 1