[Bug 16749] New: kernel32/tests: wrong char type
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Jan 2 23:12:22 CST 2009
http://bugs.winehq.org/show_bug.cgi?id=16749
Summary: kernel32/tests: wrong char type
Product: Wine
Version: 1.1.12
Platform: Macintosh
OS/Version: Linux
Status: NEW
Keywords: source
Severity: minor
Priority: P2
Component: build-env
AssignedTo: wine-bugs at winehq.org
ReportedBy: austinenglish at gmail.com
gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall
-pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings
-Wtype-limits -Wpointer-arith -g -O2 -o codepage.o codepage.c
codepage.c: In function ‘test_string_conversion’:
codepage.c:228: warning: comparison is always false due to limited range of
data type
codepage.c:244: warning: comparison is always false due to limited range of
data type
changing mbc to be a signed char rather than char seems the obvious solution,
but that breaks things further:
codepage.c:226: warning: pointer targets in passing argument 5 of
‘WideCharToMultiByte’ differ in signedness
codepage.c:233: warning: pointer targets in passing argument 5 of
‘WideCharToMultiByte’ differ in signedness
codepage.c:242: warning: pointer targets in passing argument 5 of
‘WideCharToMultiByte’ differ in signedness
codepage.c:251: warning: pointer targets in passing argument 5 of
‘WideCharToMultiByte’ differ in signedness
codepage.c:262: warning: pointer targets in passing argument 5 of
‘WideCharToMultiByte’ differ in signedness
codepage.c:328: warning: pointer targets in passing argument 5 of
‘WideCharToMultiByte’ differ in signedness
--
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