Hi, On Sun, Dec 07, 2008 at 03:47:26PM -0500, Davin Flatten wrote: > Hello- > > Let me preface this post saying I am not a C programming expert. I am > working on setting up an environment to do some pacemaker GUI development. > I am using the tip of the Heartbeat dev Mercurial repository. My platform > is CentOS 5.2. > > There seems to be a pointer definition inconsistancy in the pils library > that is causing warnings on the build, and thus errors. It seems that the > definition of PILPluginImportSet using g_malloc when the PILPluginImports > defintion using the standard alloc definition. This is also true for the > mrealloc definition below. > > I changed the defintions to use the glib2.0 format and that fixed the > problem, but I am unsure if this might break builds on other platforms. > Either way attached is the diff of the changes I made if you wish to apply > them. > > P.S. A warning/error is also created by tools/send_arp.linux.c by not > declaring const on the char *device="eth0" declaration.
Many thanks for the patch! I'll review the changes and see how does it affect other platforms. Cheers, Dejan > Thanks! > Davin Flatten > _______________________________________________________ > Linux-HA-Dev: [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
