Package Details: flatbuffers-static 1.10.0-1

Git Clone URL: https://aur.archlinux.org/flatbuffers-static.git (read-only)
Package Base: flatbuffers-static
Description: An efficient cross platform serialization library for C++, with support for Java, C# and Go
Upstream URL: http://google.github.io/flatbuffers/
Licenses: Apache
Conflicts: flatbuffers
Provides: flatbuffers
Submitter: thrasibule
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 1
Popularity: 0.087102
First Submitted: 2018-04-05 19:33
Last Updated: 2018-10-04 20:05

Required by (7)

Sources (1)

Latest Comments

thrasibule commented on 2018-06-25 13:43

Thanks @halving, this is the right fix, I've pushed an update. I'm not updating it to 1.9 yet because the static version is required by arrow, and the latest released version of arrow is not compatible with flatbuffers 1.9.0 yet.

halving commented on 2018-06-25 13:28

Got the build working with the current version (1.8.0-1) by adding "-DCMAKE_CXX_FLAGS="-Wno-ignored-qualifiers" \" to the PKGBUILD build() flags. Don't know if that was the "right" way to fix this though.

arch_nomad commented on 2018-06-20 20:37

I'm getting the following error:

Is this related to it being outdated?

In member function ‘flatbuffers::CheckedError flatbuffers::Parser::ParseHexNum(int, uint64_t*)’:
/tmp/packerbuild-1001/flatbuffers-static/flatbuffers-static/src/flatbuffers-1.8.0/src/idl_parser.cpp:220:62: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
     if (!isxdigit(static_cast<const unsigned char>(cursor_[i])))
                                                              ^
/tmp/packerbuild-1001/flatbuffers-static/flatbuffers-static/src/flatbuffers-1.8.0/src/idl_parser.cpp: In member function ‘flatbuffers::CheckedError flatbuffers::Parser::Next()’:
/tmp/packerbuild-1001/flatbuffers-static/flatbuffers-static/src/flatbuffers-1.8.0/src/idl_parser.cpp:260:62: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
         if(!isdigit(static_cast<const unsigned char>(*cursor_))) return NoError();
                                                              ^
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/flatc.dir/build.make:76: CMakeFiles/flatc.dir/src/idl_parser.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/flatc.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().