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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Helmut Eller <eller.helmut <at> gmail.com>
Subject: bug#78903: closed (Re: bug#78903: [PATCH] ISO C99 does not
 support _Noreturn)
Date: Sun, 29 Jun 2025 00:17:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#78903: [PATCH] ISO C99 does not support _Noreturn

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 78903 <at> debbugs.gnu.org.

-- 
78903: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78903
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Helmut Eller <eller.helmut <at> gmail.com>
Cc: 78903-done <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#78903: [PATCH] ISO C99 does not support _Noreturn
Date: Sat, 28 Jun 2025 17:16:06 -0700
On 2025-06-28 12:57, Helmut Eller wrote:

> That must have been a lot of work.  Thanks again.

You're welcome. It's not that much work, as I can run 
'admin/merge-gnulib' in the Emacs source directory to do most of Gnulib 
importation automatically. Closing the bug report.

[Message part 3 (message/rfc822, inline)]
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 4 (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 15 days ago.

Previous Next


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