1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00
emacs/etc
Paul Eggert b8df54ffbe configure: new option --enable-gcc-warnings
I have been using this change for many months in my private copy
of Emacs, and have used it to find several bugs.  It's mature
enough to publish now.
* Makefile.in (GNULIB_MODULES): Add warnings, manywarnings.
* configure.in: Support --enable-gcc-warnings, in the style of
other GNU packages such as coreutils.
(C_WARNINGS_SWITCH): Remove, replacing with...
(WARN_CFLAGS, GNULIB_WARN_CFLAGS): New variable.
(PKG_CHECK_MODULES, C_SWITCH_X_SITE): Use -isystem rather than -I,
when including system files with GCC.
* etc/NEWS: Mention --enable-gcc-warnings.
* lib/Makefile.am (AM_CFLAGS): New macro.
* m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib.
* lib-src/Makefile.in (C_WARNINGS_SWITCH): Remove.
(WARN_CFLAGS, WERROR_CFLAGS): New macros.
(BASE_CFLAGS): Use new macros rather than old.
* lwlib/Makefile.in (C_WARNINGS_SWITCH): Remove.
(WARN_CFLAGS, WERROR_CFLAGS): New macros.
(ALL_CFLAGS): Use new macros rather than old.
* oldXMenu/Makefile.in (C_WARNINGS_SWITCH): Remove.
(WARN_CFLAGS, WERROR_CFLAGS): New macros.
(ALL_CFLAGS): Use new macros rather than old.
* src/Makefile.in (C_WARNINGS_SWITCH): Remove.
(WARN_CFLAGS, WERROR_CFLAGS): New macros.
(ALL_CFLAGS): Use new macros rather than old.
* src/process.c: Ignore -Wstrict-overflow to work around GCC bug 52904.
* src/regex.c: Ignore -Wstrict-overflow.  If !emacs, also ignore
-Wunused-but-set-variable, -Wunused-function, -Wunused-macros,
-Wunused-result, -Wunused-variable.  This should go away once
the Emacs and Gnulib regex code is merged.
(xmalloc, xrealloc): Now static.
2012-04-09 00:45:59 -07:00
..
charsets Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
e Spelling fixes. 2011-11-26 20:43:11 -08:00
gnus Spelling fixes. 2011-11-19 18:29:42 -08:00
images Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
nxml Nuke arch-tags. 2011-01-15 15:16:57 -08:00
org Fix copyright and authors lines in Org 2012-04-01 22:27:06 +02:00
refcards Fix copyright and authors lines in Org 2012-04-01 22:27:06 +02:00
schema Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
srecode Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
themes Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
tutorials * tutorials/TUTORIAL.ru: Updated; synchronize with TUTORIAL. 2012-02-08 10:05:02 +08:00
.gitignore Nuke arch-tags. 2011-01-15 15:16:57 -08:00
AUTHORS Bump version to 24.0.95. 2012-04-02 12:38:31 +08:00
celibacy.1
CENSORSHIP
ChangeLog NEWS: Add CC Mode entries. 2012-04-02 09:59:52 +00:00
compilation.txt Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
condom.1
CONTRIBUTE Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
COOKIES
COPYING
copying.paper
DEBUG Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
DEVEL.HUMOR
DISTRIB Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
echo.msg
edt-user.el Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
emacs-buffer.gdb In GDB scripts, don't assume that EMACS_INT fits in long. 2012-02-20 16:07:53 -08:00
emacs.desktop
emacs.icon
emacs.py Nuke arch-tags. 2011-01-15 15:16:57 -08:00
emacs2.py Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
emacs3.py Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
enriched.doc Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ERC-NEWS Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ETAGS.EBNF Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ETAGS.README Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
forms-d2.dat
FTP
future-bug
GNU Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
GNUS-NEWS Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
gnus-tut.txt Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
grep.txt Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
HELLO Small fixes related to etc/HELLO 2012-03-16 19:20:37 -04:00
INTERVIEW
JOKES Spelling fixes. 2011-11-14 12:23:26 -08:00
LINUX-GNU
MACHINES Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
MAILINGLISTS Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
MH-E-NEWS Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
MORE.STUFF Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
MOTIVATION
NEWS configure: new option --enable-gcc-warnings 2012-04-09 00:45:59 -07:00
NEWS.1-17 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
NEWS.18 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
NEWS.19 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
NEWS.20 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
NEWS.21 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
NEWS.22 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
NEWS.23 Merge from emacs-23; up to 2012-01-19T07:15:48Z!rgm@gnu.org. 2012-01-18 23:21:25 -08:00
NEXTSTEP Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
NXML-NEWS
ORDERS Update some URLs. 2009-12-15 03:12:44 +00:00
PROBLEMS Fix commenting convention in PROBLEMS example 2012-04-04 00:30:02 -07:00
ps-prin0.ps Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ps-prin1.ps Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
README Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
rgb.txt
SERVICE Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ses-example.ses Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
sex.6
spook.lines
TERMS Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
THE-GNU-PROJECT Spelling fixes. 2011-11-19 23:30:16 -08:00
TODO * etc/TODO: Add entry for writing tests. 2012-01-17 19:38:59 -08:00
WHY-FREE
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

`forms-d2.dat' is an example data file used by forms-d2.el.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2012  Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)