[Scummvm-devel] What should the default signing of untyped chars be?

Lars Persson larspp at hotmail.com
Thu Oct 4 21:02:04 CEST 2007


Hi!
I got around porting a version of Doom to UIQ3 and it was not working 100%, 
controls was behaving oddly. Why? Because my ARM platform defaults a char as 
unsigned char (which is common for Power PC and ARM built targets), and 
other platforms default char to a signed char.

Well this is easily fixed by adding the -fsigned-char option to my make file 
and everything is fine.

Now to my question, what kind of typing do ScummVM and all of its engines 
expect?

For example the Symbian OS Gob engine is not behaving 100% (menubar 
offsetted to the right), so I think this might be an char issue.

Yes I know that ScummVM has all the datatypes that should be used defined, 
but its not enforced to 100%, and thus might be causing us targeting ARM 
platforms some problems, and thus all GCC based ARM platforms should have 
-fsigned-char as a default option.

I have not tested this, but I will pretty soon to see if it helps GOB3 to 
behave any better.

Cheers
AG/Lars

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/





More information about the Scummvm-devel mailing list