Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#59666 - [flatbuffers] generated header files don't compile

Attached to Project: Community Packages
Opened by daquexian (daquexian) - Wednesday, 15 August 2018, 06:22 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 26 August 2018, 06:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I installed flatbuffers from the arch repo. But the generated header file doesn't compile.

The error is as following:

error: no matching function for call to ‘flatbuffers::Verifier::Verify(const flatbuffers::Vector<signed char>*)

And it compiles correctly after I cloned the master branch(https://github.com/google/flatbuffers/commit/c721009491dc8275052cf33f7334e015ed737927) of flatbuffers and re-installed.

Steps to reproduce:

1. Install flatbuffers from arch repo
2. Run "flatc --cpp --scoped-enums <the_file_in_attachment>"
3. Compile a project with the generated header.
   daq.fbs (1.4 KiB)
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 26 August 2018, 06:41 GMT
Reason for closing:  No response
Comment by Antonio Rojas (arojas) - Saturday, 18 August 2018, 08:28 GMT
Can't reproduce. Please post a full test case using the generated header.

Loading...