larroy opened a new pull request #15270: Fix warnings in CLang. URL: https://github.com/apache/incubator-mxnet/pull/15270 ## Description ## In file included from ../src/kvstore/kvstore.cc:28: ../src/kvstore/./kvstore_local.h:281:23: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] auto validator = [this](const int key, const NDArray& nd, bool ignore_sparse) -> bool { ^ ../src/kvstore/./kvstore_local.h:326:23: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] auto validator = [this](const int key, const RSPVal& val_rowid, bool ignore_sparse) -> bool { ^ In file included from ../src/c_api/c_api_profile.cc:35: ../src/c_api/../profiler/./profiler.h:1160:8: warning: 'mxnet::profiler::ProfileOperator::start' hides overloaded virtual function [-Woverloaded-virtual] void start(mxnet::Context::DeviceType dev_type, uint32_t dev_id) { ^ ../src/c_api/../profiler/./profiler.h:870:8: note: hidden overloaded virtual function 'mxnet::profiler::ProfileEvent::start' declared here: different number of parameters (0 vs 2) void start() override { ^ ../src/c_api/../profiler/./profiler.h:1212:8: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] [this](OprExecStat *stat) {}, name_.c_str(), dev_type_, dev_id_, ^ See also #14940 ## Checklist ## ### Essentials ### Please feel free to remove inapplicable items for your PR. - [x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant [JIRA issue](https://issues.apache.org/jira/projects/MXNET/issues) created (except PRs with tiny changes) - [x] Changes are complete (i.e. I finished coding on this PR) - [x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services