[OpenWrt-Devel] olsrd: not compiling with gcc 9

Nick vincent at systemli.org
Sun Jun 7 16:27:06 EDT 2020


Here is a PR that is fixing the issue. Why is that not merged? :/

https://github.com/OLSR/olsrd/pull/79/files

On 07.06.20 22:03, Rosen Penev wrote:
>
>> 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

_______________________________________________
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