This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Fix linkage in libsupc++


Mark Mitchell <mark@codesourcery.com> writes:

| Gabriel Dos Reis wrote:
| 
| >| I have looked at this part of the standard before, and despite the
| >| 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?
| Yes, please.

Done.  See message c++std-core-10614 which concurs with my previous
sentiment that a diagnostic is required.

Thanks,

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]