This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Fix extern "C" function and namespace handling
- To: brent at rcfile dot org
- Subject: Re: [C++ PATCH] Fix extern "C" function and namespace handling
- From: Kriang Lerdsuwanakij <lerdsuwa at scf dot usc dot edu>
- Date: Sat, 7 Oct 2000 23:08:37 -0700 (PDT)
- cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
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