#38330: marble @4.10.1: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'? --------------------------+---------------------- Reporter: ryandesign@… | Owner: sharky@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: marble --------------------------+---------------------- Building marble @4.10.1 fails on OS X 10.8.2 with Xcode 4.6: {{{ [ 93%] /opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_marble/marble/work/marble-4.10.1/src/plugins/positionprovider/gpsd/GpsdPositionProviderPlugin.cpp:79:42: error: use of undeclared identifier 'isnan'; did you m[ 93%] ean 'std::isnan'? if ( data.status == STATUS_NO_FIX || isnan( data.fix.longitude ) || isnan( data.fix.latitude ) ) ^~~~~ std::isnan /usr/include/c++/4.2.1/cmath:550:5: note: 'std::isnan' declared here isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); } ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/38330> MacPorts <http://www.macports.org/> Ports system for OS X