Subject: sigc++2 and gcc 2.x
To: bsieker@freenet.de, <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 01/03/2005 09:35:32
Under NetBSD 1.6.x, sigc++ building with native gcc 2.95.3 fails:

../sigc++/adaptors/bind.h:1797: `deduce_result_type_internal' is not a
template
../sigc++/adaptors/bind.h:1797: `type' is not a class or namespace
../sigc++/adaptors/bind.h:1797: ANSI C++ forbids declaration `type' with
no type
../sigc++/adaptors/bind.h:1908: `deduce_result_type_internal' is not a
template
../sigc++/adaptors/bind.h:1908: `type' is not a class or namespace
../sigc++/adaptors/bind.h:1908: ANSI C++ forbids declaration `type' with
no type
../sigc++/adaptors/bind.h:1999: `deduce_result_type_internal' is not a
template
../sigc++/adaptors/bind.h:1999: `type' is not a class or namespace
../sigc++/adaptors/bind.h:1999: ANSI C++ forbids declaration `type' with
no type
gmake[2]: *** [test_functor_trait.o] Error 1

A message at
http://mail.gnome.org/archives/libsigc-list/2004-July/msg00031.html
says that you need gcc >= 3.2.

It also says gtkmm has same problem.


 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/