[msg] xpdf/Stream.cc:22: error: declaration of C function `int unlink(char*)' conflicts with h:/mingw/Dev-Cpp/include/stdio.h:187: error: previous declaration `int unlink(const char*)' here [/msg]
that can be fixed (at least for my mingw, I don't know if unlink(char *filename) works for other compilers) by change this line from [code] extern "C" int unlink(char *filename); [/code] to [code] #ifdef __MINGW32__ extern "C" int unlink(const char *filename); #else extern "C" int unlink(char *filename); #endif [/code]
