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.
Build failures on macOS (AppleClang 17): missing
<cassert>& invalidtemplateusageEnvironment: 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.hCalls toassertare made without including<cassert>, resulting inuse of undeclared identifier 'assert'errors.2. Invalid
templatekeywordIn
include/sampling/mmcs.hpp, thetemplatedisambiguator is incorrectly applied to non-template member functions.a template argument list is expected after a name prefixed by the template keywordProbably a system-specific issue, worth looking into.