http://bugs.winehq.org/show_bug.cgi?id=16736
Summary: kernel32/format_msg.c: compiler errors 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@winehq.org ReportedBy: austinenglish@gmail.com
austin@ubuntu-ppc:~/wine-git/dlls/kernel32$ make gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_KERNEL32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith -g -O2 -o format_msg.o format_msg.c format_msg.c: In function ‘FormatMessageA’: format_msg.c:140: warning: unused variable ‘args’ format_msg.c: In function ‘FormatMessageW’: format_msg.c:361: warning: unused variable ‘args’ format_msg.c: At top level: format_msg.c:71: warning: ‘load_messageW’ defined but not used format_msg.c:101: warning: ‘load_messageA’ defined but not used
Looking at the code: { LPDWORD args=(LPDWORD)_args; #if defined(__i386__) || defined(__sparc__) /* This implementation is completely dependent on the format of the va_list on x86 CPUs */
Seems this needs to be implemented for non-x86/sparc
http://bugs.winehq.org/show_bug.cgi?id=16736
--- Comment #1 from Austin English austinenglish@gmail.com 2009-01-10 02:25:37 --- Patch sent: http://www.winehq.org/pipermail/wine-patches/2009-January/067436.html
http://bugs.winehq.org/show_bug.cgi?id=16736
--- Comment #2 from Austin English austinenglish@gmail.com 2009-08-30 14:55:11 --- Still present.
http://bugs.winehq.org/show_bug.cgi?id=16736
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|Macintosh |ppc32
http://bugs.winehq.org/show_bug.cgi?id=16736
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
http://bugs.winehq.org/show_bug.cgi?id=16736
--- Comment #3 from Andrew Nguyen arethusa26@gmail.com 2010-11-09 15:55:54 CST --- The preprocessor construct has been gone since, I assume, __ms_va_list was introduced, so this might not be a problem anymore.
http://bugs.winehq.org/show_bug.cgi?id=16736
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from Austin English austinenglish@gmail.com 2010-12-01 02:05:17 CST --- Works now on: Linux gcc40 2.6.26-2-powerpc64 #1 SMP Thu May 13 07:29:31 UTC 2010 ppc64 GNU/Linux / wine-1.3.8-89-gfa12dd9, marking fixed.
http://bugs.winehq.org/show_bug.cgi?id=16736
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2010-12-10 13:46:03 CST --- Closing bugs fixed in 1.3.9.