mapnik/mapnik — Issue #987: compile error on linux in master
Author: springmeyer
Created: 2011-12-07 00:33:49+00:00
State: open

spotted via debian nightlies:

```
g++ -o src/wkt/wkt_factory.os -c -DHAVE_JPEG -DBOOST_REGEX_HAS_ICU -ansi -Wall -pthread -ftemplate-depth-300 -DLINUX -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O3 -finline-functions -Wno-inline -Wno-parentheses -Wno-char-subscripts -DNDEBUG -DHAVE_CAIRO -fPIC -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng12 -Ideps/agg/include -I. -Iinclude -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/postgresql -I/usr/include/gdal src/wkt/wkt_factory.cpp
In file included from include/mapnik/geometry.hpp:27,
from include/mapnik/wkt/wkt_factory.hpp:28,
from src/wkt/wkt_factory.cpp:27:
include/mapnik/vertex_vector.hpp: In member function 'void mapnik::vertex_vector::allocate_block(unsigned int)':
include/mapnik/vertex_vector.hpp:129: error: 'memcpy' is not a member of 'std'
include/mapnik/vertex_vector.hpp:130: error: 'memcpy' is not a member of 'std'
scons: *** [src/wkt/wkt_factory.os] Error 1
scons: building terminated because of errors.
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/build/buildd/mapnik-2.0.0+dev20111207.git.7c9a67b'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20111207-0029
```