Original Post
Im trying to make a project in VSC++ 2005 EE using SDL and GameMonkey. #include "sdl/sdl.h" #include "include/gm/gmThread.h" #include int main( int argc, char* args[] ) { //Start SDL SDL_Init( SDL_INIT_EVERYTHING ); //Quit SDL SDL_Quit(); return 0; } I can get them to compile and run, but when I just include , I get this error 1>------ Build started: Project: BlankSDL, Configuration: Debug Win32 ------ 1>Compiling... 1>main.cpp 1>C:\Program Files\Microsoft Visual Studio 8\VC\include\wtime.inl(37) : error C2664: '_wctime32' : cannot convert parameter 1 from 'const time_t *' to 'const __time32_t *' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>C:\Program Files\Microsoft Visual Studio 8\VC\include\wtime.inl(43) : error C2664: 'errno_t _wctime32_s(wchar_t *,size_t,const __time32_t *)' : cannot convert parameter 3 from 'const time_t *' to 'const __time32_t *' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>Build log was saved at "file://c:\Documents and Settings\Conor Haddock\My Documents\Visual Studio 2005\Projects\BlankSDL\BlankSDL\Debug\BuildLog.htm" 1>BlankSDL - 2 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== What could I do to fix this?