I'm getting the following error (see below) when building libsigc++2 from CVS with jhbuild. I never used to get this error, and I haven't been able to figure out what it's trying to tell me about nested-name-specifiers. I recently upgraded my computer to Ubuntu Dapper (pre-release) which has g++ version 4.0.3. Breezy had 4.0.1, so it's possible that the new compiler is more strict about something, but I haven't been able to track down how to fix it. Any ideas?
---------------------- make make all-recursive make[1]: Entering directory `/home/jonathon/.cvs/gnome2/libsigc++2' Making all in sigc++ make[2]: Entering directory `/home/jonathon/.cvs/gnome2/libsigc++2/sigc++' /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -g -O2 -c signal.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -g -O2 -Wp,-MD,.deps/signal.pp -c signal.cc -fPIC -DPIC -o .libs/signal.o /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -g -O2 -c signal_base.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -g -O2 -Wp,-MD,.deps/signal_base.pp -c signal_base.cc -fPIC -DPIC -o .libs/signal_base.o ../sigc++/trackable.h:76: error: typedef name may not be a nested-name-specifier ../sigc++/trackable.h:76: error: expected ';' before '<' token ../sigc++/trackable.h:77: error: 'callback_list' does not name a type ./signal.h:35: error: 'bidirectional_iterator_tag' in namespace 'std' does not name a type ./signal.h:43: error: 'sigc::internal::signal_impl' has not been declared ./signal.h:43: error: expected nested-name-specifier before 'iterator_type' ./signal.h:43: error: expected ';' before 'iterator_type' ./signal.h:48: error: expected ',' or '...' before '&' token .... clipped about 300 lines of cascading errors. (please cc: me as I'm not subscribed to the list) Jonner _______________________________________________ libsigc-list mailing list libsigc-list@gnome.org http://mail.gnome.org/mailman/listinfo/libsigc-list