mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-25 21:37:29 +00:00
Merge pull request #5967 from rubenk/build-enable-wundef
build: enable -Wundef warnings
This commit is contained in:
commit
6f00dd6658
@ -779,7 +779,7 @@ int bp_udp_send(int sd, uint8_t ttl, uint8_t *data, size_t datalen,
|
||||
cmsg->cmsg_level = IPPROTO_IPV6;
|
||||
cmsg->cmsg_type = IPV6_HOPLIMIT;
|
||||
} else {
|
||||
#if BFD_LINUX
|
||||
#ifdef BFD_LINUX
|
||||
cmsg->cmsg_level = IPPROTO_IP;
|
||||
cmsg->cmsg_type = IP_TTL;
|
||||
#else
|
||||
|
@ -295,6 +295,7 @@ AC_C_FLAG([-Wmissing-declarations])
|
||||
AC_C_FLAG([-Wpointer-arith])
|
||||
AC_C_FLAG([-Wbad-function-cast])
|
||||
AC_C_FLAG([-Wwrite-strings])
|
||||
AC_C_FLAG([-Wundef])
|
||||
if test "$enable_gcc_ultra_verbose" = "yes" ; then
|
||||
AC_C_FLAG([-Wcast-qual])
|
||||
AC_C_FLAG([-Wstrict-prototypes])
|
||||
|
Loading…
Reference in New Issue
Block a user