tags 778159 + patch thanks Here's a patch to force -std=gnu89. Switching to C99 semantics works too but upstream does not seem active. Let me know if it would be better for this patch to switch to C99 semantics and use -std=gnu99.
-- Andrew James Linux for HP Helion OpenStack, Hewlett-Packard
Description: Fixes for new inline semantics related to GCC 5 GCC 5 defaults to C99 inline semantics. This project relies on C89 'extern inline' and 'inline' semantics. This patch forces -std=gnu89. . See "Different semantics for inline functions", https://gcc.gnu.org/gcc-5/porting_to.html Author: Andrew James <andrew.ja...@hp.com> Bug-Debian: https://bugs.debian.org/778159 Forwarded: no --- uswsusp-1.0+20120915.orig/Makefile.am +++ uswsusp-1.0+20120915/Makefile.am @@ -70,7 +70,8 @@ AM_CFLAGS=\ -D_LARGEFILE64_SOURCE \ $(LZO_CFLAGS) \ $(LIBBLKID_LIBS_CFLAGS) \ - $(LIBGCRYPT_CFLAGS) + $(LIBGCRYPT_CFLAGS) \ + -std=gnu89 common_s2disk_libs=\ $(LZO_LIBS) \