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: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#78903: closed ([PATCH] ISO C99 does not support _Noreturn)
Date: Sun, 29 Jun 2025 00:17:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 28 Jun 2025 17:16:06 -0700
with message-id <8d31a319-cb73-49ac-a9c8-1a42e357eae8 <at> cs.ucla.edu>
and subject line Re: bug#78903: [PATCH] ISO C99 does not support _Noreturn
has caused the debbugs.gnu.org bug report #78903,
regarding [PATCH] ISO C99 does not support _Noreturn
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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 3 (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)]
[Message part 5 (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.


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.