[Bug 16736] New: kernel32/format_msg.c: compiler errors

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 2 21:37:22 CST 2009


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 at winehq.org
        ReportedBy: austinenglish at gmail.com


austin at 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


-- 
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