PATCH: make twain compile again

Marcus Meissner marcus at jet.franken.de
Sun Apr 28 23:51:10 CDT 2002


On Mon, Apr 29, 2002 at 01:27:28AM +0200, Sylvain Petreolle wrote:
> Hi,
> 
> Following patch make wine not compile for me :
> (have last sane cvs code)
> 
> gcc -c -I. -I. -I../../include -I../../include
> -I/usr/local/include -g -O2 -Wall
> -mpreferred-stack-boundary=2 -fPIC -D__WINE__ 
> -D_REENTRANT -I/usr/X11R6/include -o dsm_ctrl.o
> dsm_ctrl.c
> dsm_ctrl.c: In function `TWAIN_IdentityGetFirst':
> dsm_ctrl.c:134: warning: `pSourceIdentity' might be
> used uninitialized in this function
> dsm_ctrl.c: In function `TWAIN_OpenDSM':
> dsm_ctrl.c:367: warning: dereferencing `void *'
> pointer
> dsm_ctrl.c:367: void value not ignored as it ought to
> be
> make[2]: *** [dsm_ctrl.o] Erreur 1
> make[2]: Quitte le répertoire `/home/wine/dlls/twain'
> make[1]: *** [twain/twain_32.dll.so] Erreur 2
> make[1]: Quitte le répertoire `/home/wine/dlls'
> make: *** [dlls] Erreur 2

The patch is not yet applied. If you apply it, it will compile again.

(It got broken by something else.)

Ciao, Marcus



More information about the wine-devel mailing list