-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Can someone help is solving this issue. Please and thank you. While compiling this error shows up.
/home/pi/yaml-cpp/test/binary_test.cpp: In member function ‘virtual void BinaryTest_DecodingNoCrashOnNegative_Test::TestBody()’:
/home/pi/yaml-cpp/test/binary_test.cpp:11:39: error: narrowing conversion of ‘-58’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
std::string input{-58, -1, -99, -109};
^
make[2]: *** [test/CMakeFiles/yaml-cpp-tests.dir/build.make:63: test/CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 60%] Linking CXX executable read
[ 60%] Built target yaml-cpp-read
make[1]: *** [CMakeFiles/Makefile2:996: test/CMakeFiles/yaml-cpp-tests.dir/all] Error 2
make: *** [Makefile:141: all] Error 2