参照案例:
error C3861: “_isnan”: 找不到标识符
_isnan函数是C99标准的函数,有些编译器不包含
解决方案:#define isnan(x) ((x) != (x))
E0020 identifier “pcl_isnan” is undefined解决方案:
如果错误提示:identifier “pcl_isnan” is undefined
此时,需要将 #define isnan(x) ((x) != (x)) 更改为 #define pcl_isnan(x) ((x) != (x))
并将定义好的宏定义放于 “.h” 或 “.cpp” 即可。
引用:
[1]: https://blog.csdn.net/imgsq/article/details/56846420