Closed ahsonkhan closed 1 month ago
API change check
APIView has identified API level changes in this PR and created following API reviews.
Closing this in favor of https://github.com/Azure/azure-sdk-for-cpp/pull/6067
We discussed offline, and landed on keeping the compiler_definitions and ifdef to see what type of data we get, before revisiting the simplification.
Related to https://github.com/Azure/azure-sdk-for-cpp/pull/6067 and https://github.com/Azure/azure-sdk-for-cpp/pull/5662
1) Fixes issue on Windows/MSVC where the value of
__cplusplus
doesn't update (this only fixes SDK source, since that's where our compile options are used). Previously, on MSVC, we'd be getting skewed results with value199711L
. https://learn.microsoft.com/en-us/cpp/build/reference/zc-cplusplus?view=msvc-170 2) Rather than having friend classes, and different telemetry values for samples/tests/SDK sources, use the same__cplusplus
value across the board 3) TODO: Cleanup unnecessary compile definitions within CMakeLists.txt after offline discussion on whether there is enough value for that differentiation for it to be worth the cost. We could evaluate other alternatives to differentiate between end customer usage and SDK/CI builds.