This is the mail archive of the gcc@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]
Other format: [Raw text]

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?


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