diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2015-12-15 14:33:20 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2015-12-19 16:21:22 +0000 |
commit | ec8a5c71cbcc09e820d4d4d2e212b8d1b4f418b8 (patch) | |
tree | c1c579b73aaaa931f1a93c29e882bd9099173bcc | |
parent | 4f2dcfaeeb32b22af3424c5b7a4cd2847b7875f5 (diff) | |
download | swig-ec8a5c71cbcc09e820d4d4d2e212b8d1b4f418b8.tar.gz |
Fixes for Octave and missing -Wmissing-field-initializers in swig_octave_member
-rw-r--r-- | Source/Modules/octave.cxx | 4 |
1 files 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(""); |