all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Compilation error fix on GNU/Linux
@ 2010-04-29 17:33 dhruva
  2010-04-30 13:51 ` Jan Djärv
  0 siblings, 1 reply; 2+ messages in thread
From: dhruva @ 2010-04-29 17:33 UTC (permalink / raw
  To: Emacs Development

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






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compilation error fix on GNU/Linux
  2010-04-29 17:33 Compilation error fix on GNU/Linux dhruva
@ 2010-04-30 13:51 ` Jan Djärv
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Djärv @ 2010-04-30 13:51 UTC (permalink / raw
  To: dhruva; +Cc: Emacs Development

Thanks, fixed now.

	Jan D.


dhruva skrev 2010-04-29 19.33:
> 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
>
>
>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-30 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-29 17:33 Compilation error fix on GNU/Linux dhruva
2010-04-30 13:51 ` Jan Djärv

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.