diff --git a/docs/versionhistory.rst b/docs/versionhistory.rst index c8566ca..89c53e7 100644 --- a/docs/versionhistory.rst +++ b/docs/versionhistory.rst @@ -5,6 +5,10 @@ Version history This library adheres to `Semantic Versioning `_. +**UNRELEASED** + +- Fixed compilation of C extension failing on GCC 14 + **5.6.3** (2024-04-11) - Fixed decoding of epoch-based dates being affected by the local time zone in the C extension diff --git a/source/decoder.c b/source/decoder.c index 6fd74ce..bd7fa47 100644 --- a/source/decoder.c +++ b/source/decoder.c @@ -348,7 +348,7 @@ _CBORDecoder_get_immutable(CBORDecoderObject *self, void *closure) // Utility functions ///////////////////////////////////////////////////////// -static int +static void raise_from(PyObject *new_exc_type, const char *message) { // This requires the error indicator to be set PyObject *cause;