Regarding the warning " Assignment of int to unsigned char " I'm looking for a flag that would allow the following:
... unsigned char uChar; for( uChar = 0 ; uChar < 10 ; uChar++) { } ... but still complains about ... unsigned char uChar; unsigned int min; unsigned int max for( uChar = min ; uChar < max ; uChar++) { } ... or ... unsigned char uChar; for( uChar = 0 ; uChar < 256 ; uChar++) { } ... ... For now I must do this to supress the warning ... unsigned char uChar; for( uChar = (unsigned char)0 ; uChar < (unsigned char)10 ; uChar++) { } ... The reason I use an (unsigned char) is that I have a very limited stack. I would like to tell spint to check literal numerical value to see if the match the type instead of threating them as "int" automatically. Does it exist yet ? Thanks Francois Isabelle