From: Bart Massey Date: Wed, 3 Sep 2008 20:52:58 +0000 (-0700) Subject: fixed overly aggressive warning about fixed field following variable X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6d44e1bf09cca8aefbf4ce9875d7f794bf19fb1;hp=7e0674e76186ee4491a089350511fc0d22fb3af3;p=free-sw%2Fxcb%2Flibxcb fixed overly aggressive warning about fixed field following variable --- diff --git a/src/c_client.py b/src/c_client.py index db974e0..d634c27 100755 --- a/src/c_client.py +++ b/src/c_client.py @@ -640,7 +640,7 @@ def _c_complex(self): if not field.type.fixed_size(): varfield = field.c_field_name continue - if varfield != None and not field.type.is_pad: + if varfield != None and not field.type.is_pad and field.wire: errmsg = '%s: warning: variable field %s followed by fixed field %s\n' % (self.c_type, varfield, field.c_field_name) sys.stderr.write(errmsg) # sys.exit(1)