From 8367664f15c3ea2ee58c67dacf9d630b49466de5 Mon Sep 17 00:00:00 2001 From: Derek Bailey Date: Mon, 22 Aug 2022 21:42:15 -0700 Subject: [PATCH] Flatbuffers Version 2.0.7 (#7462) --- CHANGELOG.md | 22 +++++++++++++++++++ CMake/Version.cmake | 2 +- include/flatbuffers/base.h | 2 +- include/flatbuffers/reflection_generated.h | 2 +- samples/monster_generated.h | 2 +- scripts/generate_code.py | 2 +- tests/MyGame/Example/Ability.lua | 2 +- tests/MyGame/Example/Any.lua | 2 +- tests/MyGame/Example/AnyAmbiguousAliases.lua | 2 +- tests/MyGame/Example/AnyUniqueAliases.lua | 2 +- tests/MyGame/Example/Color.lua | 2 +- tests/MyGame/Example/LongEnum.lua | 2 +- tests/MyGame/Example/Monster.lua | 2 +- tests/MyGame/Example/Race.lua | 2 +- tests/MyGame/Example/Referrable.lua | 2 +- tests/MyGame/Example/Stat.lua | 2 +- tests/MyGame/Example/StructOfStructs.lua | 2 +- .../Example/StructOfStructsOfStructs.lua | 2 +- tests/MyGame/Example/Test.lua | 2 +- .../Example/TestSimpleTableWithEnum.lua | 2 +- tests/MyGame/Example/TypeAliases.lua | 2 +- tests/MyGame/Example/Vec3.lua | 2 +- tests/MyGame/Example2/Monster.lua | 2 +- tests/MyGame/InParentNamespace.lua | 2 +- tests/MyGame/OtherNameSpace/FromInclude.lua | 2 +- tests/MyGame/OtherNameSpace/TableB.lua | 2 +- tests/MyGame/OtherNameSpace/Unused.lua | 2 +- tests/TableA.lua | 2 +- tests/arrays_test_generated.h | 2 +- .../generated_cpp17/monster_test_generated.h | 2 +- .../optional_scalars_generated.h | 2 +- .../generated_cpp17/union_vector_generated.h | 2 +- tests/evolution_test/evolution_v1_generated.h | 2 +- tests/evolution_test/evolution_v2_generated.h | 2 +- tests/monster_extra_generated.h | 2 +- tests/monster_test_bfbs_generated.h | 2 +- tests/monster_test_generated.h | 2 +- .../ext_only/monster_test_generated.hpp | 2 +- .../filesuffix_only/monster_test_suffix.h | 2 +- .../monster_test_suffix.hpp | 2 +- .../namespace_test1_generated.h | 2 +- .../namespace_test2_generated.h | 2 +- tests/native_type_test_generated.h | 2 +- tests/optional_scalars_generated.h | 2 +- tests/union_vector/union_vector_generated.h | 2 +- 45 files changed, 66 insertions(+), 44 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..ffa1baf89 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,22 @@ +# Flatbuffers Change Log + +All major or breaking changes will be documented in this file, as well as any +new features that should be highlighted. Minor fixes or improvements are not +necessarily listed. + +## 2.0.7 (Aug 22 2022) + +* This is the first version with an explicit change log, so all the previous +features will not be listed. + +* Verifier now checks that buffers are at least the minimum size required to be +a flatbuffers (12 bytes). This includes nested flatbuffers, which previously +could be declared valid at size 0. + +* Annotated binaries. Given a flatbuffer binary and a schema (or binary schema) +one can generate an annotated flatbuffer (.afb) to describe each byte in the +binary with schema metadata and value. + +* First binary schema generator (Lua) to generate Lua code via a .bfbs file. +This is mostly an implementation detail of flatc internals, but will be slowly +applied to the other language generators. \ No newline at end of file diff --git a/CMake/Version.cmake b/CMake/Version.cmake index 4825d18ba..a35a1e4e7 100644 --- a/CMake/Version.cmake +++ b/CMake/Version.cmake @@ -1,6 +1,6 @@ set(VERSION_MAJOR 2) set(VERSION_MINOR 0) -set(VERSION_PATCH 6) +set(VERSION_PATCH 7) set(VERSION_COMMIT 0) find_program(GIT git) diff --git a/include/flatbuffers/base.h b/include/flatbuffers/base.h index 57b613f8d..beeb35d60 100644 --- a/include/flatbuffers/base.h +++ b/include/flatbuffers/base.h @@ -140,7 +140,7 @@ #define FLATBUFFERS_VERSION_MAJOR 2 #define FLATBUFFERS_VERSION_MINOR 0 -#define FLATBUFFERS_VERSION_REVISION 6 +#define FLATBUFFERS_VERSION_REVISION 7 #define FLATBUFFERS_STRING_EXPAND(X) #X #define FLATBUFFERS_STRING(X) FLATBUFFERS_STRING_EXPAND(X) namespace flatbuffers { diff --git a/include/flatbuffers/reflection_generated.h b/include/flatbuffers/reflection_generated.h index 1ec414d30..2a4820b2d 100644 --- a/include/flatbuffers/reflection_generated.h +++ b/include/flatbuffers/reflection_generated.h @@ -10,7 +10,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace reflection { diff --git a/samples/monster_generated.h b/samples/monster_generated.h index e881df4b2..366b70fdc 100644 --- a/samples/monster_generated.h +++ b/samples/monster_generated.h @@ -10,7 +10,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace MyGame { diff --git a/scripts/generate_code.py b/scripts/generate_code.py index 93f4c5905..ff2dd1a51 100755 --- a/scripts/generate_code.py +++ b/scripts/generate_code.py @@ -94,7 +94,7 @@ def flatc_reflection(options, location, target): new_reflection_path = Path(reflection_path, temp_dir, target) original_reflection_path = Path(root_path, location, target) if not filecmp.cmp(str(new_reflection_path), str(original_reflection_path)): - shutil.rmtree(str(original_reflection_path)) + shutil.rmtree(str(original_reflection_path), ignore_errors=True) shutil.move(str(new_reflection_path), str(original_reflection_path)) shutil.rmtree(str(Path(reflection_path, temp_dir))) diff --git a/tests/MyGame/Example/Ability.lua b/tests/MyGame/Example/Ability.lua index 870ff81cc..0b1f84e2e 100644 --- a/tests/MyGame/Example/Ability.lua +++ b/tests/MyGame/Example/Ability.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example/Any.lua b/tests/MyGame/Example/Any.lua index 769a224d8..855ab2975 100644 --- a/tests/MyGame/Example/Any.lua +++ b/tests/MyGame/Example/Any.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example/AnyAmbiguousAliases.lua b/tests/MyGame/Example/AnyAmbiguousAliases.lua index c0d34072d..8046a506e 100644 --- a/tests/MyGame/Example/AnyAmbiguousAliases.lua +++ b/tests/MyGame/Example/AnyAmbiguousAliases.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example/AnyUniqueAliases.lua b/tests/MyGame/Example/AnyUniqueAliases.lua index 0042b9357..99a56fd9b 100644 --- a/tests/MyGame/Example/AnyUniqueAliases.lua +++ b/tests/MyGame/Example/AnyUniqueAliases.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example/Color.lua b/tests/MyGame/Example/Color.lua index 1909a1b9f..790adab49 100644 --- a/tests/MyGame/Example/Color.lua +++ b/tests/MyGame/Example/Color.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example/LongEnum.lua b/tests/MyGame/Example/LongEnum.lua index 00fb6790f..329bb31a8 100644 --- a/tests/MyGame/Example/LongEnum.lua +++ b/tests/MyGame/Example/LongEnum.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example/Monster.lua b/tests/MyGame/Example/Monster.lua index 75108e51e..337b7daa0 100644 --- a/tests/MyGame/Example/Monster.lua +++ b/tests/MyGame/Example/Monster.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example/Race.lua b/tests/MyGame/Example/Race.lua index f24187097..53fff6235 100644 --- a/tests/MyGame/Example/Race.lua +++ b/tests/MyGame/Example/Race.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example/Referrable.lua b/tests/MyGame/Example/Referrable.lua index 3bd6b0ac8..2d1940d9a 100644 --- a/tests/MyGame/Example/Referrable.lua +++ b/tests/MyGame/Example/Referrable.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example/Stat.lua b/tests/MyGame/Example/Stat.lua index f621fd0b1..381c17dd5 100644 --- a/tests/MyGame/Example/Stat.lua +++ b/tests/MyGame/Example/Stat.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example/StructOfStructs.lua b/tests/MyGame/Example/StructOfStructs.lua index 7f56b3452..d49b86f5b 100644 --- a/tests/MyGame/Example/StructOfStructs.lua +++ b/tests/MyGame/Example/StructOfStructs.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example/StructOfStructsOfStructs.lua b/tests/MyGame/Example/StructOfStructsOfStructs.lua index a6a51a708..c6ab55d77 100644 --- a/tests/MyGame/Example/StructOfStructsOfStructs.lua +++ b/tests/MyGame/Example/StructOfStructsOfStructs.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example/Test.lua b/tests/MyGame/Example/Test.lua index 63b566cfb..5c51c7968 100644 --- a/tests/MyGame/Example/Test.lua +++ b/tests/MyGame/Example/Test.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example/TestSimpleTableWithEnum.lua b/tests/MyGame/Example/TestSimpleTableWithEnum.lua index 000e6e1e9..11f577dcd 100644 --- a/tests/MyGame/Example/TestSimpleTableWithEnum.lua +++ b/tests/MyGame/Example/TestSimpleTableWithEnum.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example/TypeAliases.lua b/tests/MyGame/Example/TypeAliases.lua index 111ae3e69..5772227f1 100644 --- a/tests/MyGame/Example/TypeAliases.lua +++ b/tests/MyGame/Example/TypeAliases.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example/Vec3.lua b/tests/MyGame/Example/Vec3.lua index ef510513f..1a63db263 100644 --- a/tests/MyGame/Example/Vec3.lua +++ b/tests/MyGame/Example/Vec3.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/Example2/Monster.lua b/tests/MyGame/Example2/Monster.lua index 9c3390489..2892d7f2d 100644 --- a/tests/MyGame/Example2/Monster.lua +++ b/tests/MyGame/Example2/Monster.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/InParentNamespace.lua b/tests/MyGame/InParentNamespace.lua index 8112c257c..2f8b25af8 100644 --- a/tests/MyGame/InParentNamespace.lua +++ b/tests/MyGame/InParentNamespace.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //monster_test.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/OtherNameSpace/FromInclude.lua b/tests/MyGame/OtherNameSpace/FromInclude.lua index 2c2bf0af9..bec342892 100644 --- a/tests/MyGame/OtherNameSpace/FromInclude.lua +++ b/tests/MyGame/OtherNameSpace/FromInclude.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //include_test/sub/include_test2.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/OtherNameSpace/TableB.lua b/tests/MyGame/OtherNameSpace/TableB.lua index bfa8b0335..a42dd03bd 100644 --- a/tests/MyGame/OtherNameSpace/TableB.lua +++ b/tests/MyGame/OtherNameSpace/TableB.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //include_test/sub/include_test2.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/MyGame/OtherNameSpace/Unused.lua b/tests/MyGame/OtherNameSpace/Unused.lua index 276962591..cade32a95 100644 --- a/tests/MyGame/OtherNameSpace/Unused.lua +++ b/tests/MyGame/OtherNameSpace/Unused.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //include_test/sub/include_test2.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/TableA.lua b/tests/TableA.lua index 90b9c9570..37ad68269 100644 --- a/tests/TableA.lua +++ b/tests/TableA.lua @@ -3,7 +3,7 @@ Automatically generated by the FlatBuffers compiler, do not modify. Or modify. I'm a message, not a cop. - flatc version: 2.0.6 + flatc version: 2.0.7 Declared by : //include_test/include_test1.fbs Rooting type : MyGame.Example.Monster (//monster_test.fbs) diff --git a/tests/arrays_test_generated.h b/tests/arrays_test_generated.h index a7204c95c..b73df406e 100644 --- a/tests/arrays_test_generated.h +++ b/tests/arrays_test_generated.h @@ -10,7 +10,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace MyGame { diff --git a/tests/cpp17/generated_cpp17/monster_test_generated.h b/tests/cpp17/generated_cpp17/monster_test_generated.h index af2cc1a0b..6ab9a8d3f 100644 --- a/tests/cpp17/generated_cpp17/monster_test_generated.h +++ b/tests/cpp17/generated_cpp17/monster_test_generated.h @@ -12,7 +12,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace MyGame { diff --git a/tests/cpp17/generated_cpp17/optional_scalars_generated.h b/tests/cpp17/generated_cpp17/optional_scalars_generated.h index 13cf5af87..4c5032b93 100644 --- a/tests/cpp17/generated_cpp17/optional_scalars_generated.h +++ b/tests/cpp17/generated_cpp17/optional_scalars_generated.h @@ -10,7 +10,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace optional_scalars { diff --git a/tests/cpp17/generated_cpp17/union_vector_generated.h b/tests/cpp17/generated_cpp17/union_vector_generated.h index b488c98d9..5c324dd00 100644 --- a/tests/cpp17/generated_cpp17/union_vector_generated.h +++ b/tests/cpp17/generated_cpp17/union_vector_generated.h @@ -10,7 +10,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); struct Attacker; diff --git a/tests/evolution_test/evolution_v1_generated.h b/tests/evolution_test/evolution_v1_generated.h index 67ebaf60f..701e33931 100644 --- a/tests/evolution_test/evolution_v1_generated.h +++ b/tests/evolution_test/evolution_v1_generated.h @@ -10,7 +10,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace Evolution { diff --git a/tests/evolution_test/evolution_v2_generated.h b/tests/evolution_test/evolution_v2_generated.h index 779047da6..8a76cf5dc 100644 --- a/tests/evolution_test/evolution_v2_generated.h +++ b/tests/evolution_test/evolution_v2_generated.h @@ -10,7 +10,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace Evolution { diff --git a/tests/monster_extra_generated.h b/tests/monster_extra_generated.h index b8affa986..31c4f2cad 100644 --- a/tests/monster_extra_generated.h +++ b/tests/monster_extra_generated.h @@ -10,7 +10,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace MyGame { diff --git a/tests/monster_test_bfbs_generated.h b/tests/monster_test_bfbs_generated.h index f93ba8be6..1709d4a92 100644 --- a/tests/monster_test_bfbs_generated.h +++ b/tests/monster_test_bfbs_generated.h @@ -10,7 +10,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace MyGame { diff --git a/tests/monster_test_generated.h b/tests/monster_test_generated.h index 02a7c2865..cdd6047a6 100644 --- a/tests/monster_test_generated.h +++ b/tests/monster_test_generated.h @@ -12,7 +12,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace MyGame { diff --git a/tests/monster_test_suffix/ext_only/monster_test_generated.hpp b/tests/monster_test_suffix/ext_only/monster_test_generated.hpp index 02a7c2865..cdd6047a6 100644 --- a/tests/monster_test_suffix/ext_only/monster_test_generated.hpp +++ b/tests/monster_test_suffix/ext_only/monster_test_generated.hpp @@ -12,7 +12,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace MyGame { diff --git a/tests/monster_test_suffix/filesuffix_only/monster_test_suffix.h b/tests/monster_test_suffix/filesuffix_only/monster_test_suffix.h index 02a7c2865..cdd6047a6 100644 --- a/tests/monster_test_suffix/filesuffix_only/monster_test_suffix.h +++ b/tests/monster_test_suffix/filesuffix_only/monster_test_suffix.h @@ -12,7 +12,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace MyGame { diff --git a/tests/monster_test_suffix/monster_test_suffix.hpp b/tests/monster_test_suffix/monster_test_suffix.hpp index 02a7c2865..cdd6047a6 100644 --- a/tests/monster_test_suffix/monster_test_suffix.hpp +++ b/tests/monster_test_suffix/monster_test_suffix.hpp @@ -12,7 +12,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace MyGame { diff --git a/tests/namespace_test/namespace_test1_generated.h b/tests/namespace_test/namespace_test1_generated.h index ad635149c..a8bbfe4e0 100644 --- a/tests/namespace_test/namespace_test1_generated.h +++ b/tests/namespace_test/namespace_test1_generated.h @@ -10,7 +10,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace NamespaceA { diff --git a/tests/namespace_test/namespace_test2_generated.h b/tests/namespace_test/namespace_test2_generated.h index 903336dfc..2e6400316 100644 --- a/tests/namespace_test/namespace_test2_generated.h +++ b/tests/namespace_test/namespace_test2_generated.h @@ -10,7 +10,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace NamespaceA { diff --git a/tests/native_type_test_generated.h b/tests/native_type_test_generated.h index add274f8d..1b4097651 100644 --- a/tests/native_type_test_generated.h +++ b/tests/native_type_test_generated.h @@ -10,7 +10,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); #include "native_type_test_impl.h" diff --git a/tests/optional_scalars_generated.h b/tests/optional_scalars_generated.h index 5a1075aad..a0a1911c0 100644 --- a/tests/optional_scalars_generated.h +++ b/tests/optional_scalars_generated.h @@ -10,7 +10,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); namespace optional_scalars { diff --git a/tests/union_vector/union_vector_generated.h b/tests/union_vector/union_vector_generated.h index 06281f314..01ee39f20 100644 --- a/tests/union_vector/union_vector_generated.h +++ b/tests/union_vector/union_vector_generated.h @@ -10,7 +10,7 @@ // generated, otherwise it may not be compatible. static_assert(FLATBUFFERS_VERSION_MAJOR == 2 && FLATBUFFERS_VERSION_MINOR == 0 && - FLATBUFFERS_VERSION_REVISION == 6, + FLATBUFFERS_VERSION_REVISION == 7, "Non-compatible flatbuffers version included"); struct Attacker;