0.6k on Alpha

Hi Sam,

glibc is detected now, but there’s a new problem with 0.6k on Alpha:

SDL_timer.c: In function SDL_TimerInit': SDL_timer.c:114: incompatible types in assignment SDL_timer.c:116: structure has no member namedsa_restorer’
make[2]: *** [SDL_timer.o] Error 1

From man sigaction:

   The sa_restorer element is  obsolete  and  should  not  be
   used.

Maybe it’s still there on x86, but it’s not on Alpha. Also, you do
the following:

action.sa_mask = 0;

but sa_mask is of type sigset_t, and from sigset.h it appears that
sigset_t is a struct with an array. I wonder how this assignent could
work on x86 (is it a different type there?). Anyway, sdl works so far
without the offending assigments (will that give trouble?).

You wanted to see the cast warnings for the k release:

SDL_mutex.c:50: warning: cast to pointer from integer of different size

SDL_thread.c: In function `SDL_CreateThread’:
SDL_thread.c:99: warning: cast to pointer from integer of different size
SDL_thread.c:105: warning: cast to pointer from integer of different size

That’s it. Groetjes,

  • Reinoud