Again a new parser bug
Mark Mitchell
mark@codesourcery.com
Wed Jan 22 23:52:00 GMT 2003
--On Wednesday, January 22, 2003 10:28:29 PM +0100 Richard Guenther
<rguenth@tat.physik.uni-tuebingen.de> wrote:
> I keep finding bugs in the new parser by trying to compile pooma with it.
:-) I'm trying to keep up...
> and accepted by earlier g++ and EDG in strict mode. This is c++/9407.
I don't think this one is a bug; I think you have to say:
typedef typename Foo<Dim>::Bar Bar;
Bar(1);
Earlier G++ accepted this because it did no name lookup in templates; I'm
not sure why EDG accepts it. I'll ask 'em. If they agree it's a bug,
I'll close the report.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc
mailing list