[SDL] Undefined reference to SDL_main

Solra Bizna sbizna at tejat.net
Sat Jan 19 11:54:42 PST 2008


On Jan 19, 2008 9:48 AM, Brian <brian.ripoff at gmail.com> wrote:
> extern "C" disables C++ name mangling. You don't need this because
> SDL_main.h declares SDL_main for you, and you only need the extern "C"
> in the declaration (I think).
I vaguely remember having to deal with a relatively obscure compiler
that barfed on SDL programs without it, but that would've been years
ago.
-:sigma.SB


More information about the SDL mailing list