[KDE/Mac] Review Request 121381: [OS X] correct isnan/isinf dependency
René J.V. Bertin
rjvbertin at gmail.com
Sun Dec 7 18:54:04 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121381/
-----------------------------------------------------------
(Updated Dec. 7, 2014, 6:54 p.m.)
Status
------
This change has been marked as submitted.
Review request for KDE Software on Mac OS X and Massif Visualizer.
Repository: massif-visualizer
Description
-------
The current version of massif-visualizer assumes in KDABLibFakes.h that OS X doesn't have isnan() and isinf() but instead provides the std:: versions of the same via cmath if `_GLIBCPP_USE_C99` is defined. This is not true on OS X 10.9, and earlier versions also provide the traditional isnan() and isinf() functions through math.h .
It appears to be necessary to provide an explicit cast to double, though, so that `Value` class instances are accepted.
Diffs
-----
kdchart/kdablibfakes/src/KDABLibFakes.h dafd261
Diff: https://git.reviewboard.kde.org/r/121381/diff/
Testing
-------
On Mac OS X 10.9.4 .
Thanks,
René J.V. Bertin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20141207/0bf5d940/attachment.html>
More information about the kde-mac
mailing list