public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/10875: There is no multiple symbol definition error or warning for global symbols
@ 2003-05-19 22:10 bangerth
0 siblings, 0 replies; only message in thread
From: bangerth @ 2003-05-19 22:10 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, jmortensen, nobody
Synopsis: There is no multiple symbol definition error or warning for global symbols
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Mon May 19 22:10:33 2003
State-Changed-Why:
The code is not legal, but the standard says that no
diagnostic is required.
If you want to complain anywhere, do so with the binutils
guys. They maintain the linker. Most frequently, though,
the answer will probably be "Don't do it". The reason
being that the linker will usually warn you if a symbol
has different size, but "int" and "int*" often have the
same size, and then the linker can't really do anything
about it.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10875
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-19 22:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-19 22:10 c/10875: There is no multiple symbol definition error or warning for global symbols bangerth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).