Original Post
Why doesn't work this function? ERROR: Compiling: main.cpp H:\C++ Projekte\test_mixer\main.cpp:17: error: cannot declare member function `static bool Check::is_bool(const SDL_Surface*)' to have static linkage Thanks Stromberg
class Check
{
private:
static bool is_bool(const SDL_Surface * object);
};
static bool Check::is_bool(const SDL_Surface * object)
{
return !object;
}