compile gflags correctly, remove google namespace, use gflags instead, port all code using it

This commit is contained in:
Laurent Perron
2015-03-03 14:31:06 +01:00
parent 4376d7d052
commit 2a6f8942cc
47 changed files with 225 additions and 63 deletions

View File

@@ -188,8 +188,8 @@ int main(int argc, char* argv[]) {
} else {
usage = StringPrintf(kUsageTemplate, argv[0]);
}
google::SetUsageMessage(usage);
google::ParseCommandLineFlags(&argc, &argv, true);
gflags::SetUsageMessage(usage);
gflags::ParseCommandLineFlags(&argc, &argv, true);
if (argc < 2) {
LOG(FATAL) << usage;