From ec8a5c71cbcc09e820d4d4d2e212b8d1b4f418b8 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 15 Dec 2015 14:33:20 +0000 Subject: [PATCH] Fixes for Octave and missing -Wmissing-field-initializers in swig_octave_member --- Source/Modules/octave.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Modules/octave.cxx b/Source/Modules/octave.cxx index 0e3e16cbb..fcbdb97e2 100644 --- a/Source/Modules/octave.cxx +++ b/Source/Modules/octave.cxx @@ -234,7 +234,7 @@ public: } Printf(f_init, "return true;\n}\n"); - Printf(s_global_tab, "{0,0,0,0,0}\n};\n"); + Printf(s_global_tab, "{0,0,0,0,0,0}\n};\n"); Printv(f_wrappers, s_global_tab, NIL); SwigType_emit_type_table(f_runtime, f_wrappers); @@ -998,7 +998,7 @@ public: Delete(cnameshdw); } - Printf(s_members_tab, "{0,0,0,0}\n};\n"); + Printf(s_members_tab, "{0,0,0,0,0,0}\n};\n"); Printv(f_wrappers, s_members_tab, NIL); String *base_class_names = NewString("");