slightly moronic gdc error: string template parameters plus unittest == endless glee
Downs
default_357-line at yahoo.de
Wed Apr 4 06:04:43 PDT 2007
I have the following line somewhere in my source.
class database(RECORD) {
//RECORD[] list;
record!("name", char[])[] list;
}
Now, if I switch unittests on, gdc (0.23, MinGW 4.1.2) emits the following code:
.stabs "record!("name",char[]) []:Tt(1,30)=s8length:(1,7),0,32;ptr:(1,31)=*(1,32)=xsrecord:,32,32;;",128,0,55,0
Note the "outer" '"'s and the "inner" '"'s.
Unsurprisingly, the assembler barfs on this.
-- still laughing, downs
More information about the D.gnu
mailing list