boostorg / core

Boost Core Utilities
133 stars 83 forks source link

error C2039: "_finite": 不是"std"的成员 #157

Closed liuaifu closed 10 months ago

liuaifu commented 1 year ago

boost/core/cmath.hpp(239,12): error C2039: "_finite": 不是"std"的成员

boost/core/cmath.hpp(239,12): error C2039: "_finite": is not a member of "std"

Compiled OK after comment "using std::isfinite;"

Windows10 + Boost1.83 + Visual C++ 17.5.2 /std:c++14

pdimov commented 1 year ago

You have a #define isfinite _finite somewhere.

liuaifu commented 10 months ago

This issue has been resolved. It took a while, and I forgot what caused it, but it should be my own mistake anyway.