devsisters / libquic

QUIC, a multiplexed stream transport over UDP
http://devsisters.github.io/goquic/
BSD 3-Clause "New" or "Revised" License
1.77k stars 288 forks source link

Compilation error on MAC inside BoringSSL #42

Open Warchant opened 5 years ago

Warchant commented 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.

OS: Mac 10.14.5 CMake: 3.14.4 Compiler: Apple LLVM version 10.0.1 (clang-1001.0.46.4)

Talbot3 commented 5 years ago

yea, return 0 can build pass