Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation of ebc3290 in vs2017 produces error C2039: 'min': is not a member of 'std' in file word_classifications.cpp(103) #97

Closed
jackL999 opened this issue Apr 6, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@jackL999
Copy link

jackL999 commented Apr 6, 2021

The problem is easily solved by adding
#include < algorithm >
to the file word_classifications.cpp

@chrisant996
Copy link
Owner

Thanks! It should use min<unsigned int> instead. Clink doesn't use std::min or std::max and has its own min<> and max<> templates that can be explicitly typed, avoiding troublesome explicit casts.

@chrisant996 chrisant996 reopened this Apr 7, 2021
@chrisant996 chrisant996 added the bug Something isn't working label May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants