[Bug c++/31300] undetected class name clash
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Mon Mar 26 14:17:00 GMT 2007
------- Comment #9 from bangerth at dealii dot org 2007-03-26 15:17 -------
(In reply to comment #8)
> but I guess it could be possible at link time, as it is already the case
> for C symbols.
We also don't do that in C: if you have two functions of the same name defined
in two different .c files and link the result together, there is no guarantee
which one is going to be called unless you marked the functions as static.
> There is already patent about this :
> http://www.freepatentsonline.com/6149318.html
As always in free software, you're welcome to implement those suggestions
in gcc and contribute the results back to the project.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31300
More information about the Gcc-bugs
mailing list