[SDL] Help: BCC32 + latest SDL CVS = compile error

Vivi Orunitia Greatwolf at myrealbox.com
Wed Apr 7 19:02:10 PDT 2004


Hi all,

I just downloaded the latest SDL source from the CVS repository using 
TortoiseCVS. Next, I proceed to try and compile that using Borland's free 
compiler (using the makefiles in borland.zip).

Now the problem, using sdl.mak as the makefile, most of the sdl source 
seems to compile fine except for SDL_dibevents.c

This is the error it's giving me:

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
..\..\src\video\windib\SDL_dibevents.c:
Error E2342 ..\..\src\video\windib\SDL_dibevents.c 189: Type mismatch in 
paramet
er 'lpPrevWndFunc' (wanted 'int (__stdcall *)()', got 'long (__stdcall *)
(void *
,unsigned int,unsigned int,long)') in function DIB_HandleMessage
*** 1 errors in Compile ***

The error seems pretty clear but I'm unsure of how this should be 
corrected. Anyone have any ideas?

Thanks





More information about the SDL mailing list