mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
Started to migrate to target_compile_options (#7222)
* Started to migrate to target_compile_options * combined compile options together. Added Mac CI builds * remove arm build (not supported). Fixed old-style-casts * moved to using a ProjectConfig interface library to specify options * remove the explicit CMAKE_CXX_STANDARD
This commit is contained in:
@@ -46,7 +46,8 @@ int main(int /*argc*/, const char * /*argv*/[]) {
|
||||
|
||||
// inizialize parser by deserializing bfbs schema
|
||||
flatbuffers::Parser parser2;
|
||||
ok = parser2.Deserialize((uint8_t *)bfbs_file.c_str(), bfbs_file.length());
|
||||
ok = parser2.Deserialize(reinterpret_cast<const uint8_t *>(bfbs_file.c_str()),
|
||||
bfbs_file.length());
|
||||
assert(ok);
|
||||
|
||||
// parse json in parser from fbs and bfbs
|
||||
|
||||
Reference in New Issue
Block a user