[prev in list] [next in list] [prev in thread] [next in thread] 

List:       inn-workers
Subject:    Re: mmap on AIX 7.1
From:       Julien ÉLIE <julien () trigofacile ! com>
Date:       2014-09-22 19:21:33
Message-ID: 542076BD.8070405 () trigofacile ! com
[Download RAW message or body]

Hi Russ,

>> 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.

-- 
Julien ÉLIE

 « Pour Rome, la direction importe peu, car tous les chemins y
   mènent.  » (Astérix)
_______________________________________________
inn-workers mailing list
inn-workers@lists.isc.org
https://lists.isc.org/mailman/listinfo/inn-workers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic