]> git.llucax.com Git - software/druntime.git/blobdiff - src/compiler/dmd/object_.d
Changed D 2.0 runtime to account for 'this' being changed from a pointer to a referen...
[software/druntime.git] / src / compiler / dmd / object_.d
index 8cdcd214d414c72b50e8ec9832cfebb4b6e08cac..7341118c69f875727dc4dc898c5096f4b05dc6e9 100644 (file)
@@ -39,10 +39,10 @@ module object;
 
 private
 {
-    import stdc.string;
-    import stdc.stdlib;
+    import core.stdc.string;
+    import core.stdc.stdlib;
     import util.string;
-    debug(PRINTF) import stdc.stdio;
+    debug(PRINTF) import core.stdc.stdio;
 
     extern (C) void onOutOfMemoryError();
     extern (C) Object _d_newclass(ClassInfo ci);
@@ -1084,7 +1084,7 @@ class Throwable : Object
 
     override string toString()
     {
-        char[10] tmp;
+        char[10] tmp = void;
         char[]   buf;
 
         for (Throwable e = this; e !is null; e = e.next)