[svn r130] fixed #28

This commit is contained in:
Tomas Lindquist Olsen
2007-11-28 05:04:38 +01:00
parent 5ab2166b05
commit 32ebd9617e
2 changed files with 8 additions and 6 deletions

View File

@@ -218,8 +218,8 @@ int runLINK()
argv.insert(argv.dim, global.params.libfiles);
//if (global.params.symdebug)
//argv.push((void *)"-g");
if (!global.params.symdebug)
argv.push((void *)"-strip-debug");
//argv.push((void *)"-m32");
@@ -247,6 +247,10 @@ int runLINK()
argv.push((void*)s);
}
if (!global.params.useInline) {
argv.push((void *)"-disable-inlining");
}
#if 0
if (0 && global.params.exefile)
{

View File

@@ -110,8 +110,7 @@ class Object
*/
char[] toString()
{
//return this.classinfo.name;
return "object.Object (no classinfo yet)";
return this.classinfo.name;
}
/**
@@ -137,8 +136,7 @@ class Object
// BUG: this prevents a compacting GC from working, needs to be fixed
//return cast(int)cast(void *)this - cast(int)cast(void *)o;
//throw new Error("need opCmp for class " ~ this.classinfo.name);
throw new Error("need opCmp for class unknown object.Object (no classinfo yet)");
throw new Error("need opCmp for class " ~ this.classinfo.name);
}
/**