Towards INN 2.6.4 release

Bo Lindbergh 2bfjdsla52kztwejndzdstsxl9athp at gmail.com
Tue Oct 13 21:16:06 UTC 2020


Quoth Julien ÉLIE <julien at trigofacile.com>:
> Any patch you would like to include?
> Any annoying bug you're facing?

Apple's rash decision to add -Werror to the default settings
for their compilers causes some headaches.

Examples from INN include the mmap tests calling umask(2) without including
<sys/stat.h> and close(2) without including <unistd.h>.  The consequent
compilation errors (spuriously) undefine HAVE_MMAP.

A patch for these is attached.

Additionally, Apple has the same kind of problem in their own system headers!
Example: the definition of SUN_LEN has a call to strlen(3), but <sys/un.h>
doesn't include <string.h>.

I'll fire off a bug report to Apple once I've collected as many of these
as I can find, because you really shouldn't have to do
    ./configure CFLAGS=-Wno-error=all
just to get a correct configuration.


/Bo Lindbergh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: misconfig.diff
Type: application/octet-stream
Size: 1022 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/inn-workers/attachments/20201013/3d60d5da/attachment.obj>


More information about the inn-workers mailing list