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?