Skip to content

clang-17 overflow warning #5743

Open
Open

Description

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)))));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Azure.CoreClientThis issue points to a problem in the data-plane of the library.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions