Projects
home:pandora:RobinOS23
gtk3
_service:download_src_package:0001-fix-build-fa...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:0001-fix-build-failed-with-array-bound.patch of Package gtk3
From 80f3a1c7dd27ecf72060f1622ba110ae1339baba Mon Sep 17 00:00:00 2001 From: Chunmei Xu <xuchunmei@linux.alibaba.com> Date: Mon, 11 Apr 2022 19:26:54 +0800 Subject: [PATCH] fix build failed with array-bound Signed-off-by: Chunmei Xu <xuchunmei@linux.alibaba.com> --- gtk/gtkimagedefinition.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkimagedefinition.c b/gtk/gtkimagedefinition.c index bd59420..dcb8903 100644 --- a/gtk/gtkimagedefinition.c +++ b/gtk/gtkimagedefinition.c @@ -20,6 +20,8 @@ #include "gtkimagedefinitionprivate.h" #include "deprecated/gtkiconfactory.h" +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" typedef struct _GtkImageDefinitionEmpty GtkImageDefinitionEmpty; typedef struct _GtkImageDefinitionPixbuf GtkImageDefinitionPixbuf; @@ -374,3 +376,4 @@ gtk_image_definition_get_surface (const GtkImageDefinition *def) return def->surface.surface; } +#pragma GCC diagnostic pop -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2