jhu-cisst / cisst

JHU ERC CISST Library
http://github.com/jhu-cisst/cisst/wiki
Other
64 stars 47 forks source link

make neccessary changes to build cisst and other saw components with C++ 14 standard #54

Closed vincent-hui closed 6 years ago

vincent-hui commented 6 years ago

Without this patch, dvrk_console_json cannot be built with C++ 14 standard. This patch

  1. include instead of
  2. use std::isnan instead of isnan
  3. use std::isfinite instead of isfinite
  4. set CISST_OSTREAM_CAN_CAST_TO_VOID_PTR to 0

if CMAKE_CXX_STANDARD is set to 14 or 17. Please read https://groups.google.com/forum/#!topic/research-kit-for-davinci/E24PRPDaFKU