Skip to content

A false Android CLang 20 warning #21

@dmitriano

Description

@dmitriano

/Users/admin/dev/repos/Awl/Tests/ClangFalseWarningTest.cpp:40:32: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
40 | for_each(val, [this](auto& field)
| ^
/Users/admin/dev/repos/Awl/Tests/ClangFalseWarningTest.cpp:62:12: note: in instantiation of function template specialization '(anonymous namespace)::TestReader::ReadV<std::tuple>' requested here
62 | reader.ReadV(a);
| ^
1 warning generated.
[59/59] Linking CXX executable AwlTest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions