On Wed, 09 Jun 2010 13:48:30 +0900, dsource.org <[email protected]>
wrote:
dmd commit, revision 527
user: walter
msg:
bugzilla 4003 The result changes only with the order of source files.
http://www.dsource.org/projects/dmd/changeset/527
g++ can't compile mtype.c (g++ 4.2.1 on Mac OS X 10.6).
The cause is a lack of parenthesis.
Index: mtype.c
===================================================================
--- mtype.c (revision 527)
+++ mtype.c (working copy)
@@ -7689,7 +7689,7 @@
args->push(arg);
}
- Type *t = new TypeTuple(args)->semantic(loc, sc);
+ Type *t = (new TypeTuple(args))->semantic(loc, sc);
return t;
}
Masahiro
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals