This clears up about 458 of these:
In file included from jit.c:11:
include/parrot/jit_struct.h:44: warning: missing initializer
include/parrot/jit_struct.h:44: warning: (near initialization for 
`op_assembly[0].string_constant_value.info[0].flag')
include/parrot/jit_struct.h:68: warning: missing initializer
include/parrot/jit_struct.h:68: warning: (near initialization for 
`op_assembly[0].string_constant_address.info[0].flag')

[1832 logical lines of warnings wrapping to 2748 physical gets in the way of
seeing the real output. :-(]

Nicholas Clark

--- jit2h.pl~   Mon Dec 31 00:15:28 2001
+++ jit2h.pl    Wed Jan  2 12:48:11 2002
@@ -415,7 +415,12 @@
         else {
             print "    0,\n";
             print "    {\n";
-            print "      {0, 0},\n";
+            if ($k == 6 or $k == 10) {
+                # The two string_substitution_t values in the struct:
+                print "      {0, 0, 0},\n";
+            } else {
+                print "      {0, 0},\n";
+            }
             print "    }\n";
         }
 

Reply via email to