Hi Is this a valid coding error or a bug in cil ?
The statics are declared at function scope. Thanks. func x { static const unsigned short a = 22; static const unsigned short b = a - 1; ... } error: initializer element is not constant CIL code: static unsigned short const a = 22; static unsigned short const b = (int const )a - 1; inst const ? should be short , or is it explicitly promoted to the larger type? (making it signed too) Thanks - Jan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ CIL-users mailing list CIL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cil-users