mmap on AIX 7.1
julien at trigofacile.com
Mon Sep 22 19:21:33 UTC 2014
>> When building INN on AIX 7.1 with large files support, the following
>> error occurs:
>> ../include/portable/mmap.h:27:0: warning: "mmap" redefined
>> #define mmap(s, l, p, f, d, o) (void *) mmap((s), (l), (p), (f), (d), (o))
> I suggest just deleting that code. Solaris 8 is pretty rare these days,
> and the only downside is (harmless) compiler warnings. Any modern
> platform should have the right prototype. This is the sort of fix that,
> as soon as it starts causing actual problems, should probably just be
> dropped in favor of living with the warnings on (now rare) platforms.
Yep, you're right. I've just deleted that define.
« Pour Rome, la direction importe peu, car tous les chemins y
mènent. » (Astérix)
More information about the inn-workers