This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901


the wvstreams package fails to build:

  Matthias
x86_64-linux-gnu-g++ -Wall -save-temps -O2  -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 
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall  
-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 
-fpermissive -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

x86_64-linux-gnu-g++: warning: -pipe ignored because -save-temps specified
./include/wvvector.h: In member function 'T* WvVector<T>::Iter::ptr() const':
./include/wvvector.h:361: warning: there are no arguments to 'cur' that depend
on a template parameter, so a declaration of 'cur' must be available
./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: warning: there are no arguments to 'prev' that depend
on a template parameter, so a declaration of 'prev' must be available
make: *** [utils/wvvector.o] Error 1


-- 
           Summary: code fails to build with 4.1 20061020, which built with
                    20060901
           Product: gcc
           Version: 3.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29607


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]