Skip to content

Commit

Permalink
Merge pull request VowpalWabbit#382 from arielf/master
Browse files Browse the repository at this point in the history
Quiet two warnings during build
  • Loading branch information
JohnLangford committed Sep 1, 2014
2 parents 3764965 + 46e0dc9 commit 4811c0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions vowpalwabbit/rand48.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using namespace std;
// prevent truncation of constant to (32-bit long) when compiling
// in a 32-bit env: warning: integer constant is too large for "long" type
//
#pragma clang diagnostic ignored "-Wc++11-long-long"
uint64_t a = 0xeece66d5deece66dULL;
uint64_t c = 2147483647;

Expand Down
4 changes: 3 additions & 1 deletion vowpalwabbit/searn_multiclasstask.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ namespace MulticlassTask {
if (srn.output().good())
srn.output() << label << ' ';
}
}
}


0 comments on commit 4811c0b

Please sign in to comment.