Hi,
MinGW gcc 3.4.4 is an important compiler to be
supported for those keeping up the open source effort on windows. Below
are a couple compilation problems and solutions in case Ion doesn't find
time to fix them.
Compiling shmem with Visual C++ 7.0 gives a number of errors, for those
interested who could maybe suggest workarounds:
http://myweb.tiscali.co.uk/janstetka/Output-Build.txt
Compiling shmem with MinGW gcc 3.4.4 it appears that the following
headers are required
#include
#include "boost/shmem/offset_ptr.hpp"
before
shmem/containers/map.hpp
and
#include
before
#include "boost/shmem/sync/xtime.hpp"
and MinGW gcc 3.4.4 doesn't like a number assigned to a variable in
xtime.hpp
c:/boost_1_33_1/boost/shmem/sync/xtime.hpp: In function `int
boost::shmem::xtime_get(boost::shmem::xtime*, int)':
c:/boost_1_33_1/boost/shmem/sync/xtime.hpp:89: error: integer constant
is too large for "long" type
this refers to the following code:
static const boost::uint64_t timespec_to_filetime_offset =
(boost::uint64_t)(116444736000000000);
if this is altered to:
static const boost::uint64_t timespec_to_filetime_offset =
(boost::uint64_t)(116444736000000000ULL);
then it compiles.
Thanks