error: declaration shadows a variable in namespace 'blink'

50 views
Skip to first unread message

Andrew

unread,
Oct 14, 2020, 3:29:24 AM10/14/20
to Chromium-discuss
I get this error when building a Chrome from scratch on a Mac 10.14.5

../../third_party/blink/renderer/core/svg/animation/smil_time_container.cc:68:5: error: declaration shadows a variable in namespace 'blink' [-Werror,-Wshadow]
    kNormal,
    ^
[path]/src/out/Default/../../third_party/blink/renderer/core/style/shadow_data.h:36:20: note: previous declaration is here
enum ShadowStyle { kNormal, kInset };
                   ^
1 error generated.

I have followed all instructions on the Mac build instructions README, but am still getting this issue. I've built Chrome from scratch multiple times on a Linux machine without issues, but when trying to build from scratch on a Mac, I run into the above error.

How can I resolve this error? 

Adam Rice

unread,
Oct 14, 2020, 8:45:48 PM10/14/20
to awc...@gmail.com, Chromium-discuss
This is https://crbug.com/1138438. If you sync to the tip of tree you should find it is fixed.

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

Reply all
Reply to author
Forward
0 new messages