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

[package] flatbuffers/1.12.0 Not building on ARM + clang-19 #25601

Open
HazyMrf opened this issue Oct 12, 2024 · 0 comments · May be fixed by #25607
Open

[package] flatbuffers/1.12.0 Not building on ARM + clang-19 #25601

HazyMrf opened this issue Oct 12, 2024 · 0 comments · May be fixed by #25607
Labels
bug Something isn't working

Comments

@HazyMrf
Copy link

HazyMrf commented Oct 12, 2024

Description

I encountered the same bug as described in google/flatbuffers#6036, it was fixed back then here -- google/flatbuffers@82fac32, but not for 1.12 version

Package and Environment Details

  • Package Name/Version: flatbuffers/1.12.0
  • Operating System+version: macOS Sonoma 14.3
  • Compiler+version: clang-19
  • Conan version: conan 1.65.0

Conan profile

[settings]
os=Macos
os_build=Macos
arch=armv8
arch_build=armv8
compiler=apple-clang
compiler.version=19
compiler.libcxx=libc++
build_type=Release
[options]
[conf]
[build_requires]
[env]

Steps to reproduce

just build flatbuffers from source using clang++-19 on MacOS -- this is what Conan package does.

The patch is pretty easy, I can even do this myself

Logs

error: overload resolution selected deleted operator '='
1875 | buf_ = other.buf_;
| ~~~~ ^ ~~~~~~~~~~
note: candidate function has been explicitly deleted
1002 | FLATBUFFERS_DELETE_FUNC(vector_downward &operator=(const vector_downward &))
| ^
note: candidate function not viable: expects an rvalue for 1st argument
834 | vector_downward &operator=(vector_downward &&other) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant