SGL-UT / gnsstk

The goal of the gnsstk project is to provide an open source library to the satellite navigation community--to free researchers to focus on research, not lower level coding.
Other
113 stars 50 forks source link

remove use of std::binary_function as it's removed in C++17 #19

Open rconde01 opened 1 year ago

rconde01 commented 1 year ago

https://en.cppreference.com/w/cpp/utility/functional/binary_function

gvanem commented 2 months ago

I have the same issue when using MSVC or clang-cl to build this. E.g. errors like:

core\lib\NavFilter\CNavFilterData.hpp(64): error C2039: 
'binary_function': is not a member of 'std' (compiling source file core/lib/NavFilter/CNavCrossSourceFilter.cpp)

But I'm not sure MSVC is a valid compiler for this GNSSTk project (?).