OctoMap/octomap

Build failure on Windows

Closed this issue · 2 comments

octomap\src\compare_octrees.cpp(136): error C2039: '_isnan': is not a member of 'std'

#ifdef _MSC_VER // fix missing isnan for VC++
#define isnan(x) _isnan(x)
#endif

->

#if defined(_MSVC_LANG) && _MSVC_LANG < 201103L
#define isnan(x) _isnan(x)   
#endif 

I found this #417

Fixed with #417