swri-robotics / gps_umd

BSD 3-Clause "New" or "Revised" License
88 stars 94 forks source link

gpsd_client does not compile on Gentoo #9

Closed flabrosse closed 7 years ago

flabrosse commented 7 years ago

Hi,

When attempting to compile gpsd_client (via the gentoo package, https://github.com/ros/ros-overlay/issues/279), I get an undefined isnan() in client.cpp. The fix is to:

# include <cmath>

Cheers,

Fred

pjreed commented 7 years ago

It's currently compiling with gcc 5.4.0 on Ubuntu 16.04, so the issue probably isn't due to the compiler, but rather due to some transitive dependency missing from headers in Gentoo. Still, it'd be a good idea to include that, so I'll go ahead and do it.