Makefile gives this error:
% make
In file included from /usr/include/c++/4.6/forward_list:35:0,
from splitMEM.cc:12:
/usr/include/c++/4.6/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
To fix it, it needs the option suggested:
% g++ -std=c++0x -O3 -o splitMEM splitMEM.cc
This then works.
Fixed Makefile