// screen.h
#ifndef screen_h #define screen_h #define MAC 1 #define WIN 2 #define LNX 3 #ifdef PLATFORM # undef PLATFORM #endif #define PLATFORM MAC
I met this similar error minutes ago. After i'd added the relatived function declaration in head file, error's gone. Also, some said that canceling the compile option '-Wmissing-prototypes' should work, but i didn't have tried that. Good luck.