Skip to content

Fix building the tests with clang#1144

Merged
equalsraf merged 1 commit intoequalsraf:masterfrom
heirecka:fix-build-with-clang
Nov 9, 2025
Merged

Fix building the tests with clang#1144
equalsraf merged 1 commit intoequalsraf:masterfrom
heirecka:fix-build-with-clang

Conversation

@heirecka
Copy link
Contributor

@heirecka heirecka commented Nov 8, 2025

Clang (I only tested with versions >= 18) complains about narrowing from long long int (qsizetype) to int on my platform. gcc accepts it, but issues a warning. So just use qsizetype instead of int as type of the variable as well.

@heirecka
Copy link
Contributor Author

heirecka commented Nov 8, 2025

The CI errors our because of newer cmake, this MR should address it.

Clang (I only tested with versions >= 18) complains about narrowing
from long long int (qsizetype) to int on my platform. gcc accepts it,
but issues a warning. So just use qsizetype instead of int as type of
the variable as well.
@heirecka heirecka force-pushed the fix-build-with-clang branch from 7795d72 to be65faa Compare November 9, 2025 15:21
@equalsraf equalsraf merged commit 76cc138 into equalsraf:master Nov 9, 2025
16 of 17 checks passed
@heirecka heirecka deleted the fix-build-with-clang branch November 10, 2025 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants