tags 778171 + patch thanks Here's a fix for the GCC 5 build issue. I changed the use of inline in the INLINE macro defined in wmgeneral/list.h so that functions are not inline when __GNUC__ is >= 5. I fixed it this way because there was not an obvious way to change the build rules to add the '-std=gnu89' to CFLAGS. Upstream may prefer to move to C99 instead, please see section "Different semantics for inline functions" at https://gcc.gnu.org/gcc-5/porting_to.html for more background.
-- Betty Dall Linux for HP Helion, Hewlett-Packard
--- wmmon-1.1+20131205.orig/wmgeneral/list.h +++ wmmon-1.1+20131205/wmgeneral/list.h @@ -29,8 +29,8 @@ Boston, MA 02110-1301 USA. */ #ifndef __LIST_H_ #define __LIST_H_ -#if defined(__GNUC__) && !defined(__STRICT_ANSI__) -# define INLINE inline +#if defined(__GNUC__) && (__GNUC__ < 5) && !defined(__STRICT_ANSI__) +# define INLINE inline #else # define INLINE #endif