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.
This commit is contained in:
parent
29fb82717c
commit
bbfb0cdba9
1
build.rs
1
build.rs
@ -111,7 +111,6 @@ fn cpp_flags(compiler: &cc::Tool) -> &'static [&'static str] {
|
|||||||
static NON_MSVC_FLAGS: &[&str] = &[
|
static NON_MSVC_FLAGS: &[&str] = &[
|
||||||
"-std=c1x", // GCC 4.6 requires "c1x" instead of "c11"
|
"-std=c1x", // GCC 4.6 requires "c1x" instead of "c11"
|
||||||
"-pedantic",
|
"-pedantic",
|
||||||
"-pedantic-errors",
|
|
||||||
"-Wall",
|
"-Wall",
|
||||||
"-Wextra",
|
"-Wextra",
|
||||||
"-Wbad-function-cast",
|
"-Wbad-function-cast",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user