[SDL] windows funnyness

Joel Dudley Joel.Dudley at DevelopOnline.com
Mon Aug 6 15:32:02 PDT 2001


I had a function that worked great in Linux. It returned a pointer to an
SDL_Surface. However, when I tried to compile the program under windows I
got the following warning:

SDL_Surface *image_load(char *filename)  warning: image_load must return a
value.

Why will this compile on Linux and not on windows? Thanks.

- Joel




More information about the SDL mailing list