Commit d5e5bb3b authored by Teng Qin's avatar Teng Qin Committed by Sasha Goldshtein

ClangLoader default to have -Wno-pragma-once-outside-header (#1105)

parent 69ceaca0
...@@ -136,6 +136,7 @@ int ClangLoader::parse(unique_ptr<llvm::Module> *mod, TableStorage &ts, const st ...@@ -136,6 +136,7 @@ int ClangLoader::parse(unique_ptr<llvm::Module> *mod, TableStorage &ts, const st
vector<const char *> flags_cstr({"-O0", "-emit-llvm", "-I", dstack.cwd(), vector<const char *> flags_cstr({"-O0", "-emit-llvm", "-I", dstack.cwd(),
"-Wno-deprecated-declarations", "-Wno-deprecated-declarations",
"-Wno-gnu-variable-sized-type-not-at-end", "-Wno-gnu-variable-sized-type-not-at-end",
"-Wno-pragma-once-outside-header",
"-fno-color-diagnostics", "-fno-color-diagnostics",
"-fno-unwind-tables", "-fno-unwind-tables",
"-fno-asynchronous-unwind-tables", "-fno-asynchronous-unwind-tables",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment