Sam Lantinga <slouken@libsdl.org> [Wed, 01 Feb 2006 06:32:25 +0000] rev 1312
Updated copyright information and removed rcs id lines (problematic in branch merges)
I batch edited these files, so please let me know if I've accidentally removed anybody's
credit here.
Sam Lantinga <slouken@libsdl.org> [Wed, 01 Feb 2006 04:23:41 +0000] rev 1311
*** empty log message ***
Patrice Mandin <patmandin@gmail.com> [Tue, 31 Jan 2006 21:33:35 +0000] rev 1310
Add flag to post mouse button events or not, and use defined function to post them
Sam Lantinga <slouken@libsdl.org> [Tue, 31 Jan 2006 19:46:26 +0000] rev 1309
Bah, I don't know what I'm doing.
Sam Lantinga <slouken@libsdl.org> [Tue, 31 Jan 2006 19:40:25 +0000] rev 1308
Quit building the frigging F77 libtool configuration!
Sam Lantinga <slouken@libsdl.org> [Tue, 31 Jan 2006 19:09:09 +0000] rev 1307
We're no longer doing compile checks on the X11 extensions which we include.
(Resolves bug #114)
Ryan C. Gordon <icculus@icculus.org> [Tue, 31 Jan 2006 18:39:32 +0000] rev 1306
Changed references to XFree86 to Xext to match change in directory structure.
Reference Bugzilla #116.
Sam Lantinga <slouken@libsdl.org> [Tue, 31 Jan 2006 18:08:33 +0000] rev 1305
Reverted in favor of this one:
https://bugzilla.libsdl.org/attachment.cgi?id=3
Sam Lantinga <slouken@libsdl.org> [Tue, 31 Jan 2006 17:56:44 +0000] rev 1304
XFree86 directory renamed to Xext
Sam Lantinga <slouken@libsdl.org> [Tue, 31 Jan 2006 15:30:42 +0000] rev 1303
Date: Tue, 05 Jul 2005 21:43:26 +1000
From: Sean Childs
Subject: [SDL] Compiling SDL 1.2.8 with the free Borland compiler
When compiling SDL 1.2.8 with the free Borland compiler, I received this
error (there is a similar error that occurs in
src\video\windx5\sdl_dx5events.c):
Error E2342 ..\..\src\video\windib\sdl_dibevents.c 189: Type mismatch in
parameter 'lpPrevWndFunc' (wanted 'int (__stdcall *)()', got 'long
(__stdcall *)(void *,unsigned int,unsigned int,long)') in function
DIB_HandleMessage
I checked the MSDN library at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/
windowsuserinterface/windowing/windowprocedures/windowprocedurereference/wind
owprocedurefunctions/callwindowproc.asp
and it had this to say:
If STRICT is not defined, the lpPrevWndFunc parameter has the data type
FARPROC. The FARPROC type is declared as follows:
int (FAR WINAPI * FARPROC) ()
In C, the FARPROC declaration indicates a callback function that has an
unspecified parameter list. In C++, however, the empty parameter list in
the declaration indicates that a function has no parameters. This subtle
distinction can break careless code. Following is one way to handle this
situation:
#ifdef STRICT
WNDPROC MyWindowProcedure
#else
FARPROC MyWindowProcedure
#endif
...
lResult = CallWindowProc(MyWindowProcedure, ...)