[SDL] Shared library, SDL etc. not the issue

Brian Raiter breadbox at muppetlabs.com
Wed Jul 24 03:39:01 PDT 2002


> I have located the cause of my odd problem, but I don't understand
> it.  I have a function in the main program file (not called in the
> testing version) named shutdown().  If I rename it, e.g. to
> Shutdown(), the problem goes away.  I know that shutdown is a system
> command, but it hadn't occurred to me that I couldn't use the name
> in my code.

shutdown() is also the name of a semi-standard socket function; see
<sys/socket.h>.

b




More information about the SDL mailing list