Closed barracuda156 closed 5 months ago
The first ones are from machine-generated files, produced by old old rpcgen, so that is what it is.
The second one comes from net/if.h which should be part of OSX. I don't have access to OSX so can not tell what the issue is, is net/if.h missing on OSX? Is the OSX net/if.h missing IFNAMSIZ? Are we not including net/if.h on OSX for some reason?
Pull request for OSX appreciated.
@sahlberg Ah, I may know what is causing the error. Let me try a fix.
With modern GCC there are a lot of these
buf
-related warnings, which eventually turn into error:Old gcc-4.2 is more forgiving, but it fails on the second issue: