../../extensions/browser/api/socket/socket_api.cc(799,37): error: expected unqualified-id
for (const net::NetworkInterface& interface : interface_list) {
^
E:\b\depot_tools\win_toolchain\vs_files\95ddda401ec5678f15eeed01d2bee08fcbc5ee97\win_sdk\bin\..\..\win_sdk\Include\10.0.10586.0\um\combaseapi.h(193,19): note: expanded from macro 'interface'
#define interface __STRUCT__
^
E:\b\depot_tools\win_toolchain\vs_files\95ddda401ec5678f15eeed01d2bee08fcbc5ee97\win_sdk\bin\..\..\win_sdk\Include\10.0.10586.0\um\combaseapi.h(192,20): note: expanded from macro '__STRUCT__'
#define __STRUCT__ struct
^
../../extensions/browser/api/socket/socket_api.cc(807,3): error: expected ';' in 'for' statement specifier
results_ = api::socket::GetNetworkList::Results::Create(create_arg);
^
../../extensions/browser/api/socket/socket_api.cc(807,12): error: using the result of an assignment as a condition without parentheses [-Werror,-Wparentheses]
results_ = api::socket::GetNetworkList::Results::Create(create_arg);
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../extensions/browser/api/socket/socket_api.cc(807,12): note: place parentheses around the assignment to silence this warning
results_ = api::socket::GetNetworkList::Results::Create(create_arg);
^
( )
../../extensions/browser/api/socket/socket_api.cc(807,12): note: use '==' to turn this assignment into an equality comparison
results_ = api::socket::GetNetworkList::Results::Create(create_arg);
^
==
../../extensions/browser/api/socket/socket_api.cc(808,21): error: expected ')'
SendResponse(true);
^
../../extensions/browser/api/socket/socket_api.cc(799,7): note: to match this '('
for (const net::NetworkInterface& interface : interface_list) {
^
4 errors generated.
What's your CL?
Did you add a new header which is now being transitively included into that file? Like a COM header in the UI code?
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
Here's the CL: https://codereview.chromium.org/1924613002/I don't think I added a new COM header...