Skip to content
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

clang-17 overflow warning #5743

Open
ahojnnes opened this issue Jun 24, 2024 · 4 comments
Open

clang-17 overflow warning #5743

ahojnnes opened this issue Jun 24, 2024 · 4 comments
Assignees
Labels
Azure.Core Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@ahojnnes
Copy link
Contributor

clang-17 warns about the following:

azure_sdk/sdk/core/azure-core/src/datetime.cpp:55:61: warning: overflow in expression; result is -9223372036854775799 with type 'long' [-Winteger-overflow]
   systemClockMax + (std::min)(systemClockEpoch, (repMax - systemClockMax)))));
@github-actions github-actions bot added Azure.Core Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jun 24, 2024
Copy link

Thank you for your feedback. Tagging and routing to the team member best able to assist.

@gearama
Copy link
Member

gearama commented Aug 5, 2024

Hello @ahojnnes, thank you for the issue report.
I had some issues reproducing the error. can you please provide the command and configuration used when getting this warning?

@gearama
Copy link
Member

gearama commented Aug 7, 2024

Need more information from the customer , it did not repro locally with WSL Ubuntu24.04 clang 17

@RickWinter RickWinter added this to the 2024-10 milestone Aug 9, 2024
@RickWinter RickWinter modified the milestones: 2024-10, 2025-02 Dec 2, 2024
@aarons-s1
Copy link

i also get this issue using mac ARM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

4 participants