[Marble-devel] Review Request: Use qPow instead of pow10 to fix the build on !Linux

Raphael Kubo da Costa rakuco at freebsd.org
Sun Jan 29 14:43:09 UTC 2012


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

Review request for Marble.


Description
-------

Commit 49a9180e096240b44772a9e3f279e63b115dd2ce has added a call to pow10(), which is a GNU extension present only in glibc. This causes the build to fail on all systems which don't use glibc (OS X, the BSDs and Windows).

This patch replaces the call to pow10() with a call to qPow().


Diffs
-----

  src/lib/MarbleMath.h aeaadea 
  src/plugins/render/elevationprofile/ElevationProfilePlotAxis.cpp eec47fc 

Diff: http://git.reviewboard.kde.org/r/103821/diff/diff


Testing
-------

Marble now builds fine on FreeBSD again.


Thanks,

Raphael Kubo da Costa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20120129/ea3660e9/attachment.html>


More information about the Marble-devel mailing list