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

Include functional to fix error C2039 and C2504 #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LilyWangLL
Copy link

Hello, I'm a member of Microsoft VCPKG, when I built this port in an internal version of Visual Studio, it failed with following errors:

D:\buildtrees\moos-core\src\v10.4.0-b8b4dc3523.clean\Core\libMOOS\Utils\MOOSUtilityFunctions.cpp(380): error C2039: 'binary_function': is not a member of 'std'
D:\buildtrees\moos-core\src\v10.4.0-b8b4dc3523.clean\Core\libMOOS\Utils\MOOSUtilityFunctions.cpp(380): error C2504: 'binary_function': base class undefined
D:\buildtrees\moos-core\src\v10.4.0-b8b4dc3523.clean\Core\libMOOS\Utils\MOOSUtilityFunctions.cpp(380): error C2143: syntax error: missing ',' before '<'

The reason is new STL change, need include <functional> to fix them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant