Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions crates/engine_xetex/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@ fn main() {
if target.contains("-msvc") {
c_cfg.flag("/EHsc");
cxx_cfg.flag("/EHsc");
cxx_cfg.flag("/std:c++17");
// Disable noisy warnings that are enabled by -Wall
cxx_cfg.flag("/wd4514"); // unreferenced inline function has been removed
cxx_cfg.flag("/wd5045"); // Spectre mitigation insertion (informational)
cxx_cfg.flag("/wd4820"); // padding added after data member
cxx_cfg.flag("/wd4244"); // conversion from 'type1' to 'type2', possible loss of data
cxx_cfg.flag("/wd4365"); // conversion from 'type1' to 'type2', signed/unsigned mismatch
}

// OK, back to generic build rules.
Expand Down
Loading