Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation unwder Windows when using MSVC #164

Merged
merged 1 commit into from
Oct 1, 2019
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion demangle/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fn main() {
// "vendor/swift/lib/Demangling/Remangler.cpp",
// "vendor/swift/lib/Demangling/TypeDecoder.cpp",
])
.flag("-std=c++11")
.flag_if_supported("-std=c++11")
.flag("-DLLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1")
.warnings(false)
.include("vendor/swift/include")
Expand Down
4 changes: 2 additions & 2 deletions minidump/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fn main() {

cc::Build::new()
.warnings(false)
.flag("-Wno-tautological-constant-out-of-range-compare")
.flag_if_supported("-Wno-tautological-constant-out-of-range-compare")
.file("third_party/breakpad/src/third_party/libdisasm/ia32_implicit.c")
.file("third_party/breakpad/src/third_party/libdisasm/ia32_insn.c")
.file("third_party/breakpad/src/third_party/libdisasm/ia32_invariant.c")
Expand All @@ -35,7 +35,7 @@ fn main() {
cc::Build::new()
.cpp(true)
.warnings(false)
.flag("-std=c++11")
.flag_if_supported("-std=c++11")
.include(".")
.include("third_party/breakpad/src")
.define("BPLOG_MINIMUM_SEVERITY", "SEVERITY_ERROR")
Expand Down