tags 777780 + patch
thanks

Here's a fix for the GCC 5 build issue.  I added -std=gnu89 to the
Makefile to use the GNU89 inline semantics.  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.

Note that bbrun contains the same wmgeneral files.

-- 
Martin Michlmayr
Linux for HP Helion OpenStack, Hewlett-Packard
diff -u asmon-0.71/asmon/Makefile asmon-0.71/asmon/Makefile
--- asmon-0.71/asmon/Makefile
+++ asmon-0.71/asmon/Makefile
@@ -12,7 +12,7 @@
 		../wmgeneral/list.o
 
 .c.o:
-	gcc -c -Wall $(SOLARIS) $< -o $*.o
+	gcc -c -std=gnu89 -Wall $(SOLARIS) $< -o $*.o
 
 asmon: $(OBJS)
 	gcc -o asmon $(OBJS) $(LIBDIR) $(LIBS)

Reply via email to