Compiler Warnings: Unused Lamba Captures #3328
Labels
good first issue
Indicates a good issue for first-time contributors
help wanted
Indicates an issue where help and/or a pull request from the community would be very welcome
Description of Issue
Clang (16 for me from Xcode 16, but will reproduce elsewhere) warns that several lambdas do not use their captured inputs.
This is potentially due to a capture difference between MSVC and Clang/GCC (see https://stackoverflow.com/questions/52416362/unused-lambda-capture-warning-when-capture-is-actually-used) but if that's the case it would be great to leave a comment , and potentially suppress the warnings.
Either way, I think it's a great first issue for someone to get to grips with building USD on Windows (where you can also get Clang) and get familiar with the codebase. I am building with
python3 ./build_scripts/build_usd.py ~/Downloads/usd --build-variant debug --no-imaging -vvv
.Warnings replicated below:
The text was updated successfully, but these errors were encountered: