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
Superfluous semicolons trigger -Wextra-semi-stmt in clang 8.0.0 from C++ compiler on 1.11.0 #5482
Comments
Thank you for the report. flatbuffers/src/idl_gen_cpp.cpp Lines 2607 to 2611 in acc9990
Care to make a PR for this? |
Thanks for pointing me to the right line of code. Done |
wesm
added a commit
to wesm/arrow
that referenced
this issue
Aug 16, 2019
…8 to work around Flatbuffers bug, suppress other new LLVM 8 warnings LLVM 8 introduces `-Wextra-semi-stmt` and Flatbuffers generates code with superfluous semicolons (upstream bug report google/flatbuffers#5482). This is breaking our macOS builds for the last few hours because conda-forge upgraded their compiler toolchain from Apple clang 4.0.1 to clang 8.0.0 this afternoon. Closes apache#5096 from wesm/ARROW-6259 and squashes the following commits: 96cbba9 <Wes McKinney> Suppress -Wshadow-field and -Wc++2a-compat also 686339c <Wes McKinney> Add -Wno-extra-semi-stmt when compiling with clang 8 to work around Flatbuffers bug Authored-by: Wes McKinney <wesm+git@apache.org> Signed-off-by: Wes McKinney <wesm+git@apache.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version 1.11.0 generates code like
This causes such warnings as
https://travis-ci.org/apache/arrow/jobs/572381802#L2864
Here's the Flatbuffers file that the above generated code originated from
https://github.com/apache/arrow/blob/master/cpp/src/plasma/format/common.fbs
The text was updated successfully, but these errors were encountered: