Package: gcvs Version: 1.0final-12 Usertags: ftbfs-gcc-4.3 Tags: patch Your package fails to build with GCC 4.3. Version 4.3 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. In GCC 4.3, the C++ header dependencies have been cleaned up. The advantage of this is that programs will compile faster. The downside is that you actually need to directly #include everything you use (but you really should do this anyway, otherwise your program won't work with any compiler other than GCC). Some background of this can be found at http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot from unstable. > Automatic build of gcvs_1.0final-12 on coconut0 by sbuild/ia64 0.49 ... > UCvsConsole.cpp: In destructor 'virtual UCvsConsole::~UCvsConsole()': > UCvsConsole.cpp:57: error: 'free' was not declared in this scope > UCvsConsole.cpp: In member function 'void UCvsConsole::OutConsole(const > char*, size_t, bool)': > UCvsConsole.cpp:152: error: 'malloc' was not declared in this scope > UCvsConsole.cpp: In function 'int gtkkeypress(GtkWidget*, GdkEventKey*, > void*)': > UCvsConsole.cpp:236: error: 'malloc' was not declared in this scope > UCvsConsole.cpp:250: error: 'free' was not declared in this scope > make[3]: *** [UCvsConsole.o] Error 1 --- rf/uwidget.cpp~ 2007-04-01 19:21:18.000000000 +0000 +++ rf/uwidget.cpp 2007-04-01 19:21:24.000000000 +0000 @@ -24,6 +24,7 @@ #include "config.h" #endif +#include <cstdlib> #include <stdio.h> #include "uwidget.h" --- cvstree/main.cpp~ 2007-04-01 19:19:42.000000000 +0000 +++ cvstree/main.cpp 2007-04-01 19:19:47.000000000 +0000 @@ -1,3 +1,4 @@ +#include <cstdlib> #include <stdio.h> #include "getopt.h" #include <errno.h> --- common/UCvsConsole.cpp~ 2007-04-01 19:18:25.000000000 +0000 +++ common/UCvsConsole.cpp 2007-04-01 19:18:37.000000000 +0000 @@ -34,6 +34,8 @@ #include "uconsole.h" #include "TclGlue.h" +#include <cstdlib> + UIMPLEMENT_DYNAMIC(UCvsConsole, UWidget) UBEGIN_MESSAGE_MAP(UCvsConsole, UWidget) -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]