Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
libgpg-error
libgpg-error-C11-stdnoreturn.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgpg-error-C11-stdnoreturn.patch of Package libgpg-error
From 3eee9efc46f983fe0bf474c814944fef93a2a1b7 Mon Sep 17 00:00:00 2001 From: Werner Koch <wk@gnupg.org> Date: Wed, 30 May 2018 17:08:54 +0200 Subject: [PATCH] core: Fix problem with C11 and stdnoreturn.h. * src/gpg-error.h.in (GPGRT_ATTR_NORETURN): Use gcc specific symbol name __noreturn__. -- GnuPG-bug-id: 4002 Signed-off-by: Werner Koch <wk@gnupg.org> --- src/gpg-error.h.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in index ce7d278..4c5ac38 100644 --- a/src/gpg-error.h.in +++ b/src/gpg-error.h.in @@ -178,7 +178,7 @@ typedef unsigned int gpg_error_t; /* The noreturn attribute. */ #if _GPG_ERR_GCC_VERSION >= 20500 -# define GPGRT_ATTR_NORETURN __attribute__ ((noreturn)) +# define GPGRT_ATTR_NORETURN __attribute__ ((__noreturn__)) #else # define GPGRT_ATTR_NORETURN #endif @@ -188,12 +188,12 @@ typedef unsigned int gpg_error_t; # define GPGRT_ATTR_PRINTF(f, a) \ __attribute__ ((format(__gnu_printf__,f,a))) # define GPGRT_ATTR_NR_PRINTF(f, a) \ - __attribute__ ((noreturn, format(__gnu_printf__,f,a))) + __attribute__ ((__noreturn__, format(__gnu_printf__,f,a))) #elif _GPG_ERR_GCC_VERSION >= 20500 # define GPGRT_ATTR_PRINTF(f, a) \ __attribute__ ((format(printf,f,a))) # define GPGRT_ATTR_NR_PRINTF(f, a) \ - __attribute__ ((noreturn, format(printf,f,a))) + __attribute__ ((__noreturn__, format(printf,f,a))) #else # define GPGRT_ATTR_PRINTF(f, a) # define GPGRT_ATTR_NR_PRINTF(f, a)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor