union no variable size
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 2 Nov 2005 15:32:13 +0000 (15:32 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 2 Nov 2005 15:32:13 +0000 (15:32 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1306 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/tracefile.c

index 7f76f014c9ce615e8a6af864a0f9e2e6f1dd69da..cdfab23fd2c3dc62d75a46fdac042b53ec0deb68 100644 (file)
@@ -2170,6 +2170,8 @@ void preset_field_type_size(LttTracefile *tf, LttEventType *event_type,
           max_size = max(max_size, field->child[i]->field_size);
       }
       if(final_child_status != FIELD_FIXED) {
+                               g_error("LTTV does not support variable size fields in unions.");
+                               /* This will stop the application. */
         *fixed_root = final_child_status;
         *fixed_parent = final_child_status;
         field->field_size = 0;
This page took 0.024656 seconds and 4 git commands to generate.