they are mostly the same, other than the output warnings
r5850 generates 'clang' warning in 2 file if preprocessor _WIN32 is not removed
r6340 r6355 always generate 1 'clang' warning in 'stream.h'
r6125 generates 'clang' warning in 7 different files
also sometime i ran into unresolved external symbol PeerConnectionFactoryInterface, AudioDecoderFactory, AudioEncoderFactory, but i don't know why since gn args preprocessor and libs did not change
currently the main.cpp generatess 2-5 link errors, if i compile the peerconnection connection example i get ~40 link error
for mingw
no matter what branch or preprocessor i always get
src/rtc_base/system/rtc_export_template.h:188:37: error: expected primary-expression before '__attribute__'
188 | RTC_EXPORT_TEMPLATE_TEST(MSVC_HACK, __declspec(dllexport));
|
src/rtc_base/system/rtc_export_template.h:103:49: error: expected primary-expression before ')' token
103 | RTC_EXPORT_TEMPLATE_##which##_##style(export, )
| ^
src/rtc_base/system/rtc_export_template.h:103:3: error: 'RTC_EXPORT_TEMPLATE_TEST_MSVC_HACK_DEFAULT' was not declared in this scope; did you mean 'RTC_EXPORT_TEMPLATE_DECLARE_DEFAULT'?
103 | RTC_EXPORT_TEMPLATE_##which##_##style(export, )
| ^~~~~~~~~~~~~~~~~~~~
and some other preprocessors i removed (since they do
and some other preprocessors i removed (since they dont do anything thing)
COMPILER_GCC __MINGW64__ COMPILER_MSVC _WIN32 _DEBUG ABSL_ALLOCATOR_NOTHROW=1 CERT_CHAIN_PARA_HAS_EXTRA_F COMPILER_GCC COMPILER_MSVC DYNAMIC_ANNOTATIONS_ENABLED HAVE_SCTP NDEBUG NOMINMAX NTDDI_VERSION=NTDDI_WIN10_R NVALGRIND PSAPI_VERSION=2 RTC_ENABLE_VP9 UNICODE USE_AURA=1 WEBRTC_ENABLE_PROTOBUF=0 WEBRTC_INCLUDE_INTERNAL_AUD WEBRTC_LIBRARY_IMPL WEBRTC_NON_STATIC_TRACE_EVE WEBRTC_VIDEO_CAPTURE_WINRT WEBRTC_WIN WIN10=_WIN32_WINNT_WIN10 WIN32 WIN32_LEAN_AND_MEAN WINAPI_FAMILY=WINAPI_FAMILY WINUWP WINVER=0x0A00 _ATL_NO_OPENGL _CRT_RAND_S _CRT_SECURE_NO_DEPRECATE _CRT_SECURE_NO_WARNINGS _DEBUG _HAS_EXCEPTIONS=0 _HAS_ITERATOR_DEBUGGING=0 _ITERATOR_DEBUG_LEVEL=0 _SCL_SECURE_NO_DEPRECATE _SECURE_ATL _UNICODE _WIN32 _WIN32_WINNT=0x0A00 _WINDOWS __MINGW64__ __STD_C __WRL_NO_DEFAULT_LIB__