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
Opened by daquexian (daquexian) - Wednesday, 15 August 2018, 06:22 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 26 August 2018, 06:41 GMT
|
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. |
This task depends upon
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.