[CIL users] switch case with constant char values problem

2012-05-04 Thread Dany Vereertbrugghen
Hi, We're having a problem with a simple switch command, in which cilly seems to turn an char literal into a signed value, although cilly is compiled with char being unsigned. Included is the original program, the preprocessor output and the output after cilly. As you can see, cilly has turn

Re: [CIL users] switch case with constant char values problem

2012-05-04 Thread Jesse M Draper
I think that you should upgrade to a newer version of CIL. When I compiled your code in 1.3.7, both the assignment to c and the first case statement use '\212'. On 05/04/2012 07:45 AM, Dany Vereertbrugghen wrote: Hi, We're having a problem with a simple switch command, in which cilly seems to