[KDE/Mac] Review Request 121381: [OS X] correct isnan/isinf dependency

René J.V. Bertin rjvbertin at gmail.com
Sun Dec 7 15:04:39 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121381/
-----------------------------------------------------------

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/4ebd110e/attachment.html>


More information about the kde-mac mailing list