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

Build fails with clang-19: no member named 'data' in 'expected<void, type-parameter-0-0>'; did you mean 'data_'? #2424

Open
yurivict opened this issue Nov 4, 2024 · 0 comments
Labels

Comments

@yurivict
Copy link

yurivict commented Nov 4, 2024

In file included from /wrkdirs/usr/ports/science/arbor/work/arbor-0.10.1/arbor/communication/communicator.cpp:15:
In file included from /wrkdirs/usr/ports/science/arbor/work/arbor-0.10.1/arbor/distributed_context.hpp:14:
In file included from /wrkdirs/usr/ports/science/arbor/work/arbor-0.10.1/arbor/label_resolution.hpp:9:
/wrkdirs/usr/ports/science/arbor/work/arbor-0.10.1/arbor/include/arbor/util/expected.hpp:489:26: error: no member named 'data' in 'expected<void, type-parameter-0-0>'; did you mean 'data_'?
  489 |         data_.swap(other.data);
      |                          ^~~~
      |                          data_
/wrkdirs/usr/ports/science/arbor/work/arbor-0.10.1/arbor/include/arbor/util/expected.hpp:508:15: note: 'data_' declared here
  508 |     data_type data_;
      |               ^

log

Version: 0.10.1
clang-19
FreeBSD 14.1

@yurivict yurivict added the bug label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant