From: dhruva <dhruva@ymail.com>
To: Emacs Development <emacs-devel@gnu.org>
Subject: Compilation error fix on GNU/Linux
Date: Thu, 29 Apr 2010 10:33:26 -0700 (PDT) [thread overview]
Message-ID: <950600.80471.qm@web65820.mail.ac4.yahoo.com> (raw)
When building emacs using gcc 4.4.1 on GNU/Linux i686, I get an error saying LONG_MAX is not defined during compilation of src/xsetting.c. The following trivial patch fixes it.
$ bzr diff
=== modified file 'src/xsettings.c'
--- src/xsettings.c2010-04-22 17:23:18 +0000
+++ src/xsettings.c2010-04-29 17:28:58 +0000
@@ -18,6 +18,7 @@
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "config.h"
+#include <limits.h>
#include <setjmp.h>
#include <fcntl.h>
#include "lisp.h"
-dhruva
next reply other threads:[~2010-04-29 17:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-29 17:33 dhruva [this message]
2010-04-30 13:51 ` Compilation error fix on GNU/Linux Jan Djärv
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=950600.80471.qm@web65820.mail.ac4.yahoo.com \
--to=dhruva@ymail.com \
--cc=emacs-devel@gnu.org \
/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).