mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 10:53:14 +01:00
[svn r130] fixed #28
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user