Open miesi opened 5 years ago
illumos /usr/include/netinet/ip.h has no line
#define IP_OFFMASK 0x1fff
is adding something like this to dnsscope.cc feasible?
#if !defined (IP_OFFMASK)
#define IP_OFFMASK 0x1fff
#endif
feasible?
No - we have no idea what that number would mean to your kernel.
No - we have no idea what that number would mean to your kernel.
Wait, ignore that.
is adding something like this to dnsscope.cc feasible?
yes
Okay, illumos is still
ip.h 1.13 88/08/19 SMI; from UCB 7.6.1.1 3/15/88
whereas Linux has
@(#)ip.h 8.1 (Berkeley) 6/10/93
I'll create pull requests.
Okay, illumos is still
ip.h 1.13 88/08/19 SMI; from UCB 7.6.1.1 3/15/88
Why not fix illumos instead, then?
I will request that, but updating ip.h in an OS is a different ballpark.
Adding this small enhancement to a small tool, not the core product, to make it just work, is acceptable I hope.
Adding this small enhancement to a small tool, not the core product, to make it just work, is acceptable I hope.
Yes
Short description
Trying to help with #2654. Compiling auth-4.2.0rc2 on illumos with gcc-8.3.0.
using the compiler hint make the error disappear, but I don't that this produces correct code.
Environment
Steps to reproduce
Expected behaviour
compiles everything
Actual behaviour
Usecase
help with #2654