diff --git a/atdna/main.cpp b/atdna/main.cpp index a4f66c7..be92d09 100644 --- a/atdna/main.cpp +++ b/atdna/main.cpp @@ -2418,6 +2418,7 @@ int main(int argc, const char** argv) "-D__atdna__=1", "-Wno-expansion-to-defined", "-Wno-nullability-completeness", + "-Werror=shadow-field", "-I" XSTR(INSTALL_PREFIX) "/lib/clang/" CLANG_VERSION_STRING "/include", "-I" XSTR(INSTALL_PREFIX) "/include/Athena"}; for (int a=1 ; a