Ok folks here is the break down of the results from my attempt build
most of wine/dlls 
on mingw. You can build almost all of the object files for every
wine/dll but cannot 
link currently due to the Makefiles looking for a ntdll and libwine
import. I did not 
attempt to build any of the low-level wine dlls like msvcrt,crt,gdi,user
or ntdll as
it would pointless right now. Also I didnt waste my time on any dlls
that were just 
stubs so one of them may import ntdkk.h and suffer from the prototype
conflict problem.

You have 3 sets of Results.

        1. prototypes conflict - 
        wcstol is the main problem. _wtoi is the only other problem. Who
is the current 
        libwine_unicode person to talk to about making the changes
Alexandre suggested?

        2. "unixisms" -
        I'm not going in to the debate about how to work around this
yet.

        3. No Problems (all objects compile with no errors/warnings)

I'm not counting the (snprintf warning)'s or the TWAIN.DLL warnings as a
bug because I 
will be fixing those problems in my next set of patches.

1)----------------prototypes
conflict----------------------------------------------

comctl32 - (snprintf warning)
        comctl32undoc.c:70: conflicting types for `_wtoi'
        /usr/include/mingw/stdlib.h:284: previous declaration of `_wtoi'
        make: *** [comctl32undoc.o] Error 1

        In file included from ipaddress.c:31:
        ../../include/ntddk.h:762: conflicting types for `wcstol'
        /usr/include/mingw/stdlib.h:290: previous declaration of
`wcstol'
        make: *** [ipaddress.o] Error 1

commdlg - (snprintf warning)
        In file included from filedlg95.c:59:
        ../../include/ntddk.h:762: conflicting types for `wcstol'
        /usr/include/mingw/stdlib.h:290: previous declaration of
`wcstol'
        filedlg95.c: In function `FILEDLG95_HandleCustomDialogMessages':
        filedlg95.c:799: warning: implicit declaration of function
`snprintf'
        make: *** [filedlg95.o] Error 1

ole32 - 
        In file included from stg_stream.c:32:
        ../../include/ntddk.h:762: conflicting types for `wcstol'
        /usr/include/mingw/stdlib.h:290: previous declaration of
`wcstol'
        make: *** [stg_stream.o] Error 1

oleaut - 
        In file included from tmarshal.c:43:
        ../../include/ntddk.h:762: conflicting types for `wcstol'
        /usr/include/mingw/stdlib.h:290: previous declaration of
`wcstol'
        make: *** [tmarshal.o] Error 1

psapi - 
        In file included from ../../include/wine/server_protocol.h:11,
        from ../../include/wine/server.h:27,
        from psapi_main.c:24:
        /usr/include/mingw/stdlib.h:290: conflicting types for `wcstol'
        ../../include/ntddk.h:762: previous declaration of `wcstol'

setupapi -
        In file included from parser.c:30:
        ../../include/ntddk.h:762: conflicting types for `wcstol'
        /usr/include/mingw/stdlib.h:290: previous declaration of
`wcstol'
        make: *** [parser.o] Error 1

2)-----------"unixisms" below
---------------------------------------------------------


shell32 - (snprintf warning)
        shelllink.c: In function `IPersistFile_fnSave':
        shelllink.c:687: warning: implicit declaration of function
`fork'
        shelllink.c:719: warning: implicit declaration of function
`execvp'
        shelllink.c:723: warning: implicit declaration of function
`waitpid'

netapi32 - 
        netapi32.c:37: sys/ioctl.h: No such file or directory
mpr - 
        wnet.c:24: pwd.h: No such file or directory
rpcrt - 
        rpcrt4_main.c:43: sys/ioctl.h: No such file or directory


3)-----------No Real Problem thus
far---------------------------------------------------

twain32 - 
        twain.h:59: warning: `WIN32' redefined
        *Initialization*:1: warning: this is the location of the
previous definition
        twain.h:60: warning: `_WIN32' redefined
        *Initialization*:1: warning: this is the location of the
previous definition
        twain.h:61: warning: `__declspec' redefined
        *Initialization*:1: warning: this is the location of the
previous definition
msacm - All Objects compile (snprintf warning)
serialui - All Objects compile (snprintf warning)
msdmo - All Objects compile
msvideo - All Objects compile
odbc32 - All Objects compile
urlmon - All Objects compile
version - All Objects compile
shlwapi - All Objects compile
tapi32 - All Objects compile
shdocvw - All Objects compile
rasapi - All Objects compile
richedit - All Objects compile
ddraw - All Objects compile
dinput - All Objects compile
dplayx - All Objects compile
dsound - All Objects compile
imagehlp - All Objects compile
imm32 - All Objects compile
lzexpand - All Objects compile
mapi32 - All Objects compile
olecli - All Objects compile
oledlg - All Objects compile
olesrv - All Objects compile


Reply via email to