This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ 3.04 compiler
- From: Joe Buck <Joe dot Buck at synopsys dot com>
- To: cottom1 at llnl dot gov (Teresa Cottom)
- Cc: gcc at gnu dot org
- Date: Thu, 25 Apr 2002 16:44:09 -0700 (PDT)
- Subject: Re: C++ 3.04 compiler
Teresa Cottom writes:
> We are running into a compile problem that falls into one of the
> "Missing Features" category. Specifically:
>
> ------------------------------------------------------------
> Two stage lookup in templates is not implemented.
>
> [14.6] specifies how names are looked up inside a template. G++
> does not do this correctly, but for most templates this will not be
> noticeable.
> ------------------------------------------------------------
>
> I was just wondering if and when you will have a version available that
> implements this feature. We want to know whether to implement a work
> around ourselves, or wait for a new g++ release.
I don't know of any change of status on this one. In practice, other
compilers have even worse problems in this area, so I find that in my
own code I have to stay far away from cases where the oddities of name
lookup and templates make a difference (code I write has to work with
5-6 different C++ compilers).
C++ folks: do we have a test case somewhere (possibly an XFAIL in the test
suite) illustrating a case where this matters?