Compilation error on MAC inside BoringSSL
Warchant opened this issue · 1 comments
Warchant commented
[ 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.
OS: Mac 10.14.5
CMake: 3.14.4
Compiler: Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Talbot3 commented
yea, return 0
can build pass