-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[azure-core-cpp] Fix gcc13 compilation error #34393
Conversation
@LarryOsterman FYI |
Due to the way that the Azure SDK for C++ publishes its packages, all changes made to the vcpkg repository will be discarded when the Azure SDK for C++ is next released. As such, making changes to fix issues in the vcpkg repository are always ephemeral and should probably be avoided. The Azure SDK is located at https://github.com/Azure/azure-sdk-for-cpp and we welcome community contributions like this one. FWIW, we currently have an outstanding issue regarding this specific change: Azure/azure-sdk-for-cpp#5007. |
Okay, then I will mark this PR as draft, wait for you to fix it, and then update it. |
So I took a look at the issue. The base64.hpp file already includes The version of cstdint on my machine (in /usr/include/x86_64-linux-gnu/c++/11) does include stdint.h. Are you using a different C++ runtime library? EDIT: I think I figured it out. cstdint only defines the |
Right, |
What complicates this is that many (most?) implementations of cstdint include stdint.h (including the version of the CRT used in our CI pipelines). The version of cstdint that the reporters are using do not. That is why even after selecting clang-13 (and clang-15) we didn't see a problem. |
Can you fix merge conflicts? And I think we can use the upstream patch since it merged |
OK, I'll resolve the merge conflict and fix it with the upstream patch. |
Fixes #34272
/vcpkg/buildtrees/azure-core-cpp/src/ore_1.10.2-d563a045e8.clean/_/_/_/inc/azure/core/base64.hpp:42:55: error: ‘uint8_t’ was not declared in this scope
Add
stdint.h
header file, fixed via PR 5031 upstream.SHA512s are updated for each updated downloadThe "supports" clause reflects platforms that may be fixed by this new versionAny fixed CI baseline entries are removed from that file.Any patches that are no longer applied are deleted from the port's directory../vcpkg x-add-version --all
and committing the result.Usage test pass with following triplets: