Re: "common" symbols are no longer common?

Anders Magnusson <[email protected]> Sat, 22 Feb 2025 16:52:12 +0100
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
It means that  "int foo;" can only be declared in one compilation unit 
(object file). Back in the days declaring "int foo;" in the headers were 
the way to go, hence you declared them in multiple places (which is OK 
for a common symbol).
-- R
Den 2025-02-22 kl. 16:39, skrev Edgar Fuß:
> I'm not sure I understand this correctly.
>
> Is this about several compilation units declaring
> 	extern int foo;
> and no-one declaring
> 	int foo;
> and the question whether linking them together regards foo as undefined?