This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository legacy-imlib2.

View the commit online.

commit 62d8e45523b1e2dde5ca59b0bc552ff3971beb44
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Tue Oct 8 14:41:04 2024 +0200

    SVG loader: Suppress warning
    
    Seen with librsvg2-2.59.1:
    
    In file included from ../../../../../src/modules/loaders/loader_svg.c:7:
    /usr/include/librsvg-2.0/librsvg/rsvg.h:1331:1: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
     1331 | #if LIBRSVG_CHECK_FEATURE(PIXBUF)
---
 src/modules/loaders/loader_svg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/loaders/loader_svg.c b/src/modules/loaders/loader_svg.c
index 87292b3..2395b92 100644
--- a/src/modules/loaders/loader_svg.c
+++ b/src/modules/loaders/loader_svg.c
@@ -4,6 +4,7 @@
 #include <math.h>
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wcomment"
+#pragma GCC diagnostic ignored "-Wexpansion-to-defined"
 #include <librsvg/rsvg.h>
 #pragma GCC diagnostic pop
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to