[Paraview-developers] vtkOSPRayRendererNode.cxx: error: ‘isnan’ was not declared

Favre Jean jfavre at cscs.ch
Wed Oct 26 07:50:24 EDT 2016


Hello developers

I switched to a new machine with a newer compiler.

g++ (Ubuntu 5.4.0) does not like

vtkOSPRayRendererNode.cxx:124:36: error: ‘isnan’ was not declared in this scope

I corrected to the following line to make it compile cleanly:

if (std::isnan(ospDepthBuffer[i]))

This is both in ParaView master, and 5.2RC2

-----------------
Jean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20161026/a79210ce/attachment.html>


More information about the Paraview-developers mailing list