GNU bug report logs - #13448
Cannot build Emacs 24.2.92

Previous Next

Package: emacs;

Reported by: Xue Fuqiao <xfq.free <at> gmail.com>

Date: Tue, 15 Jan 2013 10:01:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 13448 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Xue Fuqiao <xfq.free <at> gmail.com>, eggert <at> cs.ucla.edu, 13448 <at> debbugs.gnu.org
Subject: Re: bug#13448: Cannot build Emacs 24.2.92
Date: Tue, 15 Jan 2013 14:36:08 -0500
Glenn Morris wrote:

> (It seems confusing if --enable-gcc-warnings actually enables _errors_
> rather than warnings though.)

https://www.gnu.org/software/gnulib/manual/html_node/warnings.html

says

   Note that it is a bad idea to use gl_WARN_ADD([-Werror]). The
   warnings emitted by GCC depend, to some extent, on the contents of
   the system header files, on the size and signedness of built-in
   types, etc. Use of -Werror would cause frustration to all users on
   platforms that the maintainer has not tested before the release. It
   is better if maintainers use -Werror only for themselves

So why does configure.ac contain this:

   gl_WARN_ADD([-Werror], [WERROR_CFLAGS])

with WERROR_CFLAGS being unconditionally added to ALL_CFLAGS?




This bug report was last modified 12 years and 132 days ago.

Previous Next


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