* Dominic Hargreaves <[EMAIL PROTECTED]> [2008-02-24 22:56]: > With this environment, I don't get the error. src/agg_renderer.os, and > indeed the package as a whole, builds fine. > > Could you give me a hint as to how you triggered the failure? > You previously mentioned using gcc-snapshot, but since gcc 4.3 is now in > experimental I'm assuming that's a better way to test?
Indeed, I'm using gcc-4.3 these days too. Basically, I have a chroot where gcc points to gcc-4.3. I just tried to package in a normal chroot with CC=gcc-4.3 CXX=g++-4.3 dpkg-buildpackage -rfakeroot but it seems that your build system doesn't honour $CC/$CXX and uses gcc/g++ anyway. Nevertheless, when I replace the gcc call with gcc-4.3, I still see the failure: (sid)4674:[EMAIL PROTECTED]: ~/src/mapnik-0.5.0] g++-4.3 -o src/agg_renderer.os -c -DUSE_FRIBIDI -DHAVE_LIBXML2 -ansi -Wall -pthread -ftemplate-depth-100 -DLINUX -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O2 -finline-functions -Wno-inline -DNDEBUG -fPIC -Iagg/include -Iinclude -I. -I/usr/include -I/usr/include/postgresql -I/usr/include/gdal -I/usr/include/freetype2 -I/usr/include/libxml2 src/agg_renderer.cpp In file included from include/mapnik/geometry.hpp:30, from include/mapnik/feature.hpp:29, from include/mapnik/datasource.hpp:31, from include/mapnik/feature_style_processor.hpp:30, from include/mapnik/agg_renderer.hpp:30, from src/agg_renderer.cpp:25: include/mapnik/vertex_vector.hpp: In member function ‘void mapnik::vertex_vector<T>::allocate_block(unsigned int)’: include/mapnik/vertex_vector.hpp:127: error: ‘memcpy’ is not a member of ‘std’ include/mapnik/vertex_vector.hpp:128: error: ‘memcpy’ is not a member of ‘std’ In file included from include/mapnik/graphics.hpp:28, from include/mapnik/raster.hpp:27, from include/mapnik/feature.hpp:30, from include/mapnik/datasource.hpp:31, from include/mapnik/feature_style_processor.hpp:30, from include/mapnik/agg_renderer.hpp:30, from src/agg_renderer.cpp:25: include/mapnik/color.hpp: In constructor ‘mapnik::Color::Color(int, int, int, int)’: include/mapnik/color.hpp:46: warning: suggest parentheses around arithmetic in operand of | include/mapnik/color.hpp: In member function ‘void mapnik::Color::set_alpha(unsigned int)’: include/mapnik/color.hpp:91: warning: suggest parentheses around arithmetic in operand of | In file included from include/mapnik/label_collision_detector.hpp:28, from include/mapnik/agg_renderer.hpp:32, from src/agg_renderer.cpp:25: include/mapnik/quad_tree.hpp: In constructor ‘mapnik::quad_tree<T>::node::node(const mapnik::Envelope<double>&)’: include/mapnik/quad_tree.hpp:52: error: ‘memset’ is not a member of ‘std’ zsh: exit 1 g++-4.3 -o src/agg_renderer.os -c -DUSE_FRIBIDI -DHAVE_LIBXML2 -ansi -Wall (sid)4675:[EMAIL PROTECTED]: ~/src/mapnik-0.5.0] -- Martin Michlmayr http://www.cyrius.com/