-
Notifications
You must be signed in to change notification settings - Fork 0
Description
I just cloned Freemacs today and tried to build it. I got 2 errors compiling Mint/mint.cpp. Both errors are identical:
no matching function for call to 'min(long unsigned int, long long unsigned int&)'
227 | mintcount_t index = std::min(ch - 0x80UL, last_index);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
last_index only appears 3 times in the source. Not knowing C++, I don't know how auto works and have no idea how to fix it.
Mint/mint.cpp:208: auto last_index = arg_vec.size() - 1;
Mint/mint.cpp:216: mintcount_t index = std::min(ch - 0x80UL, last_index);
Mint/mint.cpp:227: mintcount_t index = std::min(ch - 0x80UL, last_index);
Versions:
gcc 15.2.0-8
boost 1.89.0-1
I might be making a mistake, I'm building it the Unix way (with the Makefile) using the UCRT64 environment of MSYS2, which is meant for building Windows programs. MSYS2 lacks a boost package for its more Unix-like (Cygwin-derived) MSYS environment.