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

2020-06-07 Thread Sven Roederer
Am Sonntag, 7. Juni 2020, 23:39:08 CEST schrieb Rosen Penev: > > Le 7 juin 2020 à 1:38 PM, Nick a écrit : > > > > I would suggest doing this PR as patch like freifunk berlin is doing it: > > https://github.com/freifunk-berlin/firmware/commit/93f9a026e025c7b663369f5 > > 284cec0bb91345220 >

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

2020-06-07 Thread Rosen Penev
> Le 7 juin 2020 à 1:38 PM, Nick a écrit : > > I would suggest doing this PR as patch like freifunk berlin is doing it: > https://github.com/freifunk-berlin/firmware/commit/93f9a026e025c7b663369f5284cec0bb91345220 Someone needs to propose one then. > > Otherwise, olsrd won't compile anymore.

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

2020-06-07 Thread Nick
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,

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

2020-06-07 Thread Nick
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 a écrit : >> >> I can not compile olsrd daemon with gcc9. >>> #define isNaN(x) (x != x) >>> ... >>> if

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

2020-06-07 Thread Rosen Penev
> Le 7 juin 2020 à 1:00 PM, Nick 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

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

2020-06-07 Thread Nick
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? ___ openwrt-devel mailing list