Skip to content

Commit

Permalink
ClangLoader default to have -Wno-pragma-once-outside-header (#1105)
Browse files Browse the repository at this point in the history
  • Loading branch information
palmtenor authored and goldshtn committed Apr 11, 2017
1 parent 69ceaca commit d5e5bb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cc/frontends/clang/loader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
"-Wno-deprecated-declarations",
"-Wno-gnu-variable-sized-type-not-at-end",
"-Wno-pragma-once-outside-header",
"-fno-color-diagnostics",
"-fno-unwind-tables",
"-fno-asynchronous-unwind-tables",
Expand Down

0 comments on commit d5e5bb3

Please sign in to comment.