-
Notifications
You must be signed in to change notification settings - Fork 417
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
[BUILD] Better handling of OPENTELEMETRY_STL_VERSION under Bazel. #2503
[BUILD] Better handling of OPENTELEMETRY_STL_VERSION under Bazel. #2503
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
|
28ff0d3
to
2d2939a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for the PR :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
Fixes #2470 for Bazel.
Changes
Make Bazel build, by default, use the "current" actual C++ version as
OPENTELEMETRY_STL_VERSION
.Note that some compilers use some "interesting" values for
__cplusplus
when asked to compiler for the most recent version they support. This can result in slightly unexpected results, but might actually be a good thing if those values indicate less than perfect support for the version in question and cause a downgrade to a better supported library.