Foo<int,(char*)&string>
David Carlton
carlton@kealia.com
Wed Feb 18 00:20:00 GMT 2004
On Mon, 16 Feb 2004 21:20:08 -0500 (EST), mec.gnu@mindspring.com (Michael Elizabeth Chastain) said:
> The second template parameter is a "char *"; a value, not a type.
> gcc 3.3.2 -gstabs+ emits this:
> .stabs "Foo<int,&string>:Tt(1,1)=..."
> gcc HEAD -gstabs+ just changed to emit this:
> .stabs "Foo<int,(char*)(&string)>:Tt(0,25)=..."
> Do we care? I think the "(char*)(&string)" looks ugly but is legal.
> I want to change templates.exp to accept this as a PASS.
Sounds good to me.
David Carlton
carlton@kealia.com
More information about the Gdb
mailing list