Warnings left when compiling on GNU/Linux

Michael Stefaniuc mstefani at redhat.com
Wed Jan 5 13:01:11 CST 2005


Gerald Pfeifer wrote:
> When compiling on SUSE LINUX 9.2 using GCC 3.3.5 the following are the 
> only warnings I'm getting for current Wine CVS:
> 
>   metafile.c:395: warning: `test_mf_PatternBrush' defined but not used
>   rtlstr.c:552: warning: `test_RtlUpcaseUnicodeChar' defined but not used
>   rtlstr.c:578: warning: `test_RtlUpcaseUnicodeString' defined but not used
>   rtlstr.c:629: warning: `test_RtlDowncaseUnicodeString' defined but not used
>   hlp2sgml.c:219: warning: `%x' yields only last 2 digits of year in some locales
> 
> On FreeBSD 4.10 using GCC 3.3.4 I am also seeing the following one:
> 
>   fd.c:572: warning: right shift count >= width of type
>   fd.c:574: warning: right shift count >= width of type
> 
> Any chance we could get rid of these? :-)
Oh, if you "complain" ;) that you don't have enough warnings left i 
recommend compiling Wine with gcc4. LOTS of warnings like this one:
warning: pointer targets in passing argument 1 of ‘$function’ differ in 
signedness
I've thought of taking care of those but i'm not sure if it's a good idea.

bye
	michael
-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
System Administration           Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart



More information about the wine-devel mailing list