I’m making a new SDL_RWops, um, what do I call it? Method? Anyway, for
lack of a better method, I’m using good ol’ trial and error to figure out
how to write one. I’m basically going by the source code for SDL that has
one for files, and one for memory. In that code, it calls SDL_Error() when
an error condition occurs, so I tried to do the same thing, but even though
SDL_Error() is in the header files, it can’t resolve this symbol when
linking. So maybe it’s a good time to ask now instead of guessing. Should
I not worry about letting SDL know about these errors using SDL_Error()? If
I should do this, how exactly do I make it work? I’m not really sure if
anything relied on SDL_Error() being used to know about errors, of it the
return values from these handler functions make it known to the caller that
an error occured. Or maybe even both.


Just use SDL_SetError()

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment