Source: mailavenger
Followup-For: Bug #957514
Control: tags -1 patch

Hi Dererk,

The reason for this FTBFS is that gcc 10 now defaults to -fno-common, which then
throws errors because there are some tentative definitions in .h files, and some
definitions of an int `garbage` in several .c files.

Here's a branch that fixes that:

  https://salsa.debian.org/debian/mailavenger/-/commits/gcc_10

by adding `__attribute__((__common__))` to those variables.

I separated the patches, because the `garbage` definitions seem a little
different in character.

Cheers, Phil.

P.S. my C programming experience is from the previous millenium, so I could
easily have got this wrong. I will not be upset if you point this out :-)

Reply via email to