From e25422352670affb5dba8de8d7deb8c17fd9fda5 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 2 Nov 2005 15:32:13 +0000 Subject: [PATCH] union no variable size git-svn-id: http://ltt.polymtl.ca/svn@1306 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/tracefile.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.34.1