-
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
[CI] Misc build scripts cleanup #2232
Conversation
Codecov Report
|
Ready for review. |
if(BUILD_TESTING) | ||
if(MSVC) | ||
# Warning as error: warning STL4036: <ciso646> is removed in C++20 | ||
add_compile_options(/wd4996) |
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.
Why is this option no longer needed?
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.
The opentelemetry-cpp code does not even include header ciso464, and the build passes in maintainer mode on windows without the option, even when tests are compiled, with the dependency in GTest.
PR#2114 added this, but I think it was not needed.
This fix corrects it, and resolves your comment:
https://github.com/open-telemetry/opentelemetry-cpp/pull/2114/files#r1260156709
Changes
Misc cleanup in build scripts:
/wd4996
on windows.For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes