-
Notifications
You must be signed in to change notification settings - Fork 373
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
pinhole.hpp compiler error with std::max #5414
Comments
The problem is that you include |
@Wumpf you are right. It is coming from |
explicitly passing a template parameter can also fix compilation |
…y from windows.h) (#5432) ### What And add a test to ensure we don't run into this again! * Fixes #5414 ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using newly built examples: [app.rerun.io](https://app.rerun.io/pr/5432/index.html) * Using examples from latest `main` build: [app.rerun.io](https://app.rerun.io/pr/5432/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [app.rerun.io](https://app.rerun.io/pr/5432/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)! - [PR Build Summary](https://build.rerun.io/pr/5432) - [Docs preview](https://rerun.io/preview/13b23da339babe01018016fb651da7d8f02e549c/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/13b23da339babe01018016fb651da7d8f02e549c/examples) <!--EXAMPLES-PREVIEW--> - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
went with @nasteyi suggestion and added a test to validate rerun.hpp on our ci for this. Fixed in next release then! |
Describe the bug
Compiler error pointing to std::max function in pinhole.hpp
Compiler errors:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No compiler errors
Desktop (please complete the following information):
Rerun version
0.14.1
Additional context
Workaround is manually patch this line by adding braces:
The text was updated successfully, but these errors were encountered: