comparison 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
comparison
equal deleted inserted replaced
5824:6928877dbc26 5825:5d5aeb79edb4
1 2014-11-05 Jerry James <james@xemacs.org>
2
3 * ExternalClient-Xlib.c (ExternalClientEventHandler): Cast integer
4 to long before casting to XPointer, which may be larger than int.
5 * database.c: Use BEGIN_C_DECLS/END_C_DECLS around dbm definitions.
6 * lisp.h (ALLOCA): Use NULL instead of (void) 0 to placate g++.
7 (MALLOC_OR_ALLOCA): Ditto.
8 (XSTRING_LENGTH): Use an explicit temporary with NEW_GC so g++ 4.8
9 won't create an uninitialized anonymous temporary.
10 (XSTRING_DATA): Ditto.
11 * sysdll.c: Check whether HAVE_LTDL is defined, not its value.
12 * tls.c (tls_open): Add typecast to xmalloc call in the nss,
13 gnutls, and openssl versions to satisfy g++. In the gnutls version,
14 use gnutls_certificate_type_t appropriately.
15
1 2014-10-25 Michael Sperber <mike@xemacs.org> 16 2014-10-25 Michael Sperber <mike@xemacs.org>
2 17
3 * fontcolor-x.c (x_font_instance_truename): 18 * fontcolor-x.c (x_font_instance_truename):
4 * font-mgr.c (Ffc_name_unparse): 19 * font-mgr.c (Ffc_name_unparse):
5 * font-mgr.h (PRINT_XFT_PATTERN): Don't modify 20 * font-mgr.h (PRINT_XFT_PATTERN): Don't modify