Page MenuHome GnuPG

gpg-error.h uses c11 reserved word "noreturn"
Closed, ResolvedPublic


<gpg-error.h> needs to use __noreturn__ instead of noreturn to avoid incompatibilities with C11, and specifically <stdnoreturn.h>. see

I will attach a patch


Event Timeline

werner triaged this task as High priority.May 30 2018, 8:40 AM
werner added a subscriber: werner.

Oh dear, adding new keywords which have not been reserved in the past was a bad idea by C11. This will eventually require fixes at lot of places because the noreturn attribute is widely used ( other common headers may include the noreturn header as well).

Anyway, for libgpg-error it will be easy to do.

werner changed the task status from Open to Testing.May 30 2018, 5:22 PM

Do you have a need for doing a new release immediately?

werner claimed this task.