comparison src/ChangeLog @ 5820:b3824b7f5627

Some changes to eliminate warnings with Apple clang version 1.7. src/ChangeLog addition: 2014-10-18 Aidan Kehoe <kehoea@parhasard.net> Some changes to eliminate warnings with Apple clang version 1.7. * cm.c (send_string_to_tty_console): * doprnt.c (doprnt_2): * doprnt.c (parse_off_posnum): * event-stream.c (dribble_out_event): Cast various calls to Lstream_putc() to void when the result isn't being used, for the sake of clang. * lisp.h: Declare #'replace here too, it's used in event-stream.c. * lisp.h (ALLOCA): * lisp.h (MALLOC_OR_ALLOCA): Cast a couple of zeros in the context of the ternary operator to void to prevent unused value warnings with clang. * sysdep.c (child_setup_tty): * text.h (ASSERT_ASCTEXT_ASCII_LEN): Use DO_NOTHING in these files to quieten the compiler. lib-src/ChangeLog addition: 2014-10-18 Aidan Kehoe <kehoea@parhasard.net> * ootags.c (substitute): Cast the result of strlen to int before comparing it with a signed value, for the sake of compiler warnings.
author Aidan Kehoe <kehoea@parhasard.net>
date Sat, 18 Oct 2014 21:48:10 +0100
parents 15b0715c204d
children 6928877dbc26
comparison
equal deleted inserted replaced
5819:ba0ff364bd94 5820:b3824b7f5627
1 2014-10-18 Aidan Kehoe <kehoea@parhasard.net>
2
3 Some changes to eliminate warnings with Apple clang version 1.7.
4 * cm.c (send_string_to_tty_console):
5 * doprnt.c (doprnt_2):
6 * doprnt.c (parse_off_posnum):
7 * event-stream.c (dribble_out_event):
8 Cast various calls to Lstream_putc() to void when the result isn't
9 being used, for the sake of clang.
10 * lisp.h:
11 Declare #'replace here too, it's used in event-stream.c.
12 * lisp.h (ALLOCA):
13 * lisp.h (MALLOC_OR_ALLOCA):
14 Cast a couple of zeros in the context of the ternary operator to
15 void to prevent unused value warnings with clang.
16 * sysdep.c (child_setup_tty):
17 * text.h (ASSERT_ASCTEXT_ASCII_LEN):
18 Use DO_NOTHING in these files to quieten the compiler.
19
1 2014-10-18 Stephen J. Turnbull <stephen@xemacs.org> 20 2014-10-18 Stephen J. Turnbull <stephen@xemacs.org>
2 21
3 * fontcolor-xlike-inc.c (xft_find_charset_font): 22 * fontcolor-xlike-inc.c (xft_find_charset_font):
4 * fontcolor-x.c (x_font_instance_truename): 23 * fontcolor-x.c (x_font_instance_truename):
5 * font-mgr.h (PRINT_XFT_PATTERN): 24 * font-mgr.h (PRINT_XFT_PATTERN):