Mercurial > projects > doodle
comparison configure.d @ 43:d0604b062db8
Get rid of warnings in builder
author | daveb |
---|---|
date | Tue, 15 Jun 2010 18:20:24 +0930 |
parents | 1754cb773d41 |
children | 860e18c87255 |
comparison
equal
deleted
inserted
replaced
42:3c1b0c4d5847 | 43:d0604b062db8 |
---|---|
61 string bin_path = target_path.join("bin"); | 61 string bin_path = target_path.join("bin"); |
62 bin_path.mkdir; | 62 bin_path.mkdir; |
63 | 63 |
64 // compile builder into bin_path | 64 // compile builder into bin_path |
65 writefln("Building the builder"); | 65 writefln("Building the builder"); |
66 int ret = system(format("dmd %s -O -of%s", | 66 int ret = system(format("dmd -w -wi %s -O -of%s", |
67 source_path.join("builder.d"), bin_path.join("builder"))); | 67 source_path.join("builder.d"), bin_path.join("builder"))); |
68 if (ret) { | 68 if (ret) { |
69 writefln("Error - builder failed to compile"); | 69 writefln("Error - builder failed to compile"); |
70 return -1; | 70 return -1; |
71 } | 71 } |