commit | 1e6aa1f8bf495040452baf43c4fa2ce666a877aa | [log] [tgz] |
---|---|---|
author | Mirko Bonadei <mbonadei@webrtc.org> | Tue Nov 05 16:20:58 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Nov 06 10:26:45 2019 |
tree | b36724d5e2b3b086645acc49f9a824f991ed132b | |
parent | df8fd28d0b02efff0ab7493753928769ae5d74eb [diff] |
Remove RTC_EXPORT from RTCStatsMember<T> template declaration. Starting from [1], explicit template declaration/definition is in use for this template so there is no need to RTC_EXPORT its declaration. Doing so leads to this error on clang-cl: ../../third_party/webrtc\api/stats/rtc_stats.h(372,1): error: explicit instantiation declaration should not be 'dllexport' [-Werror,-Wdllexport-explicit-instantiation-decl] WEBRTC_DECLARE_RTCSTATSMEMBER(bool); ^ ../../third_party/webrtc\api/stats/rtc_stats.h(369,3): note: expanded from macro 'WEBRTC_DECLARE_RTCSTATSMEMBER' extern template class RTC_EXPORT_TEMPLATE_DECLARE(RTC_EXPORT) \ ^ ../../third_party/webrtc\api/stats/rtc_stats.h(287,7): note: attribute is here class RTC_EXPORT RTCStatsMember : public RTCStatsMemberInterface { ^ ../..\third_party/webrtc/rtc_base/system/rtc_export.h(24,31): note: expanded from macro 'RTC_EXPORT' Full log: https://ci.chromium.org/p/chromium/builders/try/win_chromium_compile_dbg_ng/430931 [1] - https://webrtc-review.googlesource.com/c/src/+/158795 Bug: webrtc:9419 Change-Id: I9f0893ae26b45049f186e19f862a1d138a320a24 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/158891 Reviewed-by: Nico Weber <thakis@chromium.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29703}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.