Skip to content

Conversation

StephanTLavavej
Copy link
Member

@StephanTLavavej StephanTLavavej commented Dec 2, 2023

Test coverage will be provided by the upcoming libcxx update, which complained:

mdspan(541,49): error: comparison of integers of different signs: 'index_type' (aka 'unsigned long long') and 'index_type' (aka 'int') [-Werror,-Wsign-compare]

Varying signedness is allowed by WG21-N4964 [mdspan.extents.overview]/1.1 "IndexType is a signed or unsigned integer type".

mdspan(541,49): error: comparison of integers of different signs: 'index_type' (aka 'unsigned long long') and 'index_type' (aka 'int') [-Werror,-Wsign-compare]
@StephanTLavavej StephanTLavavej added the bug Something isn't working label Dec 2, 2023
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner December 2, 2023 00:55
@StephanTLavavej StephanTLavavej added the mdspan C++23 mdspan label Dec 2, 2023
@CaseyCarter CaseyCarter removed their assignment Dec 6, 2023
@StephanTLavavej StephanTLavavej self-assigned this Dec 7, 2023
@StephanTLavavej
Copy link
Member Author

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit d2e0f49 into microsoft:main Dec 7, 2023
@StephanTLavavej StephanTLavavej deleted the mdspan-warnings branch December 7, 2023 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mdspan C++23 mdspan
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants