versioner: turn on -Wundef.

Poking around with -Wundef exposed a pretty horrifying bug, so we
should probably keep it turned on.

Bug: http://b/31496165
Change-Id: Iada279eec91ded0d59ff3841d5a3ce1a36e34c3a
This commit is contained in:
Josh Gao 2016-09-15 14:16:15 -07:00
parent 81b4aadb48
commit ac3e564142
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class HeaderCompilationDatabase : public CompilationDatabase {
command.push_back("-Wall");
command.push_back("-Wextra");
command.push_back("-Werror");
command.push_back("-Wundef");
command.push_back("-Wno-unused-macros");
command.push_back("-Wno-unused-function");
command.push_back("-Wno-unused-variable");