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

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

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

Post 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]
Locked