bug in remap.cpp with using -DPACK_MEMCPY

I was building with an old version of the tarball (2012-10-28) successfully and when i updated to the latest version (2013-04-24) I get this compiler error from remap.cpp:

/bgsys/drivers/ppcfloor/comm/xl.legacy/bin/mpixlcxx_r -g -O3 -qsmp=omp -qunroll -Q -qhot -DLMP_USER_OMP -DFFT_FFTW3 -DFFT_SINGLE -I/bglhome/pkcoff/bgq_svn/bgq/system_tests/applications/anlbench/LAMMPS/update1/FFTW3/include -DPACK_MEMCPY -M -c remap.cpp
“pack.h”, line 552.7: 1540-0274 (S) The name lookup for “memcpy” did not find a declaration.
“pack.h”, line 581.7: 1540-0274 (S) The name lookup for “memcpy” did not find a declaration.

It happens only if I specify -DPACK_MEMCPY. The difference is this line:

#include “string.h”

has been removed from remap.cpp, if it is added it again works.

Paul Coffman
Blue Gene SST Team
Phone: 608-519-0874 Cell phone: 507-254-0762
Internet Address: [email protected]…2473…