This is the mail archive of the
mailing list for the GCC project.
Re: [C++ PATCH] Fix bug 51
>>>>> "Nathan" == Nathan Sidwell <email@example.com> writes:
> Nathan Sidwell wrote:
>> this fixes bug 51, which is an example from the std.
> Oh, forgot to mention, g++.brendan/err-msg2.C is apparently incorrect
> and needs to be removed.
It's an error because the first typedef has C++ linkage and the second C.
7.5 Linkage specifications [dcl.link]
tion types with different language linkages are distinct types even if
they are otherwise identical.