[Bug 16861] ntdll/tests: size of array is negative

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 31 17:52:08 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=16861





--- Comment #4 from Andrey Turkin <andrey.turkin at gmail.com>  2010-07-31 17:52:07 ---
> If default 'char' type is unsigned under ppc32 then this is a compiler bug.

ISO/IEC 9899:1999, 6.2.5.15:
"The three types char, signed char, and unsigned char are collectively called
the character types. The implementation shall define char to have the same
range,
representation, and behavior as either signed char or unsigned char."

char is explicitly permitted to be unsigned, and IIRC MSVC compiler has an
option to treat char as unsigned. CHAR and CCHAR should be compatible with
"char", and any Wine code which depends on signedness of any of these types
should be fixed anyway. I vote to remove signedness checks for these two.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list