Fix broken make on windows (#2499)

* fix Makefile for make on windows

* clean up compilation warnings

* fix for `no file name for include` make warning
This commit is contained in:
Vadim Khotilovich
2017-07-08 11:17:31 -05:00
committed by Tianqi Chen
parent ba820847f9
commit 7350085955
3 changed files with 7 additions and 3 deletions

View File

@@ -324,7 +324,7 @@ class FastHistMaker: public TreeUpdater {
std::numeric_limits<float>::infinity());
}
CHECK_GT(out_preds.size(), 0);
CHECK_GT(out_preds.size(), 0U);
for (const RowSetCollection::Elem rowset : row_set_collection_) {
if (rowset.begin != nullptr && rowset.end != nullptr) {