[SDL] windows funnyness

Joel Dudley Joel.Dudley at DevelopOnline.com
Mon Aug 6 17:04:01 PDT 2001


Ironicly there was indeed a return in that function. Like so.

return(screen);

Which was a pointer to SDL_Surface.  

-----Original Message-----
From: Neil Griffiths [mailto:n.griffiths at virgin.net] 
Sent: Monday, August 06, 2001 4:49 PM
To: sdl at libsdl.org
Subject: Re: [SDL] windows funnyness

The warning given (which, incidentally, shouldn't stop it from compiling
unless you are using strict rules) means that there isn't a "return" in that
function. Well, that's what it *should* mean anyway!

Neil.

----- Original Message -----
From: "Joel Dudley" <Joel.Dudley at DevelopOnline.com>
To: <sdl at libsdl.org>
Sent: Tuesday, August 07, 2001 12:32 AM
Subject: RE: [SDL] windows funnyness


> I removed this function and the program compiled just fine. Still doesn't
> explain the problem...hmmmm...
>
> - Joel
>
> -----Original Message-----
> From: Ryan C. Gordon [mailto:icculus at clutteredmind.org]
> Sent: Monday, August 06, 2001 4:21 PM
> To: sdl at libsdl.org
> Subject: Re: [SDL] windows funnyness
>
>
> > Why will this compile on Linux and not on windows? Thanks.
>
> Perhaps it can't find the SDL.h header, so SDL_Surface isn't defined, and
> the warning is just misleading?
>
> Just a guess.
>
> --ryan.
>
>
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>


_______________________________________________
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl




More information about the SDL mailing list