diff -up kmplot-15.12.2/kmplot/view.cpp.than kmplot-15.12.2/kmplot/view.cpp
--- kmplot-15.12.2/kmplot/view.cpp.than 2016-02-16 23:10:50.711395850 +0100
+++ kmplot-15.12.2/kmplot/view.cpp 2016-02-16 23:26:46.521001969 +0100
@@ -476,7 +476,7 @@ QPointF View::toPixel( const QPointF & r
double x = pixel.x();
double y = pixel.y();
- if ( isnan(x) )
+ if ( std::isnan(x) )
{
xclipflg = true;
x = pixelIfNaN.x();
@@ -496,14 +496,14 @@ QPointF View::toPixel( const QPointF & r
}
else
{
- if ( isinf(x) == -1 )
+ if ( std::isinf(x) == -1 )
x = 0;
- else if ( isinf(x) == 1 )
+ else if ( std::isinf(x) == 1 )
x = m_clipRect.right();
}
- if ( isnan(y) )
+ if ( std::isnan(y) )
{
yclipflg = true;
y = pixelIfNaN.y();
@@ -523,10 +523,10 @@ QPointF View::toPixel( const QPointF & r
}
else
{
- if ( isinf(y) == -1 )
+ if ( std::isinf(y) == -1 )
y = 0;
- else if ( isinf(y) == 1 )
+ else if ( std::isinf(y) == 1 )
y = m_clipRect.bottom();
}