Package: sffview Severity: normal Tags: patch When building 'sffview' on amd64 with gcc-4.0, I get the following error:
g++ -O2 -g -c `wx-config --cflags` -o common.o common.cpp In file included from /usr/include/boost/config.hpp:35, from /usr/include/boost/filesystem/config.hpp:18, from /usr/include/boost/filesystem/path.hpp:15, from common.h:36, from common.cpp:35: /usr/include/boost/config/compiler/gcc.hpp:92:7: warning: #warning "Unknown compiler version - please run the configure tests and report the results" common.cpp: In member function 'virtual void CFile::SetModificationTime(const time_t&)': common.cpp:154: error: 'errno' was not declared in this scope make[1]: *** [common.o] Error 1 make[1]: Leaving directory `/sffview-0.3' make: *** [build-stamp] Error 2 With the attached patch 'sffview' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/sffview-0.3/common.cpp ./common.cpp --- ../tmp-orig/sffview-0.3/common.cpp 2004-02-29 23:27:56.000000000 +0100 +++ ./common.cpp 2005-02-03 08:31:16.915275759 +0100 @@ -42,6 +42,7 @@ #endif #include <sys/types.h> #include <sys/stat.h> +#include <errno.h> #include <cassert> #include <iostream> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]