Package: ocrad
Version: 0.17-3
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 ocrad_0.17-3 on em64t by sbuild/amd64 0.53
...
> g++ -Wall -W -O2 -c -o track.o track.cc
> In file included from track.cc:21:
> common.h: In constructor 'Control::Control()':
> common.h:88: error: 'stdout' was not declared in this scope
> track.cc: In constructor 'Vrhomboid::Vrhomboid(int, int, int, int, int)':
> track.cc:142: error: 'fprintf' is not a member of 'std'
> track.cc:142: error: 'stderr' was not declared in this scope
> make[1]: *** [track.o] Error 1
> make[1]: Leaving directory `/build/tbm/ocrad-0.17'
--- common.h~ 2008-11-08 07:11:21.000000000 +0000
+++ common.h 2008-11-08 07:11:27.000000000 +0000
@@ -15,6 +15,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <cstdio>
#include <string>
namespace Ocrad {
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]