Open Warchant opened 5 years ago
[ 50%] Building CXX object boringssl/crypto/aes/CMakeFiles/aes_test.dir/aes_test.cc.o /Users/bogdan/tools/libquic/boringssl/crypto/aes/aes_test.cc:97:5: error: bool literal returned from 'main' [-Werror,-Wmain] return false; ^ ~~~~~ 1 error generated
It seems aes_test.cc has a warning, and because of -Werror, compilation fails.
aes_test.cc
-Werror
OS: Mac 10.14.5 CMake: 3.14.4 Compiler: Apple LLVM version 10.0.1 (clang-1001.0.46.4)
yea, return 0 can build pass
return 0
It seems
aes_test.cc
has a warning, and because of-Werror
, compilation fails.OS: Mac 10.14.5 CMake: 3.14.4 Compiler: Apple LLVM version 10.0.1 (clang-1001.0.46.4)