Page 1 of 1

Re: [Nagios-devel] [PATCH] AIX - fix for xlc compile warnings due

Posted: Sun Nov 02, 2008 6:09 pm
by Guest
Markus Baertschi wrote:
>
> On AIX the xlc compiler warns about incompatible pointer types
> in base/events.c, base/nebmods.c and xdata/xpddefault.c.
> The message is typically as this:
> "nebmods.c", line 538.48: 1506-068 (W) Operation between types "void*"
> and "int(*)(int,void*)" is not allowed.
> This patch adds the necessary typecasts '(void*)' to eliminate the warning.
>
> The patch applies against 3.0.3 and the CVS tarball. I've tested
> it on AIX 5.3 with xlc (the IBM compiler) and gcc and also on
> Linux (Ubuntu hardy, gcc 4.1.2).
>
> Markus

Thanks!


- Ethan Galstad





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]