Ho Cheung
unread,Feb 3, 2023, 3:56:04 AMFeb 3Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium-dev, bruce...@google.com, Ho Cheung, danakj, Chromium-dev, Peter Kasting
In `commit 156e33ceacdb37f223561423bf8f685382079328`, the compiler has new warnings, and the files with the warnings are located in third-party libraries. I think we should fix them too.
../../third_party/skia/src/core/SkPath.cpp(2269,9):
warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture] this->setConvexity(convexity);
^
../../third_party/skia/src/core/SkPath.cpp(2267,34): note: add an explicit capture of 'this' to capture '*this' by reference
auto setComputedConvexity = [=](SkPathConvexity convexity){
^
, this
1 warning generated.
../../third_party/skia/src/core/SkTaskGroup.cpp(27,13):
warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture] fPending. fetch_add(-1, std::memory_order_release);
^
../../third_party/skia/src/core/SkTaskGroup.cpp(25,24): note: add an explicit capture of 'this' to capture '*this' by reference
fExecutor. add([=] {
^
, this
1 warning generated.
../../third_party/angle/src/compiler/translator/Compiler.cpp(1226,44):
warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture ] static_cast<const TVariable *>(mSymbolTable.findBuiltIn(name, getShaderVersion()));
^
../../third_party/angle/src/compiler/translator/Compiler.cpp(1220,28): note: add an explicit capture of 'this' to capture '*this' by reference
auto resizeVariable = [=](const ImmutableString &name, uint32_t size, uint32_t maxSize) {
^
, this
1 warning generated.