[BIRD 1.6.x] Unix: fix compilation with GCC 10
Ondrej Zajicek
santiago at crfreenet.org
Mon Sep 28 16:40:54 CEST 2020
On Mon, Sep 28, 2020 at 03:01:12PM +0200, Vincent Bernat wrote:
> GCC 10 will now error when declaring a global variable twice:
> https://gcc.gnu.org/gcc-10/porting_to.html#common
>
> Fix this issue by declaring the variable as `extern' in `krt.h'. The
> variable is really declared in `krt.c'.
Thanks, merged. I noticed this issue in Debian bugreport mails, as they
compile Testing with GCC 10. Unfortunately, GCC 10 is not in Backports.
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
More information about the Bird-users
mailing list