diff --git a/tools/versioner/src/versioner.cpp b/tools/versioner/src/versioner.cpp index daf6f0bec..535eef839 100644 --- a/tools/versioner/src/versioner.cpp +++ b/tools/versioner/src/versioner.cpp @@ -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");