Fixes build for me.
Details
Details
- Reviewers
ivan - Group Reviewers
Plasma - Commits
- R111:b0578798eb3f: signalplotter: Use std namespaced isnan and isinf
Diff Detail
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.
Comment Actions
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.
Comment Actions
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.