Folks,
Currently I am real busy, so I can't fix these myself, but if anyone is so inclined, here are the warnings I get with gcc 3.2 on a RedHat 8.0 system:
../../../wine.src/dlls/d3d8/device.c: In function `DrawPrimitiveI': ../../../wine.src/dlls/d3d8/device.c:475: warning: statement with no effect ../../../wine.src/dlls/ddraw/ddraw/hal.c:152: warning: initialization from incompatible pointer type ../../../../wine.src/dlls/ntdll/tests/rtlstr.c: In function `test_RtlUnicodeStringToInteger': ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:147: warning: decimal constant is so large that it is unsigned ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:148: warning: decimal constant is so large that it is unsigned ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:170: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:175: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:176: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:178: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:179: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:181: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:182: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:184: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:185: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/user/tests/sysparams.c: In function `run_spi_setmouse_test': ../../../../wine.src/dlls/user/tests/sysparams.c:238: warning: `rc' might be used uninitialized in this function ../../../../wine.src/include/winbase.h: At top level: ../../../../wine.src/dlls/user/tests/sysparams.c:379: warning: `test_SPI_SETBORDER' defined but not used ../../../wine.src/dlls/oleaut32/variant.c: In function `VarBstrFromDate': ../../../wine.src/dlls/oleaut32/variant.c:3567: warning: `%x' yields only last 2 digits of year in some locales ../../../wine.src/dlls/oleaut32/variant.c:3571: warning: `%x' yields only last 2 digits of year in some locales In file included from ../../../wine.src/include/mssip.h:49, from ../../../wine.src/dlls/crypt32/main.c:22: ../../../wine.src/include/pshpack8.h:47:6: warning: #warning "8 as alignment is not supported" In file included from ../../../wine.src/include/mssip.h:80, from ../../../wine.src/dlls/crypt32/main.c:22: ../../../wine.src/include/pshpack8.h:47:6: warning: #warning "8 as alignment is not supported" In file included from ../../../wine.src/include/mssip.h:88, from ../../../wine.src/dlls/crypt32/main.c:22: ../../../wine.src/include/pshpack8.h:47:6: warning: #warning "8 as alignment is not supported" In file included from ../../../wine.src/include/mssip.h:97, from ../../../wine.src/dlls/crypt32/main.c:22: ../../../wine.src/include/pshpack8.h:47:6: warning: #warning "8 as alignment is not supported" In file included from ../../../wine.src/include/mssip.h:109, from ../../../wine.src/dlls/crypt32/main.c:22: ../../../wine.src/include/pshpack8.h:47:6: warning: #warning "8 as alignment is not supported" In file included from ../../../wine.src/include/mssip.h:123, from ../../../wine.src/dlls/crypt32/main.c:22: ../../../wine.src/include/pshpack8.h:47:6: warning: #warning "8 as alignment is not supported" In file included from ../../../wine.src/include/mssip.h:140, from ../../../wine.src/dlls/crypt32/main.c:22: ../../../wine.src/include/pshpack8.h:47:6: warning: #warning "8 as alignment is not supported"
Dimitrie O. Paun wrote:
../../../../wine.src/dlls/ntdll/tests/rtlstr.c: In function `test_RtlUnicodeStringToInteger': ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:147: warning: decimal constant is so large that it is unsigned ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:148: warning: decimal constant is so large that it is unsigned ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:170: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:175: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:176: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:178: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:179: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:181: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:182: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:184: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:185: warning: wchar_t format, different type arg (arg 3)
I submitted a patch to fix those a while ago... I guess I could resubmit against current cvs. - Dan
On Tue, 14 Jan 2003, Dan Kegel wrote:
Dimitrie O. Paun wrote:
../../../../wine.src/dlls/ntdll/tests/rtlstr.c: In function `test_RtlUnicodeStringToInteger': ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:147: warning: decimal constant is so large that it is unsigned ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:148: warning: decimal constant is so large that it is unsigned ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:170: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:175: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:176: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:178: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:179: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:181: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:182: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:184: warning: wchar_t format, different type arg (arg 3) ../../../../wine.src/dlls/ntdll/tests/rtlstr.c:185: warning: wchar_t format, different type arg (arg 3)
I submitted a patch to fix those a while ago... I guess I could resubmit against current cvs.
I also (re)submitted a patch that should fix the above just today.