diff src/ChangeLog @ 5825:5d5aeb79edb4

Fix build with g++. This patch fixes various issues that cause build failures with g++ 4.8.3. See <CAHCOHQ=6yKcjQELvG8FOHXcWVez+HufUWb4FdcJKpUNhm+8B=g@mail.gmail.com> in xemacs-patches.
author Jerry James <james@xemacs.org>
date Thu, 06 Nov 2014 09:34:06 -0700
parents 6928877dbc26
children 4d7032d36975
line wrap: on
line diff
--- a/src/ChangeLog	Sat Oct 25 15:59:31 2014 +0200
+++ b/src/ChangeLog	Thu Nov 06 09:34:06 2014 -0700
@@ -1,3 +1,18 @@
+2014-11-05  Jerry James  <james@xemacs.org>
+
+	* ExternalClient-Xlib.c (ExternalClientEventHandler): Cast integer
+	to long before casting to XPointer, which may be larger than int.
+	* database.c: Use BEGIN_C_DECLS/END_C_DECLS around dbm definitions.
+	* lisp.h (ALLOCA): Use NULL instead of (void) 0 to placate g++.
+	(MALLOC_OR_ALLOCA): Ditto.
+	(XSTRING_LENGTH): Use an explicit temporary with NEW_GC so g++ 4.8
+	won't create an uninitialized anonymous temporary.
+	(XSTRING_DATA): Ditto.
+	* sysdll.c: Check whether HAVE_LTDL is defined, not its value.
+	* tls.c (tls_open): Add typecast to xmalloc call in the nss,
+	gnutls, and openssl versions to satisfy g++.  In the gnutls version,
+	use gnutls_certificate_type_t appropriately.
+
 2014-10-25  Michael Sperber  <mike@xemacs.org>
 
 	* fontcolor-x.c (x_font_instance_truename):