Skip to content

Build errors on macOS #436

@VyasGuru

Description

@VyasGuru

Build failures on macOS (AppleClang 17): missing <cassert> & invalid template usage

Environment: macOS (Apple Silicon), AppleClang 17, Eigen 3.4.0

Description

Building on AppleClang 17 fails, probably due to stricter C++ compliance

1. Missing <cassert>
In crhmc_utils.h Calls to assert are made without including <cassert>, resulting in use of undeclared identifier 'assert' errors.

2. Invalid template keyword
In include/sampling/mmcs.hpp, the template disambiguator is incorrectly applied to non-template member functions.

  • Error: a template argument list is expected after a name prefixed by the template keyword

Probably a system-specific issue, worth looking into.

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