Package: tesseract Version: 2.03-2 User: [EMAIL PROTECTED] Usertags: ftbfs-gcc-4.4 Tags: patch
Your package fails to build with the upcoming GCC 4.4. Version 4.4 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. GCC 4.4 cleaned up some more C++ headers. You always have to #include headers directly and cannot rely for things to be included indirectly. You can reproduce this problem with gcc-snapshot from unstable. > Automatic build of tesseract_2.03-2 on em64t by sbuild/amd64 0.53 ... > x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g > -DTESSDATA_PREFIX=/usr/share/tesseract-ocr/ -O2 -c svmnode.cpp > x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g > -DTESSDATA_PREFIX=/usr/share/tesseract-ocr/ -O2 -c svutil.cpp > svutil.cpp: In constructor 'SVNetwork::SVNetwork(const char*, int)': > svutil.cpp:315: error: 'snprintf' was not declared in this scope > make[4]: *** [svutil.o] Error 1 --- viewer/svutil.cpp~ 2008-11-07 19:24:40.000000000 +0000 +++ viewer/svutil.cpp 2008-11-07 19:24:48.000000000 +0000 @@ -39,6 +39,7 @@ #include <iostream> #include <string> #include <cstring> +#include <cstdio> #include <cstdlib> const int kBufferSize = 65536; -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

