signalplotter: Use std namespaced isnan and isinf
ClosedPublic

Authored by drosca on Feb 23 2016, 4:38 PM.

Details

Test Plan

Fixes build for me.

Diff Detail

Repository
R111 KSysguard Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
drosca updated this revision to Diff 2441.Feb 23 2016, 4:38 PM
drosca retitled this revision from to signalplotter: Use std namespaced isnan and isinf.
drosca updated this object.
drosca edited the test plan for this revision. (Show Details)
drosca added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptFeb 23 2016, 4:38 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
ivan added a subscriber: ivan.Feb 23 2016, 4:48 PM

What build issue did you have? Was <cmath> change not enough?

error: ‘isnan’ was not declared in this scope

No, changing to cmath is not enough. Actually it builds even without including cmath, so some other header must include it.

ivan accepted this revision.Feb 23 2016, 5:35 PM
ivan added a reviewer: ivan.

I'd say it should be ok with std:: for standard-compliant compilers. I hope we will not have issues due to some strange compiler.

This revision is now accepted and ready to land.Feb 23 2016, 5:35 PM
This revision was automatically updated to reflect the committed changes.