vc6.0 is a very old compiler there are known code generation problems (to me personally) before sp4 (btw, sp6 is the latest) At Sunday 2004-06-06 02:28, you wrote:
Hi all, while trying to compile the city_visitor.cpp example in the Graph lib with VC60 SP 3, I've got the following error -------------- --------------------Configuration: CityVisitor - Win32 Release-------------------- Compiling... CityVisitor.cpp C:\BOOST\INCLUDE\BOOST-1_31\boost/graph/depth_first_search.hpp(132) : error C2059: syntax error : 'static_cast' C:\BOOST\INCLUDE\BOOST-1_31\boost/graph/depth_first_search.hpp(228) : see reference to function template instantiation 'void __cdecl boost::detail::depth_first_visit_impl(const class boost::adjacency_list
&,unsigned int,class boost::dfs_visitor > > &,class boost::iterator_property_map ,enum boost::default_color_type,enum boost::default_color_type &>,struct boost:: detail::nontruth2)' being compiled Error executing cl.exe. CityVisitor.exe - 1 error(s), 0 warning(s) --------------------------------------------- To be noted, the static_cast operator compiles normally in any other application. The archives of the mailing list contains a similar complain with iterator.hpp (dated Feb 2003 !!) but no solutions were posted in response. Anybody have any idea how to get through this problem Regards, M.Hosni _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"