[SDL] porting to ucLinux

Ryan He ryan_he at usish.com
Wed Jan 26 17:43:13 PST 2005


I get a few errors...

Error   : illegal implicit conversion from 'unsigned char[256]' to
'char *'
SDL_mmjoystick.c line 93     REGSTR_KEY_JOYCURR); 

Error   : illegal implicit conversion from 'unsigned char[256]' to
'char *'
SDL_mmjoystick.c line 105      REGSTR_VAL_JOYOEMNAME); 

Error   : illegal implicit conversion from 'unsigned char[256]' to
'const char *'
SDL_mmjoystick.c line 108      (LPDWORD) &regsize); 

Error   : illegal implicit conversion from 'unsigned char[256]' to
'char *'
SDL_mmjoystick.c line 114       REGSTR_PATH_JOYOEM, regname); 

Error   : illegal implicit conversion from 'unsigned char[256]' to
'const char *'
SDL_mmjoystick.c line 116       regkey, 0, KEY_READ, &hKey); 

Error   : ')' expected
SDL_sysevents.c line 108   rackMouseEvent)(TRACKMOUSEEVENT *ptme) = NULL; 

Error   : ')' expected
SDL_sysevents.c line 126   TrackMouseEvent(TRACKMOUSEEVENT *ptme) 

Error   : '{' expected
SDL_sysevents.c line 133   } 

Error   : illegal function definition
SDL_sysevents.c line 138   { 

Error   : ';' expected
SDL_sysevents.c line 250        TRACKMOUSEEVENT tme; 

Error   : undefined identifier 'tme'
SDL_sysevents.c line 252        tme.cbSize = sizeof(tme); 

Error   : undefined identifier 'tme'
SDL_sysevents.c line 253        tme.dwFlags = TME_LEAVE; 

Error   : undefined identifier 'tme'
SDL_sysevents.c line 254        tme.hwndTrack = SDL_Window; 

Error   : undefined identifier 'tme'
SDL_sysevents.c line 255        _TrackMouseEvent(&tme); 

Error   : ')' expected
SDL_sysevents.c line 639   BOOL (WINAPI *)(TRACKMOUSEEVENT
*))GetProcAddress(handle, "TrackM

Any ideas?





More information about the SDL mailing list