c/10696: linker problem with global variable
ehrhardt@mathematik.uni-ulm.de
ehrhardt@mathematik.uni-ulm.de
Fri May 9 09:32:00 GMT 2003
Synopsis: linker problem with global variable
State-Changed-From-To: open->closed
State-Changed-By: cae
State-Changed-When: Fri May 9 09:32:06 2003
State-Changed-Why:
Not a bug! As defined in 6.2.2 foo_global has external linkage in
both translation units, hence both identifiers refer to the same object.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10696
More information about the Gcc-bugs
mailing list