Warnings produced by the MS Visual Studion 2012 C compiler suppressed.

Changing macros with "while(0)" to "while(0,0)" and "while(1)"
to "while(1,1)". Apparently the MS developer like the owl-y eyes :-)
Explicit casts to (tre_cint_t) (tre_char_t) at places where the conversion
is obviously wanted.