ossrs / srs-bench

SB(SRS Bench) is a set of benchmark and regression test tools, for SRS and other media servers, supports HTTP-FLV, RTMP, HLS, WebRTC and GB28181.
https://ossrs.net
MIT License
394 stars 223 forks source link

编译失败 #20

Open NodeBoy2 opened 4 years ago

NodeBoy2 commented 4 years ago

提交号:8e5ff60d6cb1e1d2f3a3797bf5bc16f88d47ee3e 编译失败: `g++ -c -std=c++98 -Wall -Wextra -g -O0 -DSRS_HIJACK_IO -DSRS_DISABLE_LOG -I src/app -I src/core -I src/os -I objs/st-1.9/obj -I objs/http-parser-2.1 -o objs/src/app/htl_app_srs_hijack.o src/app/htl_app_srs_hijack.cpp src/app/htl_app_srs_hijack.cpp:105:5: error: functions that differ only in their return type cannot be overloaded int srs_hijack_io_is_never_timeout(srs_hijack_io_t /ctx/, int64_t /tm/)


src/app/srs_librtmp.h:1039:17: note: previous declaration is here
    extern bool srs_hijack_io_is_never_timeout(srs_hijack_io_t ctx, int64_t timeout_us);
           ~~~~ ^
1 error generated.
`