From: compudj Date: Wed, 2 Nov 2005 15:32:13 +0000 (+0000) Subject: union no variable size X-Git-Tag: v0.12.20~2183 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e25422352670affb5dba8de8d7deb8c17fd9fda5;p=lttv.git union no variable size git-svn-id: http://ltt.polymtl.ca/svn@1306 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index 7f76f014..cdfab23f 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -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;