GNU bug report logs -
#17487
Assume C99 or later in trunk
Previous Next
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
[Message part 1 (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.