mpr: fix a compiler error on PowerPC

Alexandre Julliard julliard at winehq.org
Fri Jan 9 13:12:01 CST 2009


Francois Gouget <fgouget at free.fr> writes:

> On Fri, 9 Jan 2009, Alexandre Julliard wrote:
>
>> No, CHAR is really supposed to be the same thing as char, since it's
>> used for strings. Otherwise you'll need casts all over the place.
>
> Ideally we'd check whether 'char' was signed or unsigned in Visual C++ 
> for PowerPC (there was a Windows NT 3.51 for PowerPC). I doubt that 
> Microsoft would have made it unsigned and then we'd need to do the same 
> to really be source compatibile.

Sure, but we would do that by adding -fsigned-char in winegcc, not by
making CHAR and char two different types.

> But since we're very unlikely to ever 
> be able to check that and since Windows on PowerPC is pretty irrelevant 
> anyway we can forget about it.

Yep.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list