0004-Drop-error-implicit-function-declaration-compile-fla.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. From d4806743a059ec6720b5c29e7345390978614fc9 Mon Sep 17 00:00:00 2001
  2. From: Bernd Kuhls <bernd.kuhls@t-online.de>
  3. Date: Tue, 1 May 2018 22:29:29 +0200
  4. Subject: [PATCH] Drop error-implicit-function-declaration compile flag
  5. Fix compile warning being treated as error:
  6. codec/svg.c: In function 'DecodeBlock':
  7. codec/svg.c:240:5: error: implicit declaration of function 'rsvg_handle_render_cairo' [-Werror=implicit-function-declaration]
  8. cc1: some warnings being treated as errors
  9. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  10. ---
  11. configure.ac | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/configure.ac b/configure.ac
  14. index 9a37656ddd..b14ba46797 100644
  15. --- a/configure.ac
  16. +++ b/configure.ac
  17. @@ -867,7 +867,7 @@ dnl
  18. dnl Compiler warnings
  19. dnl
  20. -RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast write-strings missing-prototypes volatile-register-var error-implicit-function-declaration])
  21. +RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast write-strings missing-prototypes volatile-register-var])
  22. RDC_PROG_CC_FLAGS([-pipe])
  23. AC_LANG_PUSH([C++])
  24. RDC_PROG_CXX_WFLAGS([all extra sign-compare undef pointer-arith volatile-register-var])
  25. --
  26. 2.14.3