-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
-Wsign-conversion warning with Clang10 on Windows #1747
Comments
Which {fmt} version? |
{fmt} >= 6.2.1 |
Line 569 in 5de62af
|
https://docs.microsoft.com/en-us/cpp/standard-library/checked-array-iterator-class?view=vs-2019#op_add takes a stdext::checked_array_iterator<T*>::difference_type as argument to operator +. |
0x8000-0000
added a commit
to 0x8000-0000/fmt
that referenced
this issue
Jul 2, 2020
0x8000-0000
added a commit
to 0x8000-0000/fmt
that referenced
this issue
Jul 3, 2020
vitaut
pushed a commit
that referenced
this issue
Jul 3, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
include\fmt/format.h(560,71): error: implicit conversion changes signedness: 'std::size_t' (aka 'unsigned long long') to 'stdext::checked_array_iterator<char *>::difference_type' (aka 'long long') [-Werror,-Wsign-conversion]
std::uninitialized_copy(begin, end, make_checked(ptr_, capacity_) + size_);
The text was updated successfully, but these errors were encountered: