[OpenWrt-Devel] olsrd: not compiling with gcc 9
Nick
vincent at systemli.org
Sun Jun 7 16:38:12 EDT 2020
I would suggest doing this PR as patch like freifunk berlin is doing it:
https://github.com/freifunk-berlin/firmware/commit/93f9a026e025c7b663369f5284cec0bb91345220
Otherwise, olsrd won't compile anymore. :/ Or making a fork, because
olsrd seems not to be maintained anymore.
On 07.06.20 22:27, Nick wrote:
> 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
_______________________________________________
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