Package: konwert
Version: 1.8-11
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.  A patch for this problem is
below.

> Automatic build of konwert_1.8-11 on coconut0 by sbuild/ia64 0.49
...
> g++ -O2 -g -Wall bin/filterm.cc -lutil -o bin/filterm
> In file included from 
> /usr/lib/gcc-snapshot/lib/gcc/ia64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward/iostream.h:31,
>                  from bin/filterm.cc:1:
> /usr/lib/gcc-snapshot/lib/gcc/ia64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward/backward_warning.h:32:2:
>  warning: #warning This file includes at least one deprecated or antiquated 
> header. Please consider using one of the 32 headers found in section 17.4.1.2 
> of the C++ standard. Examples include substituting the <X> header for the 
> <X.h> header for C++ includes, or <iostream> instead of the deprecated header 
> <iostream.h>. To disable this warning use -Wno-deprecated.
> bin/filterm.cc:57: error: 'PATH_MAX' was not declared in this scope
> bin/filterm.cc:58: error: 'linedata' was not declared in this scope
> bin/filterm.cc: In function 'void konwert(char*)':
> bin/filterm.cc:107: warning: missing sentinel in function call
> bin/filterm.cc: In function 'void komenda(int, char**)':
> bin/filterm.cc:122: warning: missing sentinel in function call
> bin/filterm.cc:131: warning: missing sentinel in function call
> bin/filterm.cc: At global scope:
> bin/filterm.cc:150: warning: ISO C++ forbids declaration of 'main' with no 
> type
> bin/filterm.cc: In function 'int main(int, char**)':
> bin/filterm.cc:154: warning: deprecated conversion from string constant to 
> 'char*'
> bin/filterm.cc:183: warning: deprecated conversion from string constant to 
> 'char*'
> bin/filterm.cc:234: warning: deprecated conversion from string constant to 
> 'char*'
> make[1]: *** [bin/filterm] Error 1
> make[1]: Leaving directory `/build/tbm/konwert-1.8'
> make: *** [build-stamp] Error 2


--- bin/filterm.cc~     2007-03-04 21:17:06.000000000 +0000
+++ bin/filterm.cc      2007-03-04 21:17:24.000000000 +0000
@@ -1,4 +1,5 @@
 #include <iostream.h>
+#include <limits.h>
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to