unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: martin rudalics <rudalics@gmx.at>, 19428@debbugs.gnu.org
Subject: bug#19428: 25.0.50; X frame size inconsistent at start-up
Date: Sun, 04 Jan 2015 01:13:40 -0800	[thread overview]
Message-ID: <54A90444.3080302@cs.ucla.edu> (raw)
In-Reply-To: <54A8FFEA.6020501@gmx.at>

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

martin rudalics wrote:
> Some code had been injected which
> caused making stop here because of warnings treated as errors and I had
> no idea how to ignore them and continue compiling.

You can use 'make WERROR_CFLAGS=' for that.  I installed the attached patch to 
document this better.

Warnings shouldn't happen with the latest GCC (4.9.2) on x86-64 GNU/Linux, but 
they can happen with older compilers or other platforms.

[-- Attachment #2: 0001-INSTALL-Mention-make-WERROR_CFLAGS.patch --]
[-- Type: text/x-diff, Size: 1375 bytes --]

From 611310ec5029aa2b5de74a70733b3cd7106034b9 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Sun, 4 Jan 2015 01:10:26 -0800
Subject: [PATCH] * INSTALL: Mention 'make WERROR_CFLAGS='.

---
 ChangeLog | 2 ++
 INSTALL   | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 8051263..36edfe6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2015-01-04  Paul Eggert  <eggert@cs.ucla.edu>
 
+	* INSTALL: Mention 'make WERROR_CFLAGS='.
+
 	Clarify 'make info'
 	* Makefile.in (info): Use GNU make conditional rather than
 	an '@' rule with a shell conditional, so that the builder can
diff --git a/INSTALL b/INSTALL
index 6850c7d..1ed2698 100644
--- a/INSTALL
+++ b/INSTALL
@@ -312,7 +312,9 @@ Use --enable-gcc-warnings to enable compile-time checks that warn
 about possibly-questionable C code.  This is intended for developers
 and is useful with GNU-compatible compilers.  On a recent GNU system
 there should be no warnings; on older and on non-GNU systems the
-generated warnings may still be useful.
+generated warnings may still be useful, though you may prefer building
+with 'make WERROR_CFLAGS=' so that the warnings are not treated as
+errors.
 
 Use --enable-silent-rules to cause 'make' to chatter less.  This is
 helpful when combined with options like --enable-gcc-warnings that
-- 
2.1.0


      reply	other threads:[~2015-01-04  9:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-22  3:01 bug#19428: 25.0.50; Frame is wider (in chars) than normal non-deterministically Michael Welsh Duggan
2014-12-25 23:26 ` Michael Welsh Duggan
2014-12-30 16:01 ` martin rudalics
2014-12-30 22:47   ` Michael Welsh Duggan
2015-01-03 17:17   ` martin rudalics
2015-01-05  3:31     ` Michael Duggan
2015-01-05  7:08       ` martin rudalics
2015-01-05  7:53         ` martin rudalics
2015-01-03 20:22 ` bug#19428: 25.0.50; X frame size inconsistent at start-up Paul Eggert
2015-01-04  8:55   ` martin rudalics
2015-01-04  9:13     ` Paul Eggert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54A90444.3080302@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=19428@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).