On Mon, Jul 23, 2012 at 05:45:06PM +0200, Jan Smets wrote:
> Is this a valid coding error or a bug in cil ?
>   static const unsigned short b = a - 1;

This is a coding error (or at least gcc refuses to compile it).
Not sure about the integer promotion, though.

-- 
Gabriel

------------------------------------------------------------------------------
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

Reply via email to