This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: std::terminate
"Martin v. Loewis" wrote:
> as a redeclaration of the builtin function, since they have different
> DECL_CONTEXTs. Functions with C linkage do have a declaration context
> (which is a namespace) - it just won't affect their assembler name.
> It shouldn't affect declaration matching, but I believe it does; and
> it definitely should affect lookup and visibility.
FWIW, I'd fixed this the same way as Martin, over the weekend. It seems
Martin's pipped me at the post in submitting it though :)
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org