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] code fails to build with 4.1 20061020, which built with 20060901



------- Comment #3 from debian-gcc at lists dot debian dot org  2006-10-26 18:22 -------
without -fpermissive:

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


-- 


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]