Skip to content
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

flux: add v0.4.0 version #5276

Merged
merged 2 commits into from
Sep 19, 2024
Merged

flux: add v0.4.0 version #5276

merged 2 commits into from
Sep 19, 2024

Conversation

star-hengxing
Copy link
Contributor

Drop 2023.08.17 version

@star-hengxing
Copy link
Contributor Author

I don't how to filter it.
According to https://github.com/tcbrindle/flux/blob/main/.github/workflows/macos.yml, it should work for llvm >= 16.

/Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:249:42: error: no matching conversion for functional-style cast from 'flux::pred::(lambda at /Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:249:60)' to 'detail::predicate<(lambda at /Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:249:60)>' (aka 'predicate<flux::pred::(lambda at /Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:249:60)>')
FLUX_EXPORT inline constexpr auto even = detail::predicate([](auto const& val) -> bool {
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:132:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'flux::pred::(lambda at /Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:249:60)' to 'const flux::pred::detail::predicate<flux::pred::(lambda at /Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:249:60)>' for 1st argument
struct predicate : Lambda {};
       ^
/Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:132:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'flux::pred::(lambda at /Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:249:60)' to 'flux::pred::detail::predicate<flux::pred::(lambda at /Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:249:60)>' for 1st argument
struct predicate : Lambda {};
       ^
/Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:132:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
/Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:249:60: note: candidate template ignored: could not match 'bool (*)(const type-parameter-0-0 &)' against 'flux::pred::detail::predicate<flux::pred::(lambda at /Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:249:60)>'
FLUX_EXPORT inline constexpr auto even = detail::predicate([](auto const& val) -> bool {
                                                           ^
/Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:253:41: error: no matching conversion for functional-style cast from 'flux::pred::(lambda at /Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:253:59)' to 'detail::predicate<(lambda at /Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:253:59)>' (aka 'predicate<flux::pred::(lambda at /Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:253:59)>')
FLUX_EXPORT inline constexpr auto odd = detail::predicate([](auto const& val) -> bool {
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:[132](https://github.com/xmake-io/xmake-repo/actions/runs/10925796556/job/30328152984?pr=5276#step:4:133):8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'flux::pred::(lambda at /Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:253:59)' to 'const flux::pred::detail::predicate<flux::pred::(lambda at /Users/runner/.xmake/packages/f/flux/v0.4.0/232a49cd48e74206a5aa9d1467104109/include/flux/core/functional.hpp:253:59)>' for 1st argument

@star-hengxing star-hengxing merged commit 5197bdb into dev Sep 19, 2024
62 of 67 checks passed
@star-hengxing star-hengxing deleted the flux branch September 19, 2024 06:45
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.

1 participant