-
Notifications
You must be signed in to change notification settings - Fork 607
executorch/examples/portable/custom_ops/custom_ops_2_out.cpp: fix llvm-17-exposed format mismatches #6368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/6368
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit b787f2f with merge base c7a3c3f ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D64656845 |
…m-17-exposed format mismatches (pytorch#6368) Summary: This avoids the following errors: executorch/examples/portable/custom_ops/custom_ops_2_out.cpp:23:7: error: format specifies type 'char' but the argument has type 'ScalarType' [-Werror,-Wformat] executorch/examples/portable/custom_ops/custom_ops_2_out.cpp:27:7: error: format specifies type 'char' but the argument has type 'ScalarType' [-Werror,-Wformat] Differential Revision: D64656845
915827f
to
d9462c3
Compare
This pull request was exported from Phabricator. Differential Revision: D64656845 |
…m-17-exposed format mismatches (pytorch#6368) Summary: This avoids the following errors: executorch/examples/portable/custom_ops/custom_ops_2_out.cpp:23:7: error: format specifies type 'char' but the argument has type 'ScalarType' [-Werror,-Wformat] executorch/examples/portable/custom_ops/custom_ops_2_out.cpp:27:7: error: format specifies type 'char' but the argument has type 'ScalarType' [-Werror,-Wformat] Also, change the format to %d and the cast to match -- perhaps a little more future-safe. Differential Revision: D64656845
d9462c3
to
c0b539b
Compare
This pull request was exported from Phabricator. Differential Revision: D64656845 |
…m-17-exposed format mismatches (pytorch#6368) Summary: This avoids the following errors: executorch/examples/portable/custom_ops/custom_ops_2_out.cpp:23:7: error: format specifies type 'char' but the argument has type 'ScalarType' [-Werror,-Wformat] executorch/examples/portable/custom_ops/custom_ops_2_out.cpp:27:7: error: format specifies type 'char' but the argument has type 'ScalarType' [-Werror,-Wformat] Also, change the format to %d and the cast to match -- perhaps a little more future-safe. Differential Revision: D64656845
c0b539b
to
2fedd71
Compare
This pull request was exported from Phabricator. Differential Revision: D64656845 |
…m-17-exposed format mismatches (pytorch#6368) Summary: This avoids the following errors: executorch/examples/portable/custom_ops/custom_ops_2_out.cpp:23:7: error: format specifies type 'char' but the argument has type 'ScalarType' [-Werror,-Wformat] executorch/examples/portable/custom_ops/custom_ops_2_out.cpp:27:7: error: format specifies type 'char' but the argument has type 'ScalarType' [-Werror,-Wformat] Also, change the format to %d and the cast to match -- perhaps a little more future-safe. Differential Revision: D64656845
2fedd71
to
b787f2f
Compare
This pull request was exported from Phabricator. Differential Revision: D64656845 |
Summary:
This avoids the following errors:
executorch/examples/portable/custom_ops/custom_ops_2_out.cpp:23:7: error: format specifies type 'char' but the argument has type 'ScalarType' [-Werror,-Wformat]
executorch/examples/portable/custom_ops/custom_ops_2_out.cpp:27:7: error: format specifies type 'char' but the argument has type 'ScalarType' [-Werror,-Wformat]
Differential Revision: D64656845