Weird compiler error

I am currently writting some drawing code for a library that sits on top
of SDL (http://sourceforge.net/projects/libksd/) and I want to have my
drawing code draw inside of a Surface’s clipping boudaries. When ever
trying to read from SDL_Surface::clip_minx, clip_maxx, clip_miny,
clip_maxy the compiler says that 'struct SDL_Surface has no member …'
I have looked in SDL_video.h and these members most definitely exist. I
am using gcc version egcs-2.91.66 on RedHat Linux 6.1. If anyone can
help my compiler see the light, it would be much appreciated…

- David Snopek

When ever
trying to read from SDL_Surface::clip_minx, clip_maxx, clip_miny,
clip_maxy the compiler says that ‘struct SDL_Surface has no member …’

they’re gone since 1.1.5, replaced with a destination clip rectangle
instead

I posted that message a while ago and already posted the solution that I
found. I dont know why its been re-posted…
If ever one could just disregard it…

I posted that message a while ago and already posted the solution that I
found. I dont know why its been re-posted…

It was in my “bounced messages” queue.

Sorry! :slight_smile:
-Sam Lantinga, Lead Programmer, Loki Entertainment Software