This is the mail archive of the
mailing list for the libstdc++ project.
Re: PATCH: Fix linkage in libsupc++
Gabriel Dos Reis wrote:
| I have looked at this part of the standard before, and despite theYes, please.
| language that you cite, I am not convinced that in my example above
| the compiler should check that the two declarations of "f" match. For
| example, if the first were "void f(int)" must the compiler issue an
| error? I think that program is ill-formed, because of the language
| you cite, but I see nothing that would cause name lookup for the
| definition to find the version in the namespace.
| If the committee disagrees with me, then we have a compiler bug.
I think we have a compiler bug. But a definitive word from the
committe cannot hurt. Do you want me to raise this on -core?