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