[vbox-dev] problem with new GCC 10
Valdis Kl=?utf-8?Q?=c4=93?=tnieks
valdis.kletnieks at vt.edu
Wed Feb 5 01:35:52 UTC 2020
On Wed, 05 Feb 2020 01:06:27 +0000, S?rgio Basto said:
> Hi,
> Now seems to me, GCC10 forbids multiple definitions , I got at least 3 packages with this
> problem (of multiple definitions [1]) but in Virtual Box we have thousand of lines this these [2]
This is because gcc 10 changes the default to -fno-common.
I'll let somebody else figure out if it's better to fiddle with CFLAGS or
go through and for each problematic variable, make one instance the
official one and make all the others 'extern' references to it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20200204/11d98267/attachment.sig>
More information about the vbox-dev
mailing list