Skip to content

Conversation

@NHDaly
Copy link
Member

@NHDaly NHDaly commented Feb 15, 2022

std::vector::size() returns a size_t, so we need to cast the int jl_n_threads to a size_t for the comparison.

@IanButterworth: this addresses the build warning you reported on Slack. Thanks for that! 😊
CC: @vilterp

@IanButterworth
Copy link
Member

Why is CI in such bad shape on this? Perhaps worth a rebase?

@oscardssmith
Copy link
Member

yeah, this branched from a few days ago when everything was broken. A rebase should fix it.

@vchuravy vchuravy added the backport 1.8 Change should be backported to release-1.8 label Feb 16, 2022
@NHDaly NHDaly force-pushed the nhd-build-warning--allocs-profiler branch 2 times, most recently from 3bfc736 to 8d28f62 Compare February 18, 2022 03:33
`std::vector::size()` returns a `size_t`, so we need to cast the int
`jl_n_threads` to a `size_t` for the comparison.
@NHDaly NHDaly force-pushed the nhd-build-warning--allocs-profiler branch from 8d28f62 to 2d684df Compare February 18, 2022 03:34
@NHDaly
Copy link
Member Author

NHDaly commented Feb 18, 2022

Oops, thanks @DilumAluthge for merging in master. i hadn't noticed, and pushed up a rebase.

Please feel free to merge once CI is green - i'll be on vacation for the next 3 weeks 😊

@NHDaly NHDaly merged commit 15dcd5b into master Feb 18, 2022
@NHDaly NHDaly deleted the nhd-build-warning--allocs-profiler branch February 18, 2022 21:25
KristofferC pushed a commit that referenced this pull request Feb 19, 2022
`std::vector::size()` returns a `size_t`, so we need to cast the int
`jl_n_threads` to a `size_t` for the comparison.

(cherry picked from commit 15dcd5b)
@KristofferC KristofferC removed the backport 1.8 Change should be backported to release-1.8 label Feb 24, 2022
staticfloat pushed a commit to JuliaCI/julia-buildkite-testing that referenced this pull request Mar 2, 2022
…ng#44180)

`std::vector::size()` returns a `size_t`, so we need to cast the int
`jl_n_threads` to a `size_t` for the comparison.
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
…ng#44180)

`std::vector::size()` returns a `size_t`, so we need to cast the int
`jl_n_threads` to a `size_t` for the comparison.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants