diff --git a/build.rs b/build.rs index f7b94108b..1762ad9b0 100644 --- a/build.rs +++ b/build.rs @@ -111,7 +111,6 @@ fn cpp_flags(compiler: &cc::Tool) -> &'static [&'static str] { static NON_MSVC_FLAGS: &[&str] = &[ "-fvisibility=hidden", "-std=c1x", // GCC 4.6 requires "c1x" instead of "c11" - "-pedantic", "-Wall", "-Wextra", "-Wbad-function-cast",