HEAD amd64 seems unhappy

Josh Paetzel jpaetzel at FreeBSD.org
Sun Feb 4 02:38:30 UTC 2018


--- all_subdir_lib/libngatm ---
/usr/src/sys/contrib/ngatm/netnatm/api/cc_port.c:71:28: error: result of comparison 'u_int' (aka 'unsigned int') > 4294967295 is always fal
se [-Werror,-Wtautological-type-limit-compare]
        if (portno == 0 || portno > 0xffffffff)
                           ~~~~~~ ^ ~~~~~~~~~~
1 error generated.
*** [cc_port.o] Error code 1

This code hasn't changed in ages so I can only assume it's clang or such.

-- 

Thanks,

Josh Paetzel


More information about the freebsd-current mailing list