GNU bug report logs - #78903
[PATCH] ISO C99 does not support _Noreturn

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Thu, 26 Jun 2025 07:22:01 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Helmut Eller <eller.helmut <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] ISO C99 does not support _Noreturn
Date: Thu, 26 Jun 2025 09:20:51 +0200
[Message part 1 (text/plain, inline)]
Tags: patch

When I use gcc 14 with -std=gnu99 -Wpedantic I get lots of warnings of
the form

 warning: ISO C99 does not support ‘_Noreturn’ [-Wpedantic].

To avoid those warnings, I propose to use __attribute__ ((__noreturn__))
instead.


[0001-Don-t-use-_Noreturn-with-GCC-unless-__STDC_VERSION__.patch (text/patch, attachment)]

This bug report was last modified 16 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.