mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-03 03:52:26 +00:00
fixed the windows build files
This commit is contained in:
@@ -271,6 +271,7 @@
|
|||||||
<ClCompile Include="..\..\src\idl_gen_go.cpp">
|
<ClCompile Include="..\..\src\idl_gen_go.cpp">
|
||||||
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level4</WarningLevel>
|
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level4</WarningLevel>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\idl_gen_python.cpp" />
|
||||||
<ClCompile Include="..\..\src\idl_parser.cpp" />
|
<ClCompile Include="..\..\src\idl_parser.cpp" />
|
||||||
<ClCompile Include="..\..\src\idl_gen_cpp.cpp" />
|
<ClCompile Include="..\..\src\idl_gen_cpp.cpp" />
|
||||||
<ClCompile Include="..\..\src\idl_gen_text.cpp" />
|
<ClCompile Include="..\..\src\idl_gen_text.cpp" />
|
||||||
|
|||||||
@@ -275,6 +275,7 @@ static void GenTable(const Parser &parser, StructDef &struct_def,
|
|||||||
nested->constant);
|
nested->constant);
|
||||||
auto nested_root = parser.structs_.Lookup(qualified_name);
|
auto nested_root = parser.structs_.Lookup(qualified_name);
|
||||||
assert(nested_root); // Guaranteed to exist by parser.
|
assert(nested_root); // Guaranteed to exist by parser.
|
||||||
|
(void)nested_root;
|
||||||
std::string cpp_qualified_name = TranslateNameSpace(qualified_name);
|
std::string cpp_qualified_name = TranslateNameSpace(qualified_name);
|
||||||
|
|
||||||
code += " const " + cpp_qualified_name + " *" + field.name;
|
code += " const " + cpp_qualified_name + " *" + field.name;
|
||||||
|
|||||||
Reference in New Issue
Block a user