Commit 8b015073 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Do not silence address or pointer-sign warnings

After recent failures discovered by travis-ci it should be safe to
have this back on.
parent 773e7b9c
......@@ -644,15 +644,8 @@ AC_ARG_ENABLE(developer-warnings,
[enable_developer_warnings=no])
if test "x$SUNCC" != "xyes" && test "x$enable_developer_warnings" != "xno"; then
# compiler flags not available on gcc3
AX_CHECK_COMPILE_FLAG([-Wno-pointer-sign],
[DEVELOPER_CFLAGS="${DEVELOPER_CFLAGS} -Wno-pointer-sign"], [], [])
# Not available in gcc 4.1.2
AX_CHECK_COMPILE_FLAG([-Wno-address],
[DEVELOPER_CFLAGS="${DEVELOPER_CFLAGS} -Wno-address"])
# no known way to specifically disabling missing-field-initializers warnings
# keeping the rest of Wextra
# no known way to specifically disabling missing-field-initializers
# warnings keeping the rest of Wextra
AX_CHECK_COMPILE_FLAG([-Wno-missing-field-initializers],
[DEVELOPER_CFLAGS="${DEVELOPER_CFLAGS} -Wno-missing-field-initializers"],
[DEVELOPER_CFLAGS="${DEVELOPER_CFLAGS} -Wno-extra"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment