Robert Wishlaw shared this tip/trick a couple years ago:
Here is a one liner to check the compiler's default signedness for the char data type.
printf("%d\n",'\x80');
-128 means default is signed char
128 means default is unsigned char
Default for Nuwen, MSVC, CLang and Pelles C is signed.
To change MSVC and Pelles C to unsigned char default add
/J
flag to command line.
To change Nuwen and CLang to unsigned char default add
-funsigned-char
flag to command line.