CVS Update (fast configure)

The latest CVS snapshot is available:
http://www.devolution.com/~slouken/SDL/cvs.html

New in this snapshot:

  • configure is much faster now (audio makefile fixed!)
  • SDL_WM_SetIcon() now uses icon colorkey if mask is NULL
  • Win32 relative mouse mode fixes (thanks Randi Relander)

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga wrote:

The latest CVS snapshot is available:
http://www.devolution.com/~slouken/SDL/cvs.html

New in this snapshot:

  • configure is much faster now (audio makefile fixed!)
  • SDL_WM_SetIcon() now uses icon colorkey if mask is NULL
  • Win32 relative mouse mode fixes (thanks Randi Relander)

The Win32 DIB fullscreen also works in 8-bit mode now. I got Maelstrom
working fullscreen on NT4 :slight_smile:

Some CVS issues:

  1. The “normal” SDL_memset4 macro at the end of “SDL_memops.h” is broke. I
    moved the “do” from inside “case 0:” to just before the “switch” but I’m not
    positive that the resulting functionality is correct (should be though.)

  2. Some “integral size mismatch” warnings here and there. No big deal, just
    a “clean compile” issue.

  3. I am getting the following linker warning when compiling SDL apps with
    Visual C++ 6.0:

LIBC.lib(crt0init.obj) : warning LNK4098: defaultlib “libcmt.lib” conflicts
with use of other libs; use /NODEFAULTLIB:library

I am also getting this warning with the SDL-1.1.1 release. Is this a problem
with the settings in the SDL library compilation or with the settings for
the applications? It’s probably obvious so I am just ignoring it for now.

  1. I had to recompile Maelstrom to link against the new libraries before it
    would recognize keyboard input. There might be an issue with using a newer
    "SDL.dll" with apps compiled against older libraries (but that’s why we use
    GPL :wink:
  • Randi

Regimental Command
Generic Armored Combat System
http://www-users.cs.umn.edu/~relander/regcom/index.html

The Win32 DIB fullscreen also works in 8-bit mode now. I got Maelstrom
working fullscreen on NT4 :slight_smile:

Great!

Some CVS issues:

  1. The “normal” SDL_memset4 macro at the end of “SDL_memops.h” is broke. I
    moved the “do” from inside “case 0:” to just before the “switch” but I’m not
    positive that the resulting functionality is correct (should be though.)

This is fixed.

  1. Some “integral size mismatch” warnings here and there. No big deal, just
    a “clean compile” issue.

If you could get me a list of line numbers, I’ll clean them up.

  1. I am getting the following linker warning when compiling SDL apps with
    Visual C++ 6.0:

LIBC.lib(crt0init.obj) : warning LNK4098: defaultlib “libcmt.lib” conflicts
with use of other libs; use /NODEFAULTLIB:library

This is in the FAQ:

Q: I get link errors relating to MSVCRT.LIB or LIBC:
LINK : warning LNK4098: defaultlib “LIBC” conflicts with use of other libs; use /NODEFAULTLIB:library

  1. I had to recompile Maelstrom to link against the new libraries before it
    would recognize keyboard input. There might be an issue with using a newer
    "SDL.dll" with apps compiled against older libraries (but that’s why we use
    GPL :wink:

Maelstrom is compiled against SDL 1.0, and SDL 1.1 changed the input messages
for joysticks, and is not binary compatible. In general major version numbers
of SDL are not binary compatible. You have been warned. :slight_smile:

Thanks for the fixes! :slight_smile:

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment SoftwareA: The SDL Visual C++ project is statically linked with the multi-threaded version of the Microsoft Visual C runtime. You need to edit your project settings, go to the C++ language tab, change the listbox to “Code Generation” settings, and then change the runtime library to “Multi-threaded”

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga wrote:

Randi Relander wrote:

  1. Some “integral size mismatch” warnings
    If you could get me a list of line numbers, I’ll clean them up.

joystick\SDL_joystick.c
(548) : warning C4761: integral size mismatch in argument;
(556) : warning C4761: integral size mismatch in argument;

joystick\win32\SDL_mmjoystick.c
(211) : warning C4761: integral size mismatch in argument;
(211) : warning C4761: integral size mismatch in argument;
(221) : warning C4761: integral size mismatch in argument;
(225) : warning C4761: integral size mismatch in argument;

video\wincommon\SDL_sysmouse.c
(226) : warning C4761: integral size mismatch in argument;
(226) : warning C4761: integral size mismatch in argument;

timer\SDL_timer.c
(140) : warning C4013: ‘malloc’ undefined;
(169) : warning C4013: ‘free’ undefined;

  1. I am getting the following linker warning
    This is in the FAQ:

Oops … RTFF :slight_smile:

  • Randi

Regimental Command
Generic Armored Combat System
http://www-users.cs.umn.edu/~relander/regcom/index.html