[OpenWrt-Devel] olsrd: not compiling with gcc 9
Rosen Penev
rosenp at gmail.com
Sun Jun 7 16:03:52 EDT 2020
> Le 7 juin 2020 à 1:00 PM, Nick <vincent at systemli.org> a écrit :
>
> I can not compile olsrd daemon with gcc9.
>> #define isNaN(x) (x != x)
>> ...
>> if (!isNaN(gpsdata->fix.time)) {
> Here fix.time is a struct timespec.
> The call is just wrong, or? Why should I check a struct for a valid float?
This broke when gpsutils got updated. API change with libgps.
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list