You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I got the following error when I used flatbuffers version 24.3.25 in C++.
Here are the steps to reproduce:
FlatBuffers Schema: Here is the schema (serial_mail.fbs) that reproduces the issue:
namespace SerialMail;
// Define a struct for the 3-byte array
struct Value {
data_0: uint8;
data_1: uint8;
data_2: uint8;
}
// Main table
table SerialMail {
inputs: [Value]; // Vector of raw data
classification: [float]; // List of classifications
classification_active: bool;
channel: bool;
}
root_type SerialMail;
FlatBuffers Compiler: I compiled this schema using the following command:
flatc --cpp serial_mail.fbs
Generated Code: In the generated header (serial_mail_generated.h), the following line of code was produced:
The issue seems to be related to how the namespace and root table are resolved in the generated code.
If this is not a bug, I would appreciate guidance on whether the schema or build process needs adjustment.
Cheers,
Christoph
The text was updated successfully, but these errors were encountered:
Hi,
I got the following error when I used flatbuffers version 24.3.25 in C++.
Here are the steps to reproduce:
This leads to a compilation error:
The issue seems to be related to how the namespace and root table are resolved in the generated code.
If this is not a bug, I would appreciate guidance on whether the schema or build process needs adjustment.
Cheers,
Christoph
The text was updated successfully, but these errors were encountered: