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;