From bbfb0cdba9952d905e1847b6a2f62a8b1ccd272a Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Sun, 8 Oct 2023 20:02:45 -0700 Subject: [PATCH] build.rs: Remove `-pedantic-errors` from compiler configuration. Our policy is to set warnings-as-errors only when buildingt from Git, not when building from a packaged release. This flag is another aspect of warnings-as-errors. --- build.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/build.rs b/build.rs index 517c78c19..32f5ab153 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] = &[ "-std=c1x", // GCC 4.6 requires "c1x" instead of "c11" "-pedantic", - "-pedantic-errors", "-Wall", "-Wextra", "-Wbad-function-cast",