-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[benchmark] build for QNX failure. Patch suggestion #35510
Comments
Needs to get rid of |
No. The source code is expected to be built with |
This is a reasonable expectation for controlled environments, and a reasonable default for developers and CI. |
True. But it also gives some guarantees that the code will work as expected (not that important for C-style casts, but is important for many other warnings). I prefer potentially not compilable, but more correct code to a code that compiles, but God knows if it works correctly. Though, I don't have a say in this project. |
I think it's google-benchmark's choice if they want to support being built with
If people unfamiliar with the code are making changes, that makes it more likely to be issues, not less. |
Operating system
host: Ubuntu20.04 cross-compiling target: QNX710
Compiler
ntoaarch64-g++ from QNX SDP 710
Steps to reproduce the behavior
Failure logs
Additional context
Upstream bug report at google/benchmark#1707
Patch suggestion:
This patch fixes the issue and
benchmark
builds and operates as expected.The text was updated successfully, but these errors were encountered: