trojan-gfw / trojan

An unidentifiable mechanism that helps you bypass GFW.
https://trojan-gfw.github.io/trojan/
GNU General Public License v3.0
18.96k stars 3.04k forks source link

[BUG] 1.14.0编译提示 #209

Closed xisa-gh closed 4 years ago

xisa-gh commented 4 years ago

Trojan Version 1.14.0

Describe the bug 系统信息及编译环境 Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux Boost 1.72.0 OpenSSL 1.1.1d Cmake 3.15.0 gcc 6.3.0

编译时提示以下信息,重复发生。Ctest成功,也可以正常使用 [ 38%] Building CXX object CMakeFiles/trojan.dir/src/proto/socks5address.cpp.o /root/trojan/src/proto/socks5address.cpp: In member function ‘bool SOCKS5Address::parse(const string&, size_t&)’: /root/trojan/src/proto/socks5address.cpp:49:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (data.length() > 1 + domain_len + 2) {

GreaterFire commented 4 years ago

No need to worry. This is just a warning and is fixed in https://github.com/trojan-gfw/trojan/commit/92ef1691670efa4759fa757750841715e0c27d4f.