[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17487: Assume C99 or later in trunk

From: Paul Eggert
Subject: bug#17487: Assume C99 or later in trunk
Date: Tue, 13 May 2014 18:11:46 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

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'.

Attachment: c99.diff
Description: Text document

Attachment: c99-auto.diff
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]