Alexandre Julliard wrote:
>
> "Eric Pouech" <[EMAIL PROTECTED]> writes:
>
> > just a quick thought
> > wouldn't it be better to change the default sign-ness of char on PPC ?
> > All code has been written with char being signed in mind. there may be
> > lots of other spots where the assumption is made and will have to be
> > delt with. also supporting both signed and unsigned char may be a heavy
> > process.
>
> IMO it would be better to define CHAR as 'signed char', which should
> address most of the issues WRT the windows API. And where our code
> uses 'char' to mean signed char this is a bug that should be fixed.
in a strict portability consideration, I agree. But, since most code is
first written on Linux with GCC (thus meaning char == signed char), I
really think this ia an easier solution to enforce char == signed char
in the core Wine implementation. I fear lots of programmers code with
this assumption in mind and it may be quite difficult to enforce it
(it means it will end up on the shoulders of the people doing and
*maintaining* the ports)
Of course, the headers for Winelib programs should be prepared on the
other hand to handle the 'plain' char to be either signed or unsigned.
A+
--
---------------
Eric Pouech (http://perso.wanadoo.fr/eric.pouech/)
"The future will be better tomorrow", Vice President Dan Quayle