Permalink
Browse files

DMD 2.059 fixes

  • Loading branch information...
1 parent e3634e5 commit 20f416d9d8d7de0559b49b176f8c407f79ef0198 @CyberShadow committed Apr 9, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 autodata.d
  2. +1 −1 build_rabcdasm.d
View
@@ -34,7 +34,7 @@ template AutoCompare()
alias typeof(this) _AutoDataTypeReference;
alias Object _AutoDataOtherTypeReference;
- override hash_t toHash() const { return _AutoDataHash(); }
+ override hash_t toHash() const { try { return _AutoDataHash(); } catch(object.Exception e) { assert(0, e.msg); } }
override bool opEquals(Object o) const { return _AutoDataEquals(o); }
override int opCmp(Object o) const { return _AutoDataCmp(o); }
}
View
@@ -33,7 +33,7 @@ version(DigitalMars)
else
const DEFAULT_COMPILER = "gdmd";
-const DEFAULT_FLAGS = "-w -O -inline";
+const DEFAULT_FLAGS = "-O -inline";
const LZMA_FLAGS = "-version=HAVE_LZMA";
import std.exception;

0 comments on commit 20f416d

Please sign in to comment.