fixed the windows build files

This commit is contained in:
Wouter van Oortmerssen 2015-05-13 17:26:20 -07:00
parent f8139b05cb
commit b8681d8031
2 changed files with 2 additions and 0 deletions

View File

@ -271,6 +271,7 @@
<ClCompile Include="..\..\src\idl_gen_go.cpp">
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level4</WarningLevel>
</ClCompile>
<ClCompile Include="..\..\src\idl_gen_python.cpp" />
<ClCompile Include="..\..\src\idl_parser.cpp" />
<ClCompile Include="..\..\src\idl_gen_cpp.cpp" />
<ClCompile Include="..\..\src\idl_gen_text.cpp" />

View File

@ -275,6 +275,7 @@ static void GenTable(const Parser &parser, StructDef &struct_def,
nested->constant);
auto nested_root = parser.structs_.Lookup(qualified_name);
assert(nested_root); // Guaranteed to exist by parser.
(void)nested_root;
std::string cpp_qualified_name = TranslateNameSpace(qualified_name);
code += " const " + cpp_qualified_name + " *" + field.name;