On Fri, 31 Mar 2006, David Lee wrote: > A colleague here was just installed the new Fedora Core 5 release on a > machine, and this has caused a heartbeat compilation warning->error: > > cc1: warnings being treated as errors > ../../../lib/lrm/clientlib.c: In function 'rsc_get_cur_state': > ../../../lib/lrm/clientlib.c:1017: warning: ignoring return value of > 'g_list_sort', declared with attribute warn_unused_result > make: *** [liblrm_la-clientlib.lo] Error 1 > > [...] > So the proper fix would seem to be either to use the result or, if the > sort operation doesn't need to be done, not to call it at all.
I've opened bugzilla 1179 for this. After locally fudging this, the FC5 build still fails, with further compiler warnings (errors), at least "fencing/stonithd/stonithd.c:2717". -- : David Lee I.T. Service : : Senior Systems Programmer Computer Centre : : Durham University : : http://www.dur.ac.uk/t.d.lee/ South Road : : Durham DH1 3LE : : Phone: +44 191 334 2752 U.K. : _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
