Mercurial > projects > ddmd
diff dmd/TypeStruct.d @ 154:14feb7ae01a6
* changed the build system to build a release version if the debug one compiles
and enabled warnings
+ reduced warnings by adding appriopriate overrides
+ IfStatement.interpret()
+ ScopeStatement.interpret()
+ TypeSArray.constConv()
+ TypedefDeclaration.syntaxCopy()
* fixed a bug in StringExp
author | trass3r |
---|---|
date | Wed, 15 Sep 2010 15:32:31 +0200 |
parents | af1bebfd96a4 |
children | af724d3510d7 |
line wrap: on
line diff
--- a/dmd/TypeStruct.d Wed Sep 15 03:58:55 2010 +0200 +++ b/dmd/TypeStruct.d Wed Sep 15 15:32:31 2010 +0200 @@ -392,7 +392,7 @@ * Use when we prefer the default initializer to be a literal, * rather than a global immutable variable. */ - Expression defaultInitLiteral(Loc loc) + override Expression defaultInitLiteral(Loc loc) { version (LOGDEFAULTINIT) { printf("TypeStruct::defaultInitLiteral() '%s'\n", toChars());