On Thu, Feb 21, 2008 at 11:10:24PM +0100, Martin Michlmayr wrote: > > Automatic build of mapnik_0.5.0-1 on em64t by sbuild/amd64 0.53 > ... > > g++ -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' > > scons: *** [src/agg_renderer.os] Error 1 > > scons: building terminated because of errors. > > make: *** [build-stamp] Error 2
Hi, Thanks for your report. I've passed on the report to upstream, and they are looking at it. Meanwhile, I attempted to reproduce the problem in an unstable chroot, with gcc 4:4.3-20070902-0 from experimental. This gives me: [EMAIL PROTECTED]:~$ gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure linux gnu Thread model: posix gcc version 4.3.0 20080219 (prerelease) [gcc-4_3-branch revision 132456] (Debian 4.3-20080219-1) 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? Thanks, Dominic. -- Dominic Hargreaves | http://www.larted.org.uk/~dom/ PGP key 5178E2A5 from the.earth.li (keyserver,web,email) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]