Skip to content

Build error on std::max under Windows #38

Description

@ChrisSchulte

Build of daeElements.cpp crashes due to lack of "#include <algorithm>".
The build didn't crash before because this include was indirectly included through boost, using this path:
src/dae/daeElement.cpp
include/dae/daeDatabase.h
include/dae.h
boost/filesystem/convenience.hpp
boost/filesystem/operations.hpp
boost/filesystem/path.hpp
algorithm
Problem is that between boost 1.76 and 1.77 this include in path.hpp has been suppressed. Adding it in daeElements.cpp corrects the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions