src/m_misc.cpp: In function `string GetUserFile(string, bool)':
src/m_misc.cpp:305: error: cannot convert `string' to `const char*' for argument `1' to `size_t strlen(const char*)'
src/m_misc.cpp:332: error: cannot convert `string' to `const char*' for argument `2' to `char* strcat(char*, const char*)'
src/w_wad.cpp: In function `int filelength(int)':
src/w_wad.cpp:146: error: `close' undeclared (first use this function)
Chris wrote:Here's my patch. Make sure you're using the cbuild script (chmod +x cbuild.c and run it, or manually compile it).
Using sdl-config as they suggest will produce the appropriate -I command line arguments to include the SDL directory in the include search path.
Question: What does the I_FindFirst patch do? Does it still work for finding files in arbitrary paths? (i.e. if you use the dir console command to get a directory listing)
What version of gcc are you using Chris?
But it is still accepted in 4.0.2, at least in suse linux (plus a warning, of course).
and tell me does the new version do, apart from having trouble with multiple PNAMES?
Users browsing this forum: No registered users and 1 guest