GNU bug report logs - #17487
Assume C99 or later in trunk

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Wed, 14 May 2014 01:13:02 UTC

Severity: minor

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>
Subject: bug#17487: closed (Re: bug#17487: Assume C99 or later in trunk)
Date: Sat, 17 May 2014 08:16:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#17487: Assume C99 or later in trunk

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 17487 <at> debbugs.gnu.org.

-- 
17487: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17487
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: Eli Zaretskii <eliz <at> gnu.org>
Cc: 17487-done <at> debbugs.gnu.org
Subject: Re: bug#17487: Assume C99 or later in trunk
Date: Sat, 17 May 2014 01:14:55 -0700
Eli Zaretskii wrote:
> Thanks, it looks good to me.

Thanks, I tested it and tweaked it a bit more and installed it as trunk 
bzr 117119.

[Message part 3 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Emacs bug reports <bug-gnu-emacs <at> gnu.org>
Subject: Assume C99 or later in trunk
Date: Tue, 13 May 2014 18:11:46 -0700
[Message part 4 (text/plain, inline)]
Tags: patch

For some time I have ported Emacs to C89 whenever developers 
inadvertently change the mainline C code to use features like 
declarations-after-statements that C89 prohibits.  It's time for me to 
stop doing this job, as it's no longer useful.  As far as I know, no 
current Emacs target lacks a compiler that supports the relevant 
features.  GCC has supported the features for many years, even decades, 
and key GNU packages such as Coreutils have assumed them for quite some 
time.

To help move this along and to simplify maintenance a bit, I would like 
to install the attached patches into the trunk.  We don't need wholesale 
changes to rewrite Emacs's C code to use C99 features, but on the other 
hand we no longer need to keep porting to C89 and these minimal changes 
will help remind us of that.

The first attached patch is the main one.  The second patch is 
automatically generated by 'admin/merge-gnulib'.
[c99.diff (text/plain, attachment)]
[c99-auto.diff (text/plain, attachment)]

This bug report was last modified 11 years and 4 days ago.

Previous Next


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