This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: [C++ PATCH] Fix extern "C" function and namespace handling



On Sat, 7 Oct 2000 brent@rcfile.org wrote:

> the attached patch to cp/decl2.c allows the code above to compile.
> I'm not sure if it is sane, but I'll throw it in the mix. basically,
> all I did was reverse the order of the tests in 
> do_nonmember_using_decl() to allow the duplicate_decls() case to break
> before testing the overloaded function.
> 
>   brent
> 

I have tested your patch.  I believe the approach in the patch is
correct.

--Kriang


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