We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c8ba42 + 214196f commit 5e6babeCopy full SHA for 5e6babe
1 file changed
crates/engine_xetex/build.rs
@@ -125,6 +125,13 @@ fn main() {
125
if target.contains("-msvc") {
126
c_cfg.flag("/EHsc");
127
cxx_cfg.flag("/EHsc");
128
+ cxx_cfg.flag("/std:c++17");
129
+ // Disable noisy warnings that are enabled by -Wall
130
+ cxx_cfg.flag("/wd4514"); // unreferenced inline function has been removed
131
+ cxx_cfg.flag("/wd5045"); // Spectre mitigation insertion (informational)
132
+ cxx_cfg.flag("/wd4820"); // padding added after data member
133
+ cxx_cfg.flag("/wd4244"); // conversion from 'type1' to 'type2', possible loss of data
134
+ cxx_cfg.flag("/wd4365"); // conversion from 'type1' to 'type2', signed/unsigned mismatch
135
}
136
137
// OK, back to generic build rules.
0 commit comments