Skip to content

Commit

Permalink
build: exclude deprecated decls from -Werror
Browse files Browse the repository at this point in the history
Other parts of the system can change (e.g. libc-ares), making things
deprecated, and then our build fails for no reason inside FRR.  This
shouldn't be an error.

Signed-off-by: David Lamparter <[email protected]>
  • Loading branch information
eqvinox committed May 2, 2024
1 parent 54ea388 commit e509f30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ fi
AC_C_FLAG([-Wno-unused-parameter])
AC_C_FLAG([-Wno-missing-field-initializers])
AC_C_FLAG([-Wno-microsoft-anon-tag])
AC_C_FLAG([-Wno-error=deprecated-declarations])

AC_C_FLAG([-Wc++-compat], [], [CXX_COMPAT_CFLAGS="-Wc++-compat"])
AC_SUBST([CXX_COMPAT_CFLAGS])
Expand Down

0 comments on commit e509f30

Please sign in to comment.