From b8681d80312f3e96a6093d7208753a97ee962499 Mon Sep 17 00:00:00 2001 From: Wouter van Oortmerssen Date: Wed, 13 May 2015 17:26:20 -0700 Subject: [PATCH] fixed the windows build files --- build/VS2010/flatc.vcxproj | 1 + src/idl_gen_cpp.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/build/VS2010/flatc.vcxproj b/build/VS2010/flatc.vcxproj index faa5c403e..84200a56c 100755 --- a/build/VS2010/flatc.vcxproj +++ b/build/VS2010/flatc.vcxproj @@ -271,6 +271,7 @@ Level4 + diff --git a/src/idl_gen_cpp.cpp b/src/idl_gen_cpp.cpp index 40493ff75..23e3db405 100644 --- a/src/idl_gen_cpp.cpp +++ b/src/idl_gen_cpp.cpp @@ -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;