-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
hidden random build dep on abseil-cpp ? #6822
Comments
rouault
added a commit
to rouault/flatbuffers
that referenced
this issue
Feb 11, 2023
If flatbuffers is built in C++11 mode, but there is a recent version of absl which requires C++14, the build will fail. This commit adds a FLATBUFFERS_DO_NOT_USE_ABSL that the user can set to ask not to use absl headers. Cf MapServer/MapServer#6822 for the use case that triggered this.
Attempt at fixing that in FlatBuffers upstream: google/flatbuffers#7824 |
that's another possible fix, thanks @rouault |
rouault
added a commit
to rouault/flatbuffers
that referenced
this issue
Feb 15, 2023
If flatbuffers is built in C++11 mode, but there is a recent version of absl which requires C++14, the build will fail. Cf MapServer/MapServer#6822 for the use case that triggered this.
dbaileychess
pushed a commit
to google/flatbuffers
that referenced
this issue
Feb 15, 2023
If flatbuffers is built in C++11 mode, but there is a recent version of absl which requires C++14, the build will fail. Cf MapServer/MapServer#6822 for the use case that triggered this.
rouault
added a commit
that referenced
this issue
Feb 16, 2023
Fix build issue when abseil-cpp is present (fixes #6822)
github-actions bot
pushed a commit
that referenced
this issue
Feb 16, 2023
Port of upstream fix in google/flatbuffers#7824
jmckenna
pushed a commit
that referenced
this issue
Feb 16, 2023
Port of upstream fix in google/flatbuffers#7824 Co-authored-by: Even Rouault <even.rouault@spatialys.com>
dbaileychess
pushed a commit
to google/flatbuffers
that referenced
this issue
Mar 15, 2023
If flatbuffers is built in C++11 mode, but there is a recent version of absl which requires C++14, the build will fail. Cf MapServer/MapServer#6822 for the use case that triggered this.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
support for flatgeobuf added in #6520 adds an undefined build behaviour depending wether abseil-cpp is installed here:
MapServer/flatgeobuf/include/flatbuffers/base.h
Line 218 in 6da3b29
if built with C++11 (the default ?) and clang 13 (default compiler on OpenBSD) and a recent version of abseil-cpp happens to be installed, the build will fail because abseil-cpp insists on c++14.
Cf https://marc.info/?t=167567663600006&r=1&w=2 for the reasoning..
The text was updated successfully, but these errors were encountered: