Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error ! help me! #143

Open
youlikesoilove opened this issue May 30, 2023 · 1 comment
Open

Compile error ! help me! #143

youlikesoilove opened this issue May 30, 2023 · 1 comment

Comments

@youlikesoilove
Copy link

youlikesoilove commented May 30, 2023

[910/3510] CXX obj/net/dcsctp/timer/timer/timer.o
../../net/dcsctp/timer/timer.cc: 在函数‘dcsctp::DurationMs dcsctp::{anonymous}::GetBackoffDuration(const dcsctp::TimerOptions&, dcsctp::DurationMs, int)’中:
../../net/dcsctp/timer/timer.cc:51:1: 警告: 在有返回值的函数中,控制流程到达函数尾 [-Wreturn-type]
 }
 ^
[924/3510] CXX obj/p2p/p2p_server_utils/turn_server.o
FAILED: obj/p2p/p2p_server_utils/turn_server.o 
arm-linux-gnueabihf-g++ -MMD -MF obj/p2p/p2p_server_utils/turn_server.o.d -DUSE_UDEV -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DCR_SYSROOT_KEY=20230329T085712Z-1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_STRICT_FIELD_TRIALS=0 -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DRTC_ENABLE_VP9 -DRTC_DAV1D_IN_INTERNAL_DECODER_FACTORY -DWEBRTC_HAVE_SCTP -DWEBRTC_USE_H264 -DWEBRTC_ARCH_ARM -DWEBRTC_ARCH_ARM_V7 -DWEBRTC_HAS_NEON -DWEBRTC_LIBRARY_IMPL -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DABSL_FLAGS_STRIP_NAMES=0 -I../.. -Igen -I../../third_party/abseil-cpp -Wall -Wno-psabi -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -march=armv7-a -mfloat-abi=hard -mtune=cortex-a7 -mfpu=neon -mthumb -O2 -fdata-sections -ffunction-sections -fno-omit-frame-pointer -gdwarf-4 -g2 -fvisibility=hidden -Wno-narrowing -Wno-class-memaccess -std=gnu++2a -fno-exceptions -fno-rtti --sysroot=../../../../../../../opt/rpi_rootfs/rootfs -fvisibility-inlines-hidden -Wnon-virtual-dtor -Woverloaded-virtual -c ../../p2p/base/turn_server.cc -o obj/p2p/p2p_server_utils/turn_server.o
In file included from ../../rtc_base/ssl_stream_adapter.h:25,
                 from ../../rtc_base/ssl_adapter.h:21,
                 from ../../p2p/base/turn_server.h:30,
                 from ../../p2p/base/turn_server.cc:11:
../../rtc_base/stream.h:111: 警告: 忽略 #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic push
 
../../rtc_base/stream.h:112: 警告: 忽略 #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
 
../../rtc_base/stream.h:120: 警告: 忽略 #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic pop
 
../../p2p/base/turn_server.cc: 在成员函数‘void cricket::TurnServerAllocation::HandleChannelBindRequest(const cricket::TurnMessage*)’中:
../../p2p/base/turn_server.cc:740:77: 错误: no matching function for call to ‘std::__cxx11::list<cricket::TurnServerAllocation::Channel>::insert(std::__cxx11::list<cricket::TurnServerAllocation::Channel>::iterator, <brace-enclosed initializer list>)’
         channels_.end(), {.id = channel_id, .peer = peer_attr->GetAddress()});
                                                                             ^
In file included from /home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/list:64,
                 from ../../p2p/base/turn_server.h:14,
                 from ../../p2p/base/turn_server.cc:11:
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/list.tcc:101:5: 附注: candidate: ‘std::__cxx11::list<_Tp, _Alloc>::iterator std::__cxx11::list<_Tp, _Alloc>::insert(std::__cxx11::list<_Tp, _Alloc>::const_iterator, const value_type&) [with _Tp = cricket::TurnServerAllocation::Channel; _Alloc = std::allocator<cricket::TurnServerAllocation::Channel>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<cricket::TurnServerAllocation::Channel>; std::__cxx11::list<_Tp, _Alloc>::const_iterator = std::_List_const_iterator<cricket::TurnServerAllocation::Channel>; std::__cxx11::list<_Tp, _Alloc>::value_type = cricket::TurnServerAllocation::Channel]’
     list<_Tp, _Alloc>::
     ^~~~~~~~~~~~~~~~~
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/list.tcc:101:5: 附注:   no known conversion for argument 2 from ‘<brace-enclosed initializer list>’ to ‘const value_type&’ {aka ‘const cricket::TurnServerAllocation::Channel&’}
In file included from /home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/list:63,
                 from ../../p2p/base/turn_server.h:14,
                 from ../../p2p/base/turn_server.cc:11:
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/stl_list.h:1316:7: 附注: candidate: ‘std::__cxx11::list<_Tp, _Alloc>::iterator std::__cxx11::list<_Tp, _Alloc>::insert(std::__cxx11::list<_Tp, _Alloc>::const_iterator, std::__cxx11::list<_Tp, _Alloc>::value_type&&) [with _Tp = cricket::TurnServerAllocation::Channel; _Alloc = std::allocator<cricket::TurnServerAllocation::Channel>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<cricket::TurnServerAllocation::Channel>; std::__cxx11::list<_Tp, _Alloc>::const_iterator = std::_List_const_iterator<cricket::TurnServerAllocation::Channel>; std::__cxx11::list<_Tp, _Alloc>::value_type = cricket::TurnServerAllocation::Channel]’
       insert(const_iterator __position, value_type&& __x)
       ^~~~~~
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/stl_list.h:1316:7: 附注:   no known conversion for argument 2 from ‘<brace-enclosed initializer list>’ to ‘std::__cxx11::list<cricket::TurnServerAllocation::Channel>::value_type&&’ {aka ‘cricket::TurnServerAllocation::Channel&&’}
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/stl_list.h:1335:7: 附注: candidate: ‘std::__cxx11::list<_Tp, _Alloc>::iterator std::__cxx11::list<_Tp, _Alloc>::insert(std::__cxx11::list<_Tp, _Alloc>::const_iterator, std::initializer_list<_Tp>) [with _Tp = cricket::TurnServerAllocation::Channel; _Alloc = std::allocator<cricket::TurnServerAllocation::Channel>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<cricket::TurnServerAllocation::Channel>; std::__cxx11::list<_Tp, _Alloc>::const_iterator = std::_List_const_iterator<cricket::TurnServerAllocation::Channel>]’
       insert(const_iterator __p, initializer_list<value_type> __l)
       ^~~~~~
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/stl_list.h:1335:7: 附注:   no known conversion for argument 2 from ‘<brace-enclosed initializer list>’ to ‘std::initializer_list<cricket::TurnServerAllocation::Channel>’
In file included from /home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/list:64,
                 from ../../p2p/base/turn_server.h:14,
                 from ../../p2p/base/turn_server.cc:11:
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/list.tcc:117:5: 附注: candidate: ‘std::__cxx11::list<_Tp, _Alloc>::iterator std::__cxx11::list<_Tp, _Alloc>::insert(std::__cxx11::list<_Tp, _Alloc>::const_iterator, std::__cxx11::list<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = cricket::TurnServerAllocation::Channel; _Alloc = std::allocator<cricket::TurnServerAllocation::Channel>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<cricket::TurnServerAllocation::Channel>; std::__cxx11::list<_Tp, _Alloc>::const_iterator = std::_List_const_iterator<cricket::TurnServerAllocation::Channel>; std::__cxx11::list<_Tp, _Alloc>::size_type = unsigned int; std::__cxx11::list<_Tp, _Alloc>::value_type = cricket::TurnServerAllocation::Channel]’
     list<_Tp, _Alloc>::
     ^~~~~~~~~~~~~~~~~
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/list.tcc:117:5: 附注:   备选需要 3 实参,但提供了 2 个
In file included from /home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/list:63,
                 from ../../p2p/base/turn_server.h:14,
                 from ../../p2p/base/turn_server.cc:11:
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/stl_list.h:1396:2: 附注: candidate: ‘template<class _InputIterator, class> std::__cxx11::list<_Tp, _Alloc>::iterator std::__cxx11::list<_Tp, _Alloc>::insert(std::__cxx11::list<_Tp, _Alloc>::const_iterator, _InputIterator, _InputIterator) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _Tp = cricket::TurnServerAllocation::Channel; _Alloc = std::allocator<cricket::TurnServerAllocation::Channel>]’
  insert(const_iterator __position, _InputIterator __first,
  ^~~~~~
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/stl_list.h:1396:2: 附注:   template argument deduction/substitution failed:
../../p2p/base/turn_server.cc:740:77: 附注:   备选需要 3 实参,但提供了 2 个
         channels_.end(), {.id = channel_id, .peer = peer_attr->GetAddress()});
                                                                             ^
../../p2p/base/turn_server.cc: 在成员函数‘void cricket::TurnServerAllocation::AddPermission(const rtc::IPAddress&)’中:
../../p2p/base/turn_server.cc:822:54: 错误: no matching function for call to ‘std::__cxx11::list<cricket::TurnServerAllocation::Permission>::insert(std::__cxx11::list<cricket::TurnServerAllocation::Permission>::iterator, <brace-enclosed initializer list>)’
     perm = perms_.insert(perms_.end(), {.peer = addr});
                                                      ^
In file included from /home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/list:64,
                 from ../../p2p/base/turn_server.h:14,
                 from ../../p2p/base/turn_server.cc:11:
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/list.tcc:101:5: 附注: candidate: ‘std::__cxx11::list<_Tp, _Alloc>::iterator std::__cxx11::list<_Tp, _Alloc>::insert(std::__cxx11::list<_Tp, _Alloc>::const_iterator, const value_type&) [with _Tp = cricket::TurnServerAllocation::Permission; _Alloc = std::allocator<cricket::TurnServerAllocation::Permission>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<cricket::TurnServerAllocation::Permission>; std::__cxx11::list<_Tp, _Alloc>::const_iterator = std::_List_const_iterator<cricket::TurnServerAllocation::Permission>; std::__cxx11::list<_Tp, _Alloc>::value_type = cricket::TurnServerAllocation::Permission]’
     list<_Tp, _Alloc>::
     ^~~~~~~~~~~~~~~~~
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/list.tcc:101:5: 附注:   no known conversion for argument 2 from ‘<brace-enclosed initializer list>’ to ‘const value_type&’ {aka ‘const cricket::TurnServerAllocation::Permission&’}
In file included from /home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/list:63,
                 from ../../p2p/base/turn_server.h:14,
                 from ../../p2p/base/turn_server.cc:11:
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/stl_list.h:1316:7: 附注: candidate: ‘std::__cxx11::list<_Tp, _Alloc>::iterator std::__cxx11::list<_Tp, _Alloc>::insert(std::__cxx11::list<_Tp, _Alloc>::const_iterator, std::__cxx11::list<_Tp, _Alloc>::value_type&&) [with _Tp = cricket::TurnServerAllocation::Permission; _Alloc = std::allocator<cricket::TurnServerAllocation::Permission>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<cricket::TurnServerAllocation::Permission>; std::__cxx11::list<_Tp, _Alloc>::const_iterator = std::_List_const_iterator<cricket::TurnServerAllocation::Permission>; std::__cxx11::list<_Tp, _Alloc>::value_type = cricket::TurnServerAllocation::Permission]’
       insert(const_iterator __position, value_type&& __x)
       ^~~~~~
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/stl_list.h:1316:7: 附注:   no known conversion for argument 2 from ‘<brace-enclosed initializer list>’ to ‘std::__cxx11::list<cricket::TurnServerAllocation::Permission>::value_type&&’ {aka ‘cricket::TurnServerAllocation::Permission&&’}
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/stl_list.h:1335:7: 附注: candidate: ‘std::__cxx11::list<_Tp, _Alloc>::iterator std::__cxx11::list<_Tp, _Alloc>::insert(std::__cxx11::list<_Tp, _Alloc>::const_iterator, std::initializer_list<_Tp>) [with _Tp = cricket::TurnServerAllocation::Permission; _Alloc = std::allocator<cricket::TurnServerAllocation::Permission>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<cricket::TurnServerAllocation::Permission>; std::__cxx11::list<_Tp, _Alloc>::const_iterator = std::_List_const_iterator<cricket::TurnServerAllocation::Permission>]’
       insert(const_iterator __p, initializer_list<value_type> __l)
       ^~~~~~
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/stl_list.h:1335:7: 附注:   no known conversion for argument 2 from ‘<brace-enclosed initializer list>’ to ‘std::initializer_list<cricket::TurnServerAllocation::Permission>’
In file included from /home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/list:64,
                 from ../../p2p/base/turn_server.h:14,
                 from ../../p2p/base/turn_server.cc:11:
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/list.tcc:117:5: 附注: candidate: ‘std::__cxx11::list<_Tp, _Alloc>::iterator std::__cxx11::list<_Tp, _Alloc>::insert(std::__cxx11::list<_Tp, _Alloc>::const_iterator, std::__cxx11::list<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = cricket::TurnServerAllocation::Permission; _Alloc = std::allocator<cricket::TurnServerAllocation::Permission>; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator<cricket::TurnServerAllocation::Permission>; std::__cxx11::list<_Tp, _Alloc>::const_iterator = std::_List_const_iterator<cricket::TurnServerAllocation::Permission>; std::__cxx11::list<_Tp, _Alloc>::size_type = unsigned int; std::__cxx11::list<_Tp, _Alloc>::value_type = cricket::TurnServerAllocation::Permission]’
     list<_Tp, _Alloc>::
     ^~~~~~~~~~~~~~~~~
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/list.tcc:117:5: 附注:   备选需要 3 实参,但提供了 2 个
In file included from /home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/list:63,
                 from ../../p2p/base/turn_server.h:14,
                 from ../../p2p/base/turn_server.cc:11:
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/stl_list.h:1396:2: 附注: candidate: ‘template<class _InputIterator, class> std::__cxx11::list<_Tp, _Alloc>::iterator std::__cxx11::list<_Tp, _Alloc>::insert(std::__cxx11::list<_Tp, _Alloc>::const_iterator, _InputIterator, _InputIterator) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _Tp = cricket::TurnServerAllocation::Permission; _Alloc = std::allocator<cricket::TurnServerAllocation::Permission>]’
  insert(const_iterator __position, _InputIterator __first,
  ^~~~~~
/home/yoola/Workspace/rpi_rootfs/tools/gcc-linaro-8.3.0-2019.03-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/8.3.0/bits/stl_list.h:1396:2: 附注:   template argument deduction/substitution failed:
../../p2p/base/turn_server.cc:822:54: 附注:   备选需要 3 实参,但提供了 2 个
     perm = perms_.insert(perms_.end(), {.peer = addr});
                                                      ^
[925/3510] CXX obj/p2p/rtc_p2p/basic_packet_socket_factory.o
In file included from ../../rtc_base/ssl_stream_adapter.h:25,
                 from ../../rtc_base/ssl_adapter.h:21,
                 from ../../p2p/base/basic_packet_socket_factory.cc:27:
../../rtc_base/stream.h:111: 警告: 忽略 #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic push
 
../../rtc_base/stream.h:112: 警告: 忽略 #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
 
../../rtc_base/stream.h:120: 警告: 忽略 #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic pop
 
[927/3510] CXX obj/p2p/rtc_p2p/dtls_transport_internal.o
In file included from ../../rtc_base/ssl_stream_adapter.h:25,
                 from ../../p2p/base/dtls_transport_internal.h:31,
                 from ../../p2p/base/dtls_transport_internal.cc:11:
../../rtc_base/stream.h:111: 警告: 忽略 #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic push
 
../../rtc_base/stream.h:112: 警告: 忽略 #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
 
../../rtc_base/stream.h:120: 警告: 忽略 #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic pop
 
In file included from ../../api/ice_transport_interface.h:19,
                 from ../../api/dtls_transport_interface.h:18,
                 from ../../p2p/base/dtls_transport_internal.h:24,
                 from ../../p2p/base/dtls_transport_internal.cc:11:
../../api/rtc_event_log/rtc_event_log.h:49:16: 警告: ‘virtual void webrtc::RtcEventLog::StopLogging(std::function<void()>)’ was hidden [-Woverloaded-virtual]
   virtual void StopLogging(std::function<void()> callback) {
                ^~~~~~~~~~~
../../api/rtc_event_log/rtc_event_log.h:63:8: 警告:   by ‘virtual void webrtc::RtcEventLogNull::StopLogging()’ [-Woverloaded-virtual]
   void StopLogging() override {}
        ^~~~~~~~~~~
[930/3510] CXX obj/p2p/rtc_p2p/default_ice_transport_factory.o
In file included from ../../api/ice_transport_interface.h:19,
                 from ../../p2p/base/default_ice_transport_factory.h:17,
                 from ../../p2p/base/default_ice_transport_factory.cc:11:
../../api/rtc_event_log/rtc_event_log.h:49:16: 警告: ‘virtual void webrtc::RtcEventLog::StopLogging(std::function<void()>)’ was hidden [-Woverloaded-virtual]
   virtual void StopLogging(std::function<void()> callback) {
                ^~~~~~~~~~~
../../api/rtc_event_log/rtc_event_log.h:63:8: 警告:   by ‘virtual void webrtc::RtcEventLogNull::StopLogging()’ [-Woverloaded-virtual]
   void StopLogging() override {}
        ^~~~~~~~~~~
[935/3510] CXX obj/net/dcsctp/socket/dcsctp_socket/dcsctp_socket.o
In file included from ../../net/dcsctp/socket/dcsctp_socket.h:45,
                 from ../../net/dcsctp/socket/dcsctp_socket.cc:10:
../../net/dcsctp/public/dcsctp_socket.h:306:36: 警告: ‘virtual std::unique_ptr<dcsctp::Timeout> dcsctp::DcSctpSocketCallbacks::CreateTimeout()’ was hidden [-Woverloaded-virtual]
   virtual std::unique_ptr<Timeout> CreateTimeout() {
                                    ^~~~~~~~~~~~~
In file included from ../../net/dcsctp/socket/dcsctp_socket.h:49,
                 from ../../net/dcsctp/socket/dcsctp_socket.cc:10:
../../net/dcsctp/socket/callback_deferrer.h:65:28: 警告:   by ‘virtual std::unique_ptr<dcsctp::Timeout> dcsctp::CallbackDeferrer::CreateTimeout(webrtc::TaskQueueBase::DelayPrecision)’ [-Woverloaded-virtual]
   std::unique_ptr<Timeout> CreateTimeout(
                            ^~~~~~~~~~~~~
../../net/dcsctp/socket/dcsctp_socket.cc: 在静态成员函数‘static constexpr absl::string_view dcsctp::DcSctpSocket::ToString(dcsctp::DcSctpSocket::State)’中:
../../net/dcsctp/socket/dcsctp_socket.cc:261:1: 警告: 在有返回值的函数中,控制流程到达函数尾 [-Wreturn-type]
 }
 ^
../../net/dcsctp/socket/dcsctp_socket.cc: 在成员函数‘bool dcsctp::DcSctpSocket::IsConsistent() const’中:
../../net/dcsctp/socket/dcsctp_socket.cc:240:1: 警告: 在有返回值的函数中,控制流程到达函数尾 [-Wreturn-type]
 }
 ^
../../net/dcsctp/socket/dcsctp_socket.cc: 在成员函数‘virtual dcsctp::SocketState dcsctp::DcSctpSocket::state() const’中:
../../net/dcsctp/socket/dcsctp_socket.cc:557:1: 警告: 在有返回值的函数中,控制流程到达函数尾 [-Wreturn-type]
 }
 ^
[936/3510] CXX obj/p2p/rtc_p2p/basic_ice_controller.o
In file included from ../../api/ice_transport_interface.h:19,
                 from ../../p2p/base/p2p_transport_channel.h:41,
                 from ../../p2p/base/basic_ice_controller.h:22,
                 from ../../p2p/base/basic_ice_controller.cc:11:
../../api/rtc_event_log/rtc_event_log.h:49:16: 警告: ‘virtual void webrtc::RtcEventLog::StopLogging(std::function<void()>)’ was hidden [-Woverloaded-virtual]
   virtual void StopLogging(std::function<void()> callback) {
                ^~~~~~~~~~~
../../api/rtc_event_log/rtc_event_log.h:63:8: 警告:   by ‘virtual void webrtc::RtcEventLogNull::StopLogging()’ [-Woverloaded-virtual]
   void StopLogging() override {}
        ^~~~~~~~~~~
[938/3510] CXX obj/p2p/rtc_p2p/dtls_transport.o
In file included from ../../rtc_base/ssl_stream_adapter.h:25,
                 from ../../p2p/base/dtls_transport_internal.h:31,
                 from ../../p2p/base/dtls_transport.h:22,
                 from ../../p2p/base/dtls_transport.cc:11:
../../rtc_base/stream.h:111: 警告: 忽略 #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic push
 
../../rtc_base/stream.h:112: 警告: 忽略 #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
 
../../rtc_base/stream.h:120: 警告: 忽略 #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic pop
 
In file included from ../../api/ice_transport_interface.h:19,
                 from ../../api/dtls_transport_interface.h:18,
                 from ../../p2p/base/dtls_transport.h:20,
                 from ../../p2p/base/dtls_transport.cc:11:
../../api/rtc_event_log/rtc_event_log.h:49:16: 警告: ‘virtual void webrtc::RtcEventLog::StopLogging(std::function<void()>)’ was hidden [-Woverloaded-virtual]
   virtual void StopLogging(std::function<void()> callback) {
                ^~~~~~~~~~~
../../api/rtc_event_log/rtc_event_log.h:63:8: 警告:   by ‘virtual void webrtc::RtcEventLogNull::StopLogging()’ [-Woverloaded-virtual]
   void StopLogging() override {}
        ^~~~~~~~~~~
[941/3510] CXX obj/p2p/rtc_p2p/p2p_transport_channel.o
In file included from ../../api/ice_transport_interface.h:19,
                 from ../../p2p/base/p2p_transport_channel.h:41,
                 from ../../p2p/base/p2p_transport_channel.cc:11:
../../api/rtc_event_log/rtc_event_log.h:49:16: 警告: ‘virtual void webrtc::RtcEventLog::StopLogging(std::function<void()>)’ was hidden [-Woverloaded-virtual]
   virtual void StopLogging(std::function<void()> callback) {
                ^~~~~~~~~~~
../../api/rtc_event_log/rtc_event_log.h:63:8: 警告:   by ‘virtual void webrtc::RtcEventLogNull::StopLogging()’ [-Woverloaded-virtual]
   void StopLogging() override {}
        ^~~~~~~~~~~
@jasonmnemonic
Copy link

I do not think you can build directly from master. Try a released version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants