GCC 10 build failures at BIRD 2.0.7
Robert Scheck
bird at robert-scheck.de
Tue Feb 4 00:18:41 CET 2020
On Mon, 03 Feb 2020, Toke Høiland-Jørgensen wrote:
> I think the below patch (against master) ought to fix it? Don't have a
> GCC v10 handy to test with, but at least it doesn't seem to break
> anything on GCC v9 :)
>
> I think the same patch ought to apply against Bird 2.0.7 as well...
https://koji.fedoraproject.org/koji/taskinfo?taskID=41348829 - yes, looks
good (also on RHEL/CentOS/EPEL 7 with old GCC 4.8.5). I wouldn't have
expected that the patch is that trivial when working on other packages/
software before.
> diff --git a/nest/route.h b/nest/route.h
> index d2a07f09..b927db5f 100644
> --- a/nest/route.h
> +++ b/nest/route.h
> @@ -458,7 +458,7 @@ typedef struct rta {
> protocol-specific metric is availabe */
>
>
> -const char * rta_dest_names[RTD_MAX];
> +extern const char * rta_dest_names[RTD_MAX];
>
> static inline const char *rta_dest_name(uint n)
> { return (n < RTD_MAX) ? rta_dest_names[n] : "???"; }
Could upstream please merge this to master and the next release? Thanks.
Regards,
Robert
More information about the Bird-users
mailing list