Skip to content

Compilation error with make_array #167

@eliseemond

Description

@eliseemond

The compilation stops at test_GeneralisedPoissonNoiseGenerator.cxx:32 (CentOS 6.5, gcc 4.9 and boost 1.64) with the following error:

error: ‘make_array’ is not a member of ‘boost::serialization’
ar & serialization::make_array(data_, s);
^

The error is known for boost 1.64: (and is probably specific to boost 1.64)
https://stackoverflow.com/questions/44534516/error-make-array-is-not-a-member-of-boostserialization/44544474?noredirect=1#comment77438420_44544474

'make_array' was moved from array.hpp to array_wrapper.hpp (in Boost/Serialization):
uBLAS/ublas#55 (comment)

Workaround: including
#include <boost/serialization/array_wrapper.hpp>
in the GeneralisedPoissonNoiseGenerator.h

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions