D26486: Fix build with gpsd 3.20

Christoph Feck noreply at phabricator.kde.org
Tue Jan 7 18:56:33 GMT 2020


cfeck added inline comments.

INLINE COMMENTS

> GpsdPositionProviderPlugin.cpp:117
> +#if defined( GPSD_API_MAJOR_VERSION ) && ( GPSD_API_MAJOR_VERSION >= 9 )
> +        if ( !std::isnan( data.fix.time.tv_sec ) && !std::isnan( data.fix.time.tv_nsec ) )
> +#else

tv_nsec is a `long`, so it is never a NaN.

REPOSITORY
  R34 Marble

REVISION DETAIL
  https://phabricator.kde.org/D26486

To: arojas, #marble
Cc: cfeck, rikmills, marble-devel, kde-edu, fbampaloukas, torhamzed, jalvarez, mnafees, shentey, chaz6, dkolozsvari, narvaez, cmihalache, rahn, apol, nienhueser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20200107/33ed193b/attachment.html>


More information about the Marble-devel mailing list