[Bug 6857] New: Build errors with increased GCC strictness

Wine Bugs wine-bugs at winehq.org
Sun Dec 10 01:18:17 CST 2006


http://bugs.winehq.org/show_bug.cgi?id=6857

           Summary: Build errors with increased GCC strictness
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: wine-misc
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: skunk at iSKUNK.ORG


I usually build with -pedantic and numerous warning flags. Wine gave me a few 
easily-addressed compile-time errors with same. I will attach a patch against 
the git source; below are the items fixed.

wine/dlls/msi/action.c: The initial declaration of the StandardActions array 
fails because the array size is unknown. Worked around by making it a pointer 
[to an array of structs].

wine/dlls/user32/spy.c: The declaration of the WINEMessageTypeNames array 
consistently fails with an "array too large" error, even though the specified 
size seems right. This appears to have to do with WM_WINE_MOUSE_LL_HOOK being 
such a large number (over 0x80000000), which makes the size value a "long". 
Fixed by removing the size value. Also, removed a stray comma.

wine/dlls/winex11.drv/clipboard.c: PropertyAliasMap was an empty array, which 
GCC didn't like.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list