Package: wvstreams
Version: 4.2.2-2.1

Your package fails to build with GCC 4.2.  Version 4.2 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  The bug below is probably in your
package and not because I'm using a snapshot of the compiler so please
take a look at it.  You can reproduce this with the gcc-snapshot
package (20060912-1 or higher).


> Automatic build of wvstreams_4.2.2-2.1 on em64t by sbuild/amd64 0.49
...
> x86_64-linux-gnu-g++ -Wall -O2 -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE 
> -DISLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall 
> -I/usr/include/tcl8.3 -I/usr/include -I/usr/include/qt3 
> -I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib -pipe 
> -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 
> -Wall  -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual -fno-rtti 
> -fno-exceptions -I/usr/include/tcl8.3 -I/usr/include -I/usr/include/qt3 
> -I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib -pipe 
> -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 
> -Wall -Woverloaded-virtual -DWVSTREAMS_RELEASE=\"4.2.2\"     -c 
> utils/wvvector.cc -o utils/wvvector.o
> In file included from utils/wvvector.cc:7:
> ./include/wvvector.h: In member function 'T* WvVector<T>::Iter::ptr() const':
> ./include/wvvector.h:361: error: there are no arguments to 'cur' that depend 
> on a template parameter, so a declaration of 'cur' must be available
> ./include/wvvector.h:361: error: (if you use '-fpermissive', G++ will accept 
> your code, but allowing the use of an undeclared name is deprecated)
> ./include/wvvector.h: In member function 'bool 
> WvVector<T>::Iter::get_autofree() const':
> ./include/wvvector.h:371: error: 'link' was not declared in this scope
> ./include/wvvector.h: In member function 'void 
> WvVector<T>::Iter::set_autofree(bool)':
> ./include/wvvector.h:379: error: 'link' was not declared in this scope
> ./include/wvvector.h: In member function 'void 
> WvVector<T>::Iter::remove(bool)':
> ./include/wvvector.h:389: error: 'i' was not declared in this scope
> ./include/wvvector.h: In member function 'void 
> WvVector<T>::Iter::xremove(bool)':
> ./include/wvvector.h:407: error: 'i' was not declared in this scope
> ./include/wvvector.h:408: error: there are no arguments to 'prev' that depend 
> on a template parameter, so a declaration of 'prev' must be available
> make[1]: *** [utils/wvvector.o] Error 1
> make[1]: Leaving directory `/build/tbm/wvstreams-4.2.2'

And some applications break because they include this header:

> Automatic build of retchmail_1:1.0-1 on em64t by sbuild/amd64 0.49
...
> g++  -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall -I/usr/include/wvstreams 
> -I/usr/include/xplc-0.3.13     -fno-implement-inlines -fno-rtti 
> -fno-exceptions -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual -fno-rtti 
> -fno-exceptions -I/usr/include/wvstreams -I/usr/include/xplc-0.3.13         
> -c retchmail.cc -o retchmail.o
> In file included from /usr/include/wvstreams/uniconf.h:21,
>                  from /usr/include/wvstreams/uniconfroot.h:18,
>                  from retchmail.cc:13:
> /usr/include/wvstreams/wvvector.h: In member function 'T* 
> WvVector<T>::Iter::ptr() const':
> /usr/include/wvstreams/wvvector.h:361: error: there are no arguments to 'cur' 
> that depend on a template parameter, so a declaration of 'cur' must be 
> available
...

> Automatic build of wvdial_1.56-1 on em64t by sbuild/amd64 0.49
...
> g++  -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall -I/usr/include/wvstreams 
> -I/usr/include/xplc-0.3.13     -fno-implement-inlines -fno-rtti 
> -fno-exceptions -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual -fno-rtti 
> -fno-exceptions -I/usr/include/wvstreams -I/usr/include/xplc-0.3.13         
> -c wvdialer.cc -o wvdialer.o
> In file included from /usr/include/wvstreams/uniconf.h:21,
>                  from /usr/include/wvstreams/uniconfroot.h:18,
>                  from /usr/include/wvstreams/wvconfemu.h:11,
>                  from wvdialer.h:15,
>                  from wvdialer.cc:9:
> /usr/include/wvstreams/wvvector.h: In member function 'T* 
> WvVector<T>::Iter::ptr() const':
> /usr/include/wvstreams/wvvector.h:361: error: there are no arguments to 'cur' 
> that depend on a template parameter, so a declaration of 'cur' must be 
> available
...

-- 
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