=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for emacs22-22.3nb45 /usr/bin/touch /data/scratch/editors/emacs22/work/emacs-22.3/leim/quail/tsang-b5.el cd lib-src; /usr/pkg/bin/gmake all -j --jobserver-fds=5,6 \ CC='clang' CFLAGS='-O2 -I/usr/pkg/include -I/usr/include' CPPFLAGS='-I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include' \ LDFLAGS='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc ' MAKE='/usr/pkg/bin/gmake' gmake[1]: Entering directory '/data/scratch/editors/emacs22/work/emacs-22.3/lib-src' clang -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -o test-distrib /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/test-distrib.c clang -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/make-docfile.c -lutil -lc -o make-docfile clang -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/profile.c -lutil -lc -o profile clang -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/digest-doc.c -lutil -lc -o digest-doc clang -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/sorted-doc.c -lutil -lc -o sorted-doc cp /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/getopt_.h getopt.h-t clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/pop.c clang -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/cvtmail.c -lutil -lc -o cvtmail clang -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/fakemail.c -lutil -lc -o fakemail clang -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/hexl.c -lutil -lc -o hexl clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src/regex.c mv getopt.h-t getopt.h clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -Demacs /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/movemail.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/getopt.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/getopt1.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/update-game-score.c -DHAVE_SHARED_GAME_DIR="\"/var/games/emacs\"" /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src/regex.c:195:7: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write (2, "virtual memory exhausted\n", 25); ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src/regex.c:2032:15: warning: initializing 'const char *' with an expression of type 're_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] const char *string = str; ^ ~~~ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src/regex.c:2622:25: warning: passing 're_char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pend = p + strlen (p); ^ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/movemail.c:629:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (stderr, s1); ^~ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/movemail.c:629:22: note: treat the string as an argument to avoid this fprintf (stderr, s1); ^ "%s", ./test-distrib /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/testfile 1 warning generated. clang -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -O2 -I/usr/pkg/include -I/usr/include update-game-score.o getopt.o getopt1.o -lutil -lc -o update-game-score clang -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/emacsclient.c getopt.o getopt1.o -DVERSION="\"22.3\"" -lutil -lc -o emacsclient clang -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/b2m.c -DVERSION="\"22.3\"" getopt.o getopt1.o -lutil -lc -o b2m clang -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -DVERSION="\"22.3\"" /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/ebrowse.c getopt.o getopt1.o -lutil -lc -o ebrowse clang -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -O2 -I/usr/pkg/include -I/usr/include movemail.o pop.o getopt.o getopt1.o -lutil -lc -o movemail /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/emacsclient.c:705:29: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (file_name_absolute_p (server_file)) ^~~~~~~~~~~ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/emacsclient.c:744:29: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration] server->sin_addr.s_addr = inet_addr (dotted); ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/emacsclient.c:773:24: warning: implicit declaration of function 'inet_ntoa' is invalid in C99 [-Wimplicit-function-declaration] progname, inet_ntoa (server.sin_addr)); ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/emacsclient.c:1148:44: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (! file_name_absolute_p (argv[i])) ^~~~~~~ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/ebrowse.c:2473:46: warning: incompatible pointer types passing 'struct link *' to parameter of type 'struct sym *' [-Wincompatible-pointer-types] tmp->sym = find_namespace (yytext, cur); ^~~ 4 warnings generated. 1 warning generated. 3 warnings generated. clang -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -DEMACS_NAME="\"GNU Emacs\"" -DVERSION="\"22.3\"" /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c getopt.o getopt1.o regex.o -lutil -lc -o etags /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:1402:15: warning: enumeration value 'at_end' not handled in switch [-Wswitch] switch (argbuffer[i].arg_type) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:2961:16: warning: 12 enumeration values not handled in switch: 'st_C_objprot', 'st_C_objimpl', 'st_C_objend'... [-Wswitch] switch (toktype) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:2978:16: warning: 13 enumeration values not handled in switch: 'st_none', 'st_C_objprot', 'st_C_objimpl'... [-Wswitch] switch (toktype) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:2948:12: warning: enumeration values 'tinbody' and 'tignore' not handled in switch [-Wswitch] switch (typdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:2988:12: warning: 11 enumeration values not handled in switch: 'st_none', 'st_C_objprot', 'st_C_objimpl'... [-Wswitch] switch (toktype) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3033:16: warning: 14 enumeration values not handled in switch: 'st_none', 'st_C_objend', 'st_C_gnumacro'... [-Wswitch] switch (toktype) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3030:12: warning: enumeration values 'otagseen', 'ocatseen', and 'omethodtag' not handled in switch [-Wswitch] switch (objdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3137:13: warning: 4 enumeration values not handled in switch: 'tkeyseen', 'tinbody', 'tend'... [-Wswitch] switch (typdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3128:16: warning: 7 enumeration values not handled in switch: 'fdefunname', 'foperator', 'fstartlist'... [-Wswitch] switch (fvdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3100:12: warning: 12 enumeration values not handled in switch: 'st_C_objprot', 'st_C_objimpl', 'st_C_objend'... [-Wswitch] switch (toktype) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3624:13: warning: 8 enumeration values not handled in switch: 'fvnone', 'fdefunkey', 'fdefunname'... [-Wswitch] switch (fvdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3621:16: warning: enumeration values 'ddefineseen' and 'dignorerest' not handled in switch [-Wswitch] switch (definedef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3675:12: warning: 9 enumeration values not handled in switch: 'onone', 'oprotocol', 'oimplementation'... [-Wswitch] switch (objdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3757:12: warning: 10 enumeration values not handled in switch: 'onone', 'oprotocol', 'oimplementation'... [-Wswitch] switch (objdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3808:12: warning: enumeration values 'tkeyseen' and 'tignore' not handled in switch [-Wswitch] switch (typdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3846:12: warning: 7 enumeration values not handled in switch: 'fvnone', 'fdefunkey', 'fdefunname'... [-Wswitch] switch (fvdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3886:16: warning: 8 enumeration values not handled in switch: 'fvnone', 'fdefunkey', 'fdefunname'... [-Wswitch] switch (fvdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3914:12: warning: 7 enumeration values not handled in switch: 'fdefunkey', 'fdefunname', 'foperator'... [-Wswitch] switch (fvdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3942:12: warning: enumeration value 'snone' not handled in switch [-Wswitch] switch (structdef) ^ 19 warnings generated. clang -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -DCTAGS -DEMACS_NAME="\"GNU Emacs\"" -DVERSION="\"22.3\"" /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c getopt.o getopt1.o regex.o -lutil -lc -o ctags /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:1402:15: warning: enumeration value 'at_end' not handled in switch [-Wswitch] switch (argbuffer[i].arg_type) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:2961:16: warning: 12 enumeration values not handled in switch: 'st_C_objprot', 'st_C_objimpl', 'st_C_objend'... [-Wswitch] switch (toktype) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:2978:16: warning: 13 enumeration values not handled in switch: 'st_none', 'st_C_objprot', 'st_C_objimpl'... [-Wswitch] switch (toktype) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:2948:12: warning: enumeration values 'tinbody' and 'tignore' not handled in switch [-Wswitch] switch (typdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:2988:12: warning: 11 enumeration values not handled in switch: 'st_none', 'st_C_objprot', 'st_C_objimpl'... [-Wswitch] switch (toktype) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3033:16: warning: 14 enumeration values not handled in switch: 'st_none', 'st_C_objend', 'st_C_gnumacro'... [-Wswitch] switch (toktype) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3030:12: warning: enumeration values 'otagseen', 'ocatseen', and 'omethodtag' not handled in switch [-Wswitch] switch (objdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3137:13: warning: 4 enumeration values not handled in switch: 'tkeyseen', 'tinbody', 'tend'... [-Wswitch] switch (typdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3128:16: warning: 7 enumeration values not handled in switch: 'fdefunname', 'foperator', 'fstartlist'... [-Wswitch] switch (fvdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3100:12: warning: 12 enumeration values not handled in switch: 'st_C_objprot', 'st_C_objimpl', 'st_C_objend'... [-Wswitch] switch (toktype) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3624:13: warning: 8 enumeration values not handled in switch: 'fvnone', 'fdefunkey', 'fdefunname'... [-Wswitch] switch (fvdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3621:16: warning: enumeration values 'ddefineseen' and 'dignorerest' not handled in switch [-Wswitch] switch (definedef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3675:12: warning: 9 enumeration values not handled in switch: 'onone', 'oprotocol', 'oimplementation'... [-Wswitch] switch (objdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3757:12: warning: 10 enumeration values not handled in switch: 'onone', 'oprotocol', 'oimplementation'... [-Wswitch] switch (objdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3808:12: warning: enumeration values 'tkeyseen' and 'tignore' not handled in switch [-Wswitch] switch (typdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3846:12: warning: 7 enumeration values not handled in switch: 'fvnone', 'fdefunkey', 'fdefunname'... [-Wswitch] switch (fvdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3886:16: warning: 8 enumeration values not handled in switch: 'fvnone', 'fdefunkey', 'fdefunname'... [-Wswitch] switch (fvdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3914:12: warning: 7 enumeration values not handled in switch: 'fdefunkey', 'fdefunname', 'foperator'... [-Wswitch] switch (fvdef) ^ /data/scratch/editors/emacs22/work/emacs-22.3/lib-src/etags.c:3942:12: warning: enumeration value 'snone' not handled in switch [-Wswitch] switch (structdef) ^ 19 warnings generated. gmake[1]: Leaving directory '/data/scratch/editors/emacs22/work/emacs-22.3/lib-src' cd src; /usr/pkg/bin/gmake all -j --jobserver-fds=5,6 \ CC='clang' CFLAGS='-O2 -I/usr/pkg/include -I/usr/include' CPPFLAGS='-I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include' \ LDFLAGS='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc ' MAKE='/usr/pkg/bin/gmake' gmake[1]: Entering directory '/data/scratch/editors/emacs22/work/emacs-22.3/src' clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include pre-crt0.c cd ../lwlib/; /usr/pkg/bin/gmake -w -j --jobserver-fds=5,6 CC='clang' CFLAGS='-O2 -I/usr/pkg/include -I/usr/include' MAKE='/usr/pkg/bin/gmake' "C_SWITCH_X_SITE=" "C_SWITCH_X_MACHINE=" "C_SWITCH_X_SYSTEM=" "C_SWITCH_SITE=" "C_SWITCH_MACHINE=" "C_SWITCH_SYSTEM=-I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib" clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include dispnew.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include frame.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include scroll.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include xdisp.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include xmenu.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include window.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include charset.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include coding.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include category.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include ccl.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include cm.c gmake[2]: Entering directory '/data/scratch/editors/emacs22/work/emacs-22.3/lwlib' clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -DUSE_LUCID -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -Demacs -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lwlib -I/data/scratch/editors/emacs22/work/emacs-22.3/lwlib/../src /data/scratch/editors/emacs22/work/emacs-22.3/lwlib/lwlib.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -Demacs -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lwlib -I/data/scratch/editors/emacs22/work/emacs-22.3/lwlib/../src lwlib-Xlw.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include term.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -Demacs -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lwlib -I/data/scratch/editors/emacs22/work/emacs-22.3/lwlib/../src xlwmenu.c ccl.c:2276:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] produced = ccl_driver (&ccl, SDATA (str), outbuf, ^~~~~~ ccl.c:2287:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] produced = str_as_multibyte (outbuf, outbufsize, produced, &nchars); ^~~~~~ ./charset.h:853:49: note: passing argument to parameter here extern int str_as_multibyte P_ ((unsigned char *, int, int, int *)); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -Demacs -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lwlib -I/data/scratch/editors/emacs22/work/emacs-22.3/lwlib/../src lwlib-Xaw.c coding.c:3485:16: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] safe_bcopy (src, dst, src_bytes); ^~~ ./lisp.h:2497:41: note: passing argument to parameter here extern void safe_bcopy P_ ((const char *, char *, int)); ^ coding.c:3485:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] safe_bcopy (src, dst, src_bytes); ^~~ ./lisp.h:2497:49: note: passing argument to parameter here extern void safe_bcopy P_ ((const char *, char *, int)); ^ coding.c:3494:16: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] safe_bcopy (src, dst, dst_bytes); ^~~ ./lisp.h:2497:41: note: passing argument to parameter here extern void safe_bcopy P_ ((const char *, char *, int)); ^ coding.c:3494:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] safe_bcopy (src, dst, dst_bytes); ^~~ ./lisp.h:2497:49: note: passing argument to parameter here extern void safe_bcopy P_ ((const char *, char *, int)); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -Demacs -I. -I../src -I/data/scratch/editors/emacs22/work/emacs-22.3/lwlib -I/data/scratch/editors/emacs22/work/emacs-22.3/lwlib/../src lwlib-utils.c xdisp.c:1481:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int rest = strlen (s), len; ^ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xdisp.c:1512:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int rest = strlen (s), len; ^ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xdisp.c:1522:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] nchars = strlen (s); ^ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ coding.c:4368:30: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] mask = detect_coding_mask (src, src_bytes, coding_priorities, &skip, ^~~ coding.c:4543:51: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] eol_type = detect_eol_type_in_2_octet_form (src, src_bytes, &skip, 1); ^~~ coding.c:4546:51: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] eol_type = detect_eol_type_in_2_octet_form (src, src_bytes, &skip, 0); ^~~ coding.c:4549:35: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] eol_type = detect_eol_type (src, src_bytes, &skip); ^~~ coding.c:5012:34: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ccl_coding_driver (coding, source, destination + extra, ^~~~~~ coding.c:5082:40: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] encode_coding_sjis_big5 (coding, source, destination, ^~~~~~ coding.c:5092:40: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] encode_coding_sjis_big5 (coding, source, destination, ^~~~~~ coding.c:5102:34: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ccl_coding_driver (coding, source, destination, ^~~~~~ xdisp.c:2882:19: warning: initializing 'const char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] const char *s = SDATA (it->overlay_strings[i]); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coding.c:5822:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] safe_bcopy (GAP_END_ADDR - len_byte_orig, GAP_END_ADDR - len_byte, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./buffer.h:69:22: note: expanded from macro 'GAP_END_ADDR' #define GAP_END_ADDR (current_buffer->text->beg + current_buffer->text->gpt_byte + current_buffer->text->gap_size - BEG_BYTE) ^ ./lisp.h:2497:41: note: passing argument to parameter here extern void safe_bcopy P_ ((const char *, char *, int)); ^ coding.c:5822:44: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] safe_bcopy (GAP_END_ADDR - len_byte_orig, GAP_END_ADDR - len_byte, ^~~~~~~~~~~~~~~~~~~~~~~ ./buffer.h:69:22: note: expanded from macro 'GAP_END_ADDR' #define GAP_END_ADDR (current_buffer->text->beg + current_buffer->text->gpt_byte + current_buffer->text->gap_size - BEG_BYTE) ^ ./lisp.h:2497:49: note: passing argument to parameter here extern void safe_bcopy P_ ((const char *, char *, int)); ^ coding.c:6043:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] safe_bcopy (GAP_END_ADDR, GPT_ADDR + inserted_byte, tail_skip); ^~~~~~~~~~~~ ./buffer.h:69:22: note: expanded from macro 'GAP_END_ADDR' #define GAP_END_ADDR (current_buffer->text->beg + current_buffer->text->gpt_byte + current_buffer->text->gap_size - BEG_BYTE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:2497:41: note: passing argument to parameter here extern void safe_bcopy P_ ((const char *, char *, int)); ^ coding.c:6043:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] safe_bcopy (GAP_END_ADDR, GPT_ADDR + inserted_byte, tail_skip); ^~~~~~~~~~~~~~~~~~~~~~~~ ./buffer.h:66:18: note: expanded from macro 'GPT_ADDR' #define GPT_ADDR (current_buffer->text->beg + current_buffer->text->gpt_byte - BEG_BYTE) ^ ./lisp.h:2497:49: note: passing argument to parameter here extern void safe_bcopy P_ ((const char *, char *, int)); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include xfaces.c charset.c:575:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value] = make_number (-1); ^~~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ coding.c:6683:37: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] coding_mask = detect_coding_mask (src, src_bytes, NULL, &dummy, multibytep); ^~~ coding.c:6684:32: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] eol_type = detect_eol_type (src, src_bytes, &dummy); ^~~ xdisp.c:5025:11: warning: 5 enumeration values not handled in switch: 'GET_FROM_BUFFER', 'GET_FROM_DISPLAY_VECTOR', 'GET_FROM_STRING'... [-Wswitch] switch (p->method) ^ xdisp.c:5082:11: warning: enumeration values 'GET_FROM_DISPLAY_VECTOR', 'GET_FROM_C_STRING', and 'NUM_IT_METHODS' not handled in switch [-Wswitch] switch (it->method) ^ xdisp.c:5512:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] it->end_charpos = it->string_nchars = strlen (s); ^ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ coding.c:7017:37: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] safe_codings = find_safe_codings (p1, p1end, safe_codings, work_table, ^~ coding.c:7017:41: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] safe_codings = find_safe_codings (p1, p1end, safe_codings, work_table, ^~~~~ coding.c:7020:39: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] safe_codings = find_safe_codings (p2, p2end, safe_codings, work_table, ^~ coding.c:7020:43: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] safe_codings = find_safe_codings (p2, p2end, safe_codings, work_table, ^~~~~ xdisp.c:6212:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int maxlen = strlen (it->s) - IT_BYTEPOS (*it); ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ charset.c:1547:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] safe_bcopy (p, endp - nbytes, nbytes); ^ ./lisp.h:2497:41: note: passing argument to parameter here extern void safe_bcopy P_ ((const char *, char *, int)); ^ charset.c:1547:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] safe_bcopy (p, endp - nbytes, nbytes); ^~~~~~~~~~~~~ ./lisp.h:2497:49: note: passing argument to parameter here extern void safe_bcopy P_ ((const char *, char *, int)); ^ charset.c:1605:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] safe_bcopy (p, endp - bytes, bytes); ^ ./lisp.h:2497:41: note: passing argument to parameter here extern void safe_bcopy P_ ((const char *, char *, int)); ^ charset.c:1605:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] safe_bcopy (p, endp - bytes, bytes); ^~~~~~~~~~~~ ./lisp.h:2497:49: note: passing argument to parameter here extern void safe_bcopy P_ ((const char *, char *, int)); ^ charset.c:1676:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = make_string_from_bytes (buf, n, p - buf); ^~~ ./lisp.h:2580:60: note: passing argument to parameter here extern Lisp_Object make_string_from_bytes P_ ((const char *, int, int)); ^ charset.c:1821:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value] make_number (-1), ^~~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ charset.c:1822:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value] make_number (-1), ^~~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ charset.c:1834:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value] make_number (-1), ^~~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ charset.c:1835:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value] make_number (-1), ^~~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ xdisp.c:7409:36: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] c = string_char_and_length (m + i, nbytes - i, &char_bytes); ^~~~~ xdisp.c:7432:12: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert_1 (m, nbytes, 1, 0, 0); ^ ./lisp.h:2461:48: note: passing argument to parameter here extern void insert_1 P_ ((const unsigned char *, int, int, int, int)); ^ xdisp.c:7437:14: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert_1 ("\n", 1, 1, 0, 0); ^~~~ ./lisp.h:2461:48: note: passing argument to parameter here extern void insert_1 P_ ((const unsigned char *, int, int, int, int)); ^ xdisp.c:7467:19: warning: passing 'char [40]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert_1 (dupstr, duplen, 1, 0, 1); ^~~~~~ ./lisp.h:2461:48: note: passing argument to parameter here extern void insert_1 P_ ((const unsigned char *, int, int, int, int)); ^ xdisp.c:7552:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (p1, " times]\n", 8) == 0) ^~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ xdisp.c:8696:36: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] c = string_char_and_length (s + i, nbytes - i, &n); ^~~~~ xdisp.c:8720:12: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert_1 (s, nbytes, 1, 0, 0); ^ ./lisp.h:2461:48: note: passing argument to parameter here extern void insert_1 P_ ((const unsigned char *, int, int, int, int)); ^ xdisp.c:9034:20: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] nbytes = strlen (str); ^~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ window.c:5444:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value] xdisp.c:10793:15: warning: Fvertical_motion (make_number (-1), window);shifting a negative signed value is undefined [-Wshift-negative-value] ^~~~~~~~~~~~~~~~ return make_number (-1); /* Use default arrow bitmap */ ^~~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' ./lisp.h#define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS): 378 ~~~~~~~~~~~~~~~~~ ^ :43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include xterm.c xlwmenu.c:531:46: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] size_menu_item (mw, val, horizontal_p, &label_width, &rest_width, ^~~~~~~~~~~~ xlwmenu.c:532:24: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &button_width, &height); ^~~~~~~ frame.c:1981:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (frame_name_fnn_p (SDATA (f->name), ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:1999:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (frame_name_fnn_p (SDATA (name), SBYTES (name))) ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:2117:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (SDATA (XCDR (elt)), ^~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ frame.c:2121:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (strncmp (SDATA (XCDR (elt)), ^~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ frame.c:2131:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (SDATA (XCDR (elt)), ^~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ frame.c:2135:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (strncmp (SDATA (XCDR (elt)), ^~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ frame.c:2224:20: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] color_name = SDATA (value); ^ ~~~~~~~~~~~~~ frame.c:2233:20: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] color_name = SDATA (value); ^ ~~~~~~~~~~~~~ xdisp.c:16624:21: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] display_string ("", Qnil, Qnil, 0, 0, &it, -1, 0, 0, -1); ^~ xdisp.c:925:47: note: passing argument to parameter here static int display_string P_ ((unsigned char *, Lisp_Object, Lisp_Object, ^ xdisp.c:16787:19: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] display_string (" ", Qnil, Qnil, 0, 0, &it, 10000, -1, -1, 0); ^~~ xdisp.c:925:47: note: passing argument to parameter here static int display_string P_ ((unsigned char *, Lisp_Object, Lisp_Object, ^ xdisp.c:17076:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] = decode_mode_spec (it->w, c, field, prec, &multibyte); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdisp.c:17086:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int len = strlen (spec); ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xdisp.c:17087:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Lisp_Object tem = make_string (spec, len); ^~~~ ./lisp.h:2574:49: note: passing argument to parameter here extern Lisp_Object make_string P_ ((const char *, int)); ^ xdisp.c:17297:33: warning: passing 'char [1]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] n += store_mode_line_noprop ("", field_width - n, 0); ^~ xdisp.c:17303:25: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] n += display_string ("", Qnil, Qnil, 0, 0, it, field_width - n, ^~ xdisp.c:925:47: note: passing argument to parameter here static int display_string P_ ((unsigned char *, Lisp_Object, Lisp_Object, ^ frame.c:3109:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ? x_new_fontset (f, SDATA (fontset_name)) ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:1055:61: note: passing argument to parameter here extern Lisp_Object x_new_fontset P_ ((struct frame *, char *)); ^ frame.c:3110:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] : x_new_font (f, SDATA (arg))); ^~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:1054:58: note: passing argument to parameter here extern Lisp_Object x_new_font P_ ((struct frame *, char *)); ^ xdisp.c:18622:10: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *unit = SDATA (SYMBOL_NAME (prop)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c:3451:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (name_key, SDATA (Vx_resource_name)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ frame.c:3452:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (class_key, SDATA (Vx_resource_class)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ frame.c:3455:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (class_key, SDATA (class)); ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ frame.c:3460:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (class_key, SDATA (subclass)); ^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ frame.c:3463:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (name_key, SDATA (component)); ^~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ frame.c:3467:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (name_key, SDATA (attribute)); ^~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ frame.c:3593:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_number (atoi (SDATA (tem))); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ ./lisp.h:378:39: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ^ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ frame.c:3596:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_float (atof (SDATA (tem))); ^~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdlib.h:100:26: note: passing argument to parameter here double atof(const char *); ^ frame.c:3600:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp (SDATA (tem), "on") ^~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ frame.c:3601:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !strcmp (SDATA (tem), "true")) ^~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ frame.c:3615:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp (SDATA (lower), "on") ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ frame.c:3616:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !strcmp (SDATA (lower), "true")) ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ frame.c:3618:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!strcmp (SDATA (lower), "off") ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ frame.c:3619:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !strcmp (SDATA (lower), "false")) ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xdisp.c:20393:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return make_number (-1); ^~~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ xdisp.c:20398:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return make_number (-1); ^~~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ dispnew.c:6404:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] termscript = fopen (SDATA (file), "w"); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:230:37: note: passing argument to parameter here FILE *fopen(const char * __restrict , const char * __restrict); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include xfns.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include xselect.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include xrdb.c xterm.c:755:62: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pixmap = XCreatePixmapFromBitmapData (display, window, bits, p->wd, p->h, ^~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:1614:22: note: passing argument to parameter here char* /* data */, ^ xterm.c:766:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bits, p->wd, p->h, ^~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:1614:22: note: passing argument to parameter here char* /* data */, ^ xterm.c:1469:26: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Cardinal' (aka 'unsigned int') [-Wint-to-void-pointer-cast] {XtWidgetBaseOffset, (XtPointer) XtOffset (Widget, core.screen), ^ xterm.c:1471:26: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Cardinal' (aka 'unsigned int') [-Wint-to-void-pointer-cast] {XtWidgetBaseOffset, (XtPointer) XtOffset (Widget, core.colormap), ^ xfaces.c:1181:49: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bitmap_id = x_create_bitmap_from_data (f, SDATA (bits), ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dispextern.h:2803:65: note: passing argument to parameter here extern int x_create_bitmap_from_data P_ ((struct frame *, char *, ^ xfaces.c:1524:21: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || xstricmp (color_name, "black") == 0 ^~~~~~~~~~ xfaces.c:1524:33: warning: passing 'char [6]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || xstricmp (color_name, "black") == 0 ^~~~~~~ xfaces.c:1525:21: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || xstricmp (color_name, "white") == 0 ^~~~~~~~~~ xfaces.c:1525:33: warning: passing 'char [6]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || xstricmp (color_name, "white") == 0 ^~~~~~~ xfaces.c:1551:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return face_color_gray_p (f, SDATA (color)) ? Qt : Qnil; ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xfaces.c:1573:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (face_color_supported_p (f, SDATA (color), !NILP (background_p))) ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xfaces.c:1607:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!defined_color (f, SDATA (name), &color, 1)) ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xfaces.c:1687:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!face_color_supported_p (f, SDATA (bg), 0) ^~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xfaces.c:2315:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *p = xstrlwr (font->name) + 1; ^~~~~~~~~~ xfaces.c:2315:13: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *p = xstrlwr (font->name) + 1; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ xfaces.c:2498:19: warning: initializing 'const char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] const char *name = SDATA (XCAR (tem)); ^ ~~~~~~~~~~~~~~~~~~ xfaces.c:2554:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && strcmp (SDATA (XCAR (entry)), pattern) == 0) ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfaces.c:2570:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && (strcmp (SDATA (name), pattern) == 0 ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfaces.c:2571:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] || (n = x_face_list_fonts (f, SDATA (name), ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xterm.c:6214:54: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] &event.xkey, copy_bufptr, ^~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:3901:31: note: passing argument to parameter here char* /* buffer_return */, ^ xterm.c:6222:58: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] &event.xkey, copy_bufptr, ^~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:3901:31: note: passing argument to parameter here char* /* buffer_return */, ^ xterm.c:6260:50: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] nbytes = XLookupString (&event.xkey, copy_bufptr, ^~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xutil.h:536:31: note: passing argument to parameter here char* /* buffer_return */, ^ xterm.c:7464:43: warning: passing 'unsigned char [350]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] rc = x_create_bitmap_from_data (f, gnu_xbm_bits, ^~~~~~~~~~~~ ./dispextern.h:2803:65: note: passing argument to parameter here extern int x_create_bitmap_from_data P_ ((struct frame *, char *, ^ xfaces.c:2944:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] specbind (intern ("font-list-limit"), make_number (-1)); ^~~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ xfaces.c:3241:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] face_name = intern (SDATA (face_name)); ^~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:2654:44: note: passing argument to parameter here extern Lisp_Object intern P_ ((const char *)); ^ xterm.c:7976:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] result = x_new_font (f, (SDATA (fontset_ascii (fontset)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xterm.c:7988:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]xfaces.c :3388: xic_set_xfontset (f, SDATA (fontset_ascii (fontset)));9 : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *font_name = SDATA (fontname); ^ ~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xfaces.c:3394:15:./xterm.h :warning1062: :assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]57 : note: passing argument to parameter here font_name = SDATA (fontset_ascii (fontset));extern void xic_set_xfontset P_ ((struct frame *, char *)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ xterm.c:9748:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] font = XLoadQueryFont (dpy, SDATA (pattern)); ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:1397:1: note: passing argument to parameter here ); ^ xterm.c:9797:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] names = XListFonts (dpy, SDATA (pattern), limit, &num_fonts); ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:1657:32: note: passing argument to parameter here _Xconst char* /* pattern */, ^ xterm.c:9810:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] names = XListFonts (dpy, SDATA (pattern), max (maxnames, 10), ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:1657:32: note: passing argument to parameter here _Xconst char* /* pattern */, ^ xterm.c:9915:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDATA (XCAR (tem))); ^~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:1397:1: note: passing argument to parameter here ); ^ xterm.c:10094:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDATA (XCAR (tail))) ^~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xterm.c:10096:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDATA (XCAR (tail))))) ^~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xterm.c:10328:17: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] && (!xstricmp (dpyinfo->font_table[i].name, fontname) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dispextern.h:2860:40: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ xterm.c:10328:46: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] && (!xstricmp (dpyinfo->font_table[i].name, fontname) ^~~~~~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ xterm.c:10329:20: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !xstricmp (dpyinfo->font_table[i].full_name, fontname))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dispextern.h:2860:40: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ xterm.c:10329:54: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !xstricmp (dpyinfo->font_table[i].full_name, fontname))) ^~~~~~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ xterm.c:10414:36: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int system_name_length = strlen (system_name); ^~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xterm.c:10427:25: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (! strncmp (name1, system_name, system_name_length) ^~~~~~~~~~~ /usr/include/string.h:63:40: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ xterm.c:10430:25: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (! strncmp (name2, system_name, system_name_length) ^~~~~~~~~~~ /usr/include/string.h:63:40: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ xterm.c:10434:25: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (! strncmp (name1, system_name, length_until_period) ^~~~~~~~~~~ /usr/include/string.h:63:40: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ xterm.c:10437:25: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (! strncmp (name2, system_name, length_until_period) ^~~~~~~~~~~ /usr/include/string.h:63:40: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ xterm.c:10603:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] dpy = XtOpenDisplay (Xt_app_con, SDATA (display_name), ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Intrinsic.h:1502:43: note: passing argument to parameter here _Xconst _XtString /* display_string */, ^ xterm.c:10642:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (same_x_server (SDATA (XCAR (XCAR (tail))), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xterm.c:10643:5: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDATA (display_name))) ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xterm.c:10777:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && (!strcmp (SDATA (value), "true") ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xterm.c:10778:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !strcmp (SDATA (value), "on"))) ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xterm.c:10954:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && (!strcmp (SDATA (value), "true") ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xterm.c:10955:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !strcmp (SDATA (value), "on"))) ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xterm.c:10967:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && (!strcmp (XSTRING (value)->data, "false") ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:520:20: note: expanded from macro 'XSTRING' #define XSTRING(a) (eassert (GC_STRINGP(a)),(struct Lisp_String *) XPNTR(a)) ^ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xterm.c:10968:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !strcmp (XSTRING (value)->data, "off"))) ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:520:20: note: expanded from macro 'XSTRING' #define XSTRING(a) (eassert (GC_STRINGP(a)),(struct Lisp_String *) XPNTR(a)) ^ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfaces.c:4624:32: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (xstricmp (SDATA (value), "on") == 0 ^~~~ xfaces.c:4625:35: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || xstricmp (SDATA (value), "true") == 0) ^~~~~~ xfaces.c:4627:37: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (xstricmp (SDATA (value), "off") == 0 ^~~~~ xfaces.c:4628:33: warning: passing 'char [6]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || xstricmp (SDATA (value), "false") == 0) ^~~~~~~ xfaces.c:4630:37: warning: passing 'char [12]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (xstricmp (SDATA (value), "unspecified") == 0) ^~~~~~~~~~~~~ xfaces.c:4650:32: warning: passing 'char [12]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (xstricmp (SDATA (value), "unspecified") == 0) ^~~~~~~~~~~~~ xfaces.c:4661:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] value = intern (SDATA (value)); ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:2654:44: note: passing argument to parameter here extern Lisp_Object intern P_ ((const char *)); ^ xfaces.c:4707:19: warning: initializing 'const char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] const char *myname = SDATA (Vx_resource_name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include fontset.c xfaces.c:5353:50: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] && !(STRINGP (color1) && defined_color (f, SDATA (color1), &cdef1, 0))) ^~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xfaces.c:5356:50: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] && !(STRINGP (color2) && defined_color (f, SDATA (color2), &cdef2, 0))) ^~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include xsmfns.c xfaces.c:6895:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return xstrdup (SDATA (pattern)); ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:3301:39: note: passing argument to parameter here extern char *xstrdup P_ ((const char *)); ^ 10 warnings generated. xfns.c:148:7: warning: initializing 'char *' with an expression of type 'unsigned char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] char *gray_bitmap_bits = gray_bits; ^ ~~~~~~~~~ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include fringe.c xfns.c:764:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (x_defined_color (f, SDATA (color_name), &cdef, 1)) ^~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xfns.c:1724:6: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDATA (f->name))) ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfns.c:2959:2: warning: passing 'unsigned char [2]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] gray_bits, gray_width, gray_height, ^~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:1614:22: note: passing argument to parameter here char* /* data */, ^ xfns.c:3226:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] font = x_new_fontset (f, SDATA (tem)); ^~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:1055:61: note: passing argument to parameter here extern Lisp_Object x_new_fontset P_ ((struct frame *, char *)); ^ xfns.c:3228:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] font = x_new_font (f, SDATA (font)); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:1054:58: note: passing argument to parameter here extern Lisp_Object x_new_font P_ ((struct frame *, char *)); ^ xfns.c:3518:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (x_defined_color (f, SDATA (color), &foo, 0)) ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xfns.c:3534:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (x_defined_color (f, SDATA (color), &foo, 0)) ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xfns.c:3956:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (s, SDATA (value)); ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xfns.c:3970:16: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (xstricmp (s, visual_classes[i].name) == 0) ^ ./dispextern.h:2860:40: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ xfns.c:3970:19: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (xstricmp (s, visual_classes[i].name) == 0) ^~~~~~~~~~~~~~~~~~~~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ xfns.c:4080:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] dpyinfo = x_term_init (display, xrm_option, ^~~~~~~~~~ ./xterm.h:436:67: note: passing argument to parameter here extern struct x_display_info *x_term_init P_ ((Lisp_Object, char *, char *)); ^ xfns.c:4261:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] prop_atom = XInternAtom (FRAME_X_DISPLAY (f), SDATA (prop), False); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:1538:34: note: passing argument to parameter here _Xconst char* /* atom_name */, ^ xfns.c:4265:55: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] target_type = XInternAtom (FRAME_X_DISPLAY (f), SDATA (type), False); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:1538:34: note: passing argument to parameter here _Xconst char* /* atom_name */, ^ xfns.c:4297:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] prop_atom = XInternAtom (FRAME_X_DISPLAY (f), SDATA (prop), False); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:1538:34: note: passing argument to parameter here _Xconst char* /* atom_name */, ^ xfns.c:4358:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp ("AnyPropertyType", SDATA (type)) == 0) ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfns.c:4361:57: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] target_type = XInternAtom (FRAME_X_DISPLAY (f), SDATA (type), False); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:1538:34: note: passing argument to parameter here _Xconst char* /* atom_name */, ^ xfns.c:4364:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] prop_atom = XInternAtom (FRAME_X_DISPLAY (f), SDATA (prop), False); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:1538:34: note: passing argument to parameter here _Xconst char* /* atom_name */, ^ xfns.c:4409:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] prop_value = make_string (tmp_data, size); ^~~~~~~~ ./lisp.h:2574:49: note: passing argument to parameter here extern Lisp_Object make_string P_ ((const char *, int)); ^ xselect.c:2850:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (SDATA (dest), "PointerWindow") == 0) ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xselect.c:2852:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (strcmp (SDATA (dest), "InputFocus") == 0) ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xselect.c:2880:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] = XInternAtom (dpyinfo->display, SDATA (message_type), False); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:1538:34: note: passing argument to parameter here _Xconst char* /* atom_name */, ^ xfns.c:4806:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] font = x_new_fontset (f, SDATA (tem)); ^~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:1055:61: note: passing argument to parameter here extern Lisp_Object x_new_fontset P_ ((struct frame *, char *)); ^ xfns.c:4808:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] font = x_new_font (f, SDATA (font)); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:1054:58: note: passing argument to parameter here extern Lisp_Object x_new_font P_ ((struct frame *, char *)); ^ xfns.c:5112:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dy = make_number (-10); ^~~~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include image.c 24 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include emacs.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include keyboard.c 2 warnings generated. xsmfns.c:223:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] props[props_idx]->vals[0].length = strlen (SDATA (Vinvocation_name)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xsmfns.c:254:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] props[props_idx]->vals[0].length = strlen (SDATA (Vuser_login_name)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xsmfns.c:431:20: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] client_id, strlen (client_id)); ^~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/Xlib.h:2075:38: note: passing argument to parameter here _Xconst unsigned char* /* data */, ^ rm -f liblw.a xsmfns.c:451:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] previous_id = SDATA (Vx_session_previous_id); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsmfns.c:455:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] name_len += strlen (SDATA (Vinvocation_directory)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xsmfns.c:456:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] name_len += strlen (SDATA (Vinvocation_name)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ xsmfns.c:464:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (emacs_program, SDATA (Vinvocation_directory)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ xsmfns.c:465:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (emacs_program, SDATA (Vinvocation_name)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ ar cq liblw.a lwlib.o lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o lwlib-utils.o ranlib liblw.a gmake[2]: Leaving directory '/data/scratch/editors/emacs22/work/emacs-22.3/lwlib' clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include macros.c 2 warnings generated. fontset.c:440:15: warning: initializing 'const char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] const char *p = SDATA (fontname); ^ ~~~~~~~~~~~~~~~~ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include keymap.c fontset.c:635:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fontp = FS_LOAD_FONT (f, c, SDATA (elt), -1); ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ ./fontset.h:224:23: note: expanded from macro 'FS_LOAD_FONT' fs_load_font (f, c, fontname, fontset, NULL) ^~~~~~~~ ./fontset.h:202:71: note: passing argument to parameter here extern struct font_info *fs_load_font P_ ((struct frame *, int, char *, int, ^ fontset.c:694:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] fontname = SDATA (XCDR (elt)); ^ ~~~~~~~~~~~~~~~~~~ fontset.c:807:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!index (SDATA (pattern), '*') ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:56:25: note: passing argument to parameter here char *index(const char *, int); ^ fontset.c:808:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && !index (SDATA (pattern), '?')) ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:56:25: note: passing argument to parameter here char *index(const char *, int); ^ fontset.c:813:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || strcmp (SDATA (pattern), CACHED_FONTSET_NAME)) ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ fontset.c:813:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || strcmp (SDATA (pattern), CACHED_FONTSET_NAME)) ^~~~~~~~~~~~~~~~~~~ fontset.c:797:29: note: expanded from macro 'CACHED_FONTSET_NAME' #define CACHED_FONTSET_NAME (SDATA (XCAR (Vcached_fontset_data))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ fontset.c:854:51: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Vcached_fontset_data = Fcons (build_string (SDATA (pattern)), ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:2573:50: note: passing argument to parameter here extern Lisp_Object build_string P_ ((const char *)); ^ fontset.c:855:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] build_string (regex)); ^~~~~ ./lisp.h:2573:50: note: passing argument to parameter here extern Lisp_Object build_string P_ ((const char *)); ^ fontset.c:905:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : !strcmp (SDATA (name), SDATA (this_name))) ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ fontset.c:905:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : !strcmp (SDATA (name), SDATA (this_name))) ^~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ fontset.c:970:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : strcmp (SDATA (pattern), SDATA (name))) ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ fontset.c:970:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : strcmp (SDATA (pattern), SDATA (name))) ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ 8 warnings generated. fontset.c:1246:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fontp = (*query_font_func) (f, SDATA (name)); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include sysdep.c fontset.c:1528:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fontp = (*query_font_func) (f, SDATA (elt)); ^~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ image.c:604:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (dpyinfo->bitmaps[id - 1].file, SDATA (file)); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ image.c:1031:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (keywords[i].name, SDATA (SYMBOL_NAME (key))) == 0) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ image.c:1668:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (x_defined_color (f, SDATA (color_name), &color, 1)) ^~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:1069:55: note: passing argument to parameter here extern int x_defined_color P_ ((struct frame *, char *, XColor *, int)); ^ image.c:3678:47: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] Create_Pixmap_From_Bitmap_Data (f, img, data, ^~~~ image.c:3744:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] contents = slurp_file (SDATA (file), &size); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ image.c:3823:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] bits = SDATA (data); ^ ~~~~~~~~~~~~ image.c:3825:11: warning: assigning to 'char *' from 'unsigned char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] bits = XBOOL_VECTOR (data)->data; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ image.c:4342:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (xpm_syms[i].name, SDATA (name)); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ image.c:4344:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (xpm_syms[i].value, SDATA (color)); ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ image.c:4381:5: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDATA (file), &img->pixmap, &img->mask, ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/xpm.h:307:21: note: passing argument to parameter 'filename' here const char *filename, ^ image.c:4396:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDATA (buffer), ^~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/X11/xpm.h:351:14: note: passing argument to parameter 'buffer' here char *buffer, ^ emacs.c:777:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] string = SDATA (temp); ^ ~~~~~~~~~~~~ emacs.c:1201:7: warning: implicit declaration of function 'add_user_signal' is invalid in C99 [-Wimplicit-function-declaration] add_user_signal (SIGUSR1, "sigusr1"); ^ image.c:6017:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] contents = slurp_file (SDATA (file), &size); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ emacs.c:2060:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] unlink (SDATA (Vauto_save_list_file_name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/unistd.h:144:25: note: passing argument to parameter here int unlink(const char *); ^ emacs.c:2283:3: warning: implicit declaration of function 'unexec' is invalid in C99 [-Wimplicit-function-declaration] unexec (SDATA (filename), ^ emacs.c:2388:27: warning: operator '?:' has lower precedence than '-'; '-' will be evaluated first [-Wparentheses] element = (p - path ? make_string (path, p - path) ~~~~~~~~ ^ emacs.c:2388:27: note: place parentheses around the '-' expression to silence this warning element = (p - path ? make_string (path, p - path) ^ ( ) emacs.c:2388:27: note: place parentheses around the '?:' expression to evaluate it first element = (p - path ? make_string (path, p - path) ^ image.c:6534:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fp = fopen (SDATA (file), "rb"); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:230:37: note: passing argument to parameter here FILE *fopen(const char * __restrict , const char * __restrict); ^ image.c:6671:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (x_defined_color (f, SDATA (specified_bg), &color, 0)) ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:1069:55: note: passing argument to parameter here extern int x_defined_color P_ ((struct frame *, char *, XColor *, int)); ^ image.c:7308:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fp = fopen (SDATA (file), "rb"); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:230:37: note: passing argument to parameter here FILE *fopen(const char * __restrict , const char * __restrict); ^ image.c:7768:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] tiff = (TIFF *)fn_TIFFOpen (SDATA (file), "r"); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/tiffio.h:438:34: keyboard.cnote:: 759passing argument to parameter here: 36: extern TIFF* TIFFOpen(const char*, const char*);warning : ^passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr += copy_text (SDATA (name), ptr, nbytes, ^~~ ./lisp.h:2455:65: note: passing argument to parameter here extern int copy_text P_ ((const unsigned char *, unsigned char *, int, int, int)); ^ image.c:8111:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] gif = (GifFileType *)fn_DGifOpenFileName (SDATA (file), NULL); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/emacs22/work/.buildlink/include/gif_lib.h:179:43: note: passing argument to parameter 'GifFileName' here GifFileType *DGifOpenFileName(const char *GifFileName, int *Error); ^ image.c:8289:51: warning: passing 'GifByteType *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] img->data.lisp_val = Fcons (make_unibyte_string (ext->Bytes, ext->ByteCount), ^~~~~~~~~~ ./lisp.h:2575:57: note: passing argument to parameter here extern Lisp_Object make_unibyte_string P_ ((const char *, int)); ^ keyboard.c:1264:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] Fkill_emacs (make_number (-1)); ^~~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ keyboard.c:2633:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (c, -1); ^~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include buffer.c keymap.c:2416:42: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf (buf, "Invalid char code %d", XINT (key)); ~~ ^~~~~~~~~~ %ld ./lisp.h:373:17: note: expanded from macro 'XINT' #define XINT(a) (((EMACS_INT) (a)) >> GCTYPEBITS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymap.c:2444:38: warning: passing 'char [21]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] nchars = multibyte_chars_in_text (tem, nbytes); ^~~ ./lisp.h:2311:62: note: passing argument to parameter here extern int multibyte_chars_in_text P_ ((const unsigned char *, int)); ^ keymap.c:2405:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] int without_bits = XINT (key) & ~((-1) << CHARACTERBITS); ~~~~ ^ keymap.c:2523:37: warning: passing 'unsigned char [6]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_multibyte_string (str, 1, len); ^~~ ./lisp.h:2576:59: note: passing argument to parameter here extern Lisp_Object make_multibyte_string P_ ((const char *, int, int)); ^ keymap.c:2526:42: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] *push_text_char_description (c & 0377, str) = 0; ^~~ keymap.c:2528:24: warning: passing 'unsigned char [6]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return build_string (str); ^~~ ./lisp.h:2573:50: note: passing argument to parameter here extern Lisp_Object build_string P_ ((const char *)); ^ keymap.c:3042:14: warning: passing 'char [21]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (buf, bufend - buf); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ keymap.c:3045:14: warning: passing 'char [21]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (buf, bufend - buf); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ keymap.c:3047:14: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert ("\n", 1); ^~~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ keymap.c:3053:15: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert ("\n", 1); ^~~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ keymap.c:3527:12: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert ("\n", 1); ^~~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ keymap.c:3555:12: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (" .. ", 4); ^~~~~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ 3 warnings generated. keyboard.c:6149:4: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MULTI_LETTER_MOD (drag_modifier, "drag", 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:6142:22: note: expanded from macro 'MULTI_LETTER_MOD' && ! strncmp (SDATA (name) + i, NAME, LEN)) \ ^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:6150:4: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MULTI_LETTER_MOD (down_modifier, "down", 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:6142:22: note: expanded from macro 'MULTI_LETTER_MOD' && ! strncmp (SDATA (name) + i, NAME, LEN)) \ ^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:6151:4: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MULTI_LETTER_MOD (double_modifier, "double", 6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:6142:22: note: expanded from macro 'MULTI_LETTER_MOD' && ! strncmp (SDATA (name) + i, NAME, LEN)) \ ^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:6155:4: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MULTI_LETTER_MOD (triple_modifier, "triple", 6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:6142:22: note: expanded from macro 'MULTI_LETTER_MOD' && ! strncmp (SDATA (name) + i, NAME, LEN)) \ ^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keymap.c:3821:14: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert ("\n", 1); ^~~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ keymap.c:3828:10: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] keyboard.c:6180: insert (" ", char_table_depth * 2); /* depth is 1 or 2. */19 : ^~~~~~ warning./lisp.h: :passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]2459 :46: note: && strncmp (SDATA (name) + i, "mouse-", 6) == 0passing argument to parameter here ^~~~~~~~~~~~~~~~ ./lisp.h:extern void insert P_ ((const unsigned char *, int));585 : ^24 : note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keymap.c:3846:16: warning: passing 'char [16]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (work, strlen (work)); ^~~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ keymap.c:3862:11: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert ("?", 1); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ keymap.c:3863:16: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (">", 1); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ keyboard.c:6295:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] unmodified = Fintern (make_string (SDATA (SYMBOL_NAME (symbol)) + end, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.hkeymap.c::5853876::2412:: notewarning: : expanded from macro 'SDATA'passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] #define SDATA(string) (XSTRING (string)->data + 0) insert ("\n", 1); ^ ^~~~ ./lisp.h./lisp.h::25742459::4946:: notenote: : passing argument to parameter herepassing argument to parameter here extern Lisp_Object make_string P_ ((const char *, int));extern void insert P_ ((const unsigned char *, int)); ^ ^ keymap.c:3916:12: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (" .. ", 4); ^~~~~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ keyboard.c:6349:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDATA (SYMBOL_NAME (base)), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ keymap.c:3941:13: warning: passing 'char [16]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (work, strlen (work)); ^~~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ keymap.c:3966:15: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (" ", char_table_depth * 2); ^~~~~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ keyboard.c:6629:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MULTI_LETTER_MOD (alt_modifier, "alt", 3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:6621:18: note: expanded from macro 'MULTI_LETTER_MOD' && ! strncmp (SDATA (name), NAME, LEN)) \ ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:6637:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MULTI_LETTER_MOD (ctrl_modifier, "ctrl", 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:6621:18: note: expanded from macro 'MULTI_LETTER_MOD' && ! strncmp (SDATA (name), NAME, LEN)) \ ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:6638:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MULTI_LETTER_MOD (ctrl_modifier, "control", 7); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:6621:18: note: expanded from macro 'MULTI_LETTER_MOD' 15 warning && ! strncmp (SDATA (name), NAME, LEN)) \s generated. ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include filelock.c keyboard.c:6646:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MULTI_LETTER_MOD (hyper_modifier, "hyper", 5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:6621:18: note: expanded from macro 'MULTI_LETTER_MOD' && ! strncmp (SDATA (name), NAME, LEN)) \ ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:6654:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MULTI_LETTER_MOD (meta_modifier, "meta", 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:6621:18: note: expanded from macro 'MULTI_LETTER_MOD' && ! strncmp (SDATA (name), NAME, LEN)) \ ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:6662:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MULTI_LETTER_MOD (shift_modifier, "shift", 5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:6621:18: note: expanded from macro 'MULTI_LETTER_MOD' && ! strncmp (SDATA (name), NAME, LEN)) \ ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:6663:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MULTI_LETTER_MOD (super_modifier, "super", 5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:6621:18: note: expanded from macro 'MULTI_LETTER_MOD' && ! strncmp (SDATA (name), NAME, LEN)) \ ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:6668:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MULTI_LETTER_MOD (drag_modifier, "drag", 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:6621:18: note: expanded from macro 'MULTI_LETTER_MOD' && ! strncmp (SDATA (name), NAME, LEN)) \ ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:6669:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MULTI_LETTER_MOD (down_modifier, "down", 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:6621:18: note: expanded from macro 'MULTI_LETTER_MOD' && ! strncmp (SDATA (name), NAME, LEN)) \ ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:6670:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MULTI_LETTER_MOD (double_modifier, "double", 6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:6621:18: note: expanded from macro 'MULTI_LETTER_MOD' && ! strncmp (SDATA (name), NAME, LEN)) \ ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:6674:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MULTI_LETTER_MOD (triple_modifier, "triple", 6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:6621:18: note: expanded from macro 'MULTI_LETTER_MOD' && ! strncmp (SDATA (name), NAME, LEN)) \ ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:6917:34: warning: passing 'unsigned char [4095]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] nread = emacs_read (input_fd, cbuf, n_to_read); ^~~~ ./lisp.h:3200:39: note: passing argument to parameter here extern int emacs_read P_ ((int, char *, unsigned int)); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include insdel.c keyboard.c:8378:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (menu, SDATA (name)); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include marker.c keyboard.c:9659:45: warning: passing 'volatile keyremap *' (aka 'volatile struct keyremap *') to parameter of type 'keyremap *' (aka 'struct keyremap *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] done = keyremap_step (keybuf, bufsize, &fkey, ^~~~~ keyboard.c:9682:43: warning: passing 'volatile keyremap *' (aka 'volatile struct keyremap *') to parameter of type 'keyremap *' (aka 'struct keyremap *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] done = keyremap_step (keybuf, bufsize, &keytran, max (t, mock_input), ^~~~~~~~ keyboard.c:10463:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] dribble = fopen (SDATA (file), "w"); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:230:37: note: passing argument to parameter here FILE *fopen(const char * __restrict , const char * __restrict); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include minibuf.c 5 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include fileio.c filelock.c:339:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (lockfile, SDATA (fn)); ^~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ filelock.c:507:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && strcmp (owner->host, SDATA (Fsystem_name ())) == 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ buffer.c:1625:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && strcmp (SDATA (XBUFFER (buffer)->name), "*scratch*") == 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ 22 warnings generated. 1 warning generated. 34 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include dired.c 1 warning generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include filemode.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include cmds.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include casetab.c buffer.c:5075:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.filename, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5076:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.directory, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5077:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.backed_up, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5078:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.save_length, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5079:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.auto_save_file_name, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5080:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.read_only, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5081:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.major_mode, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5082:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.mode_name, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5083:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.undo_list, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5084:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.mark_active, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5085:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.point_before_scroll, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5086:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.file_truename, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5087:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.invisibility_spec, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5088:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.file_format, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5089:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.auto_save_file_format, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5090:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.display_count, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5091:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.display_time, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5092:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (buffer_local_flags.enable_multibyte_characters, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ buffer.c:5234:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && strcmp ("/", SDATA (current_buffer->directory))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ insdel.c:804:11: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (s, strlen (s)); ^ 2 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include casefiddle.c fileio.c:483:33: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_specified_string (beg, -1, p - beg, STRING_MULTIBYTE (filename)); ^~~ ./lisp.h:2581:59: note: passing argument to parameter here extern Lisp_Object make_specified_string P_ ((const char *, int, int, int)); ^ fileio.c:522:33: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_specified_string (p, -1, end - p, STRING_MULTIBYTE (filename)); ^ ./lisp.h:2581:59: note: passing argument to parameter here extern Lisp_Object make_specified_string P_ ((const char *, int, int, int)); ^ fileio.c:663:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] file_name_as_directory (buf, SDATA (file)); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:864:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] directory_file_name (SDATA (directory), buf); ^~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:980:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (data, &ignored) < 0) ^~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:1147:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] nm = strcpy (alloca (strlen (nm) + 1), nm); ^~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ fileio.c:1147:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] nm = strcpy (alloca (strlen (nm) + 1), nm); ^~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ fileio.c:1147:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] nm = strcpy (alloca (strlen (nm) + 1), nm); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:1336:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (nm, SDATA (name)) == 0) ^~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ fileio.c:1336:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (nm, SDATA (name)) == 0) ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ fileio.c:1338:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_specified_string (nm, -1, strlen (nm), multibyte); ^~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ fileio.c:1338:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_specified_string (nm, -1, strlen (nm), multibyte); ^~ ./lisp.h:2581:59: note: passing argument to parameter here extern Lisp_Object make_specified_string P_ ((const char *, int, int, int)); ^ fileio.c:1376:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] tem = build_string (newdir); ^~~~~~ ./lisp.h:2573:50: note: passing argument to parameter here extern Lisp_Object build_string P_ ((const char *)); ^ fileio.c:1401:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pw = (struct passwd *) getpwnam (o + 1); ^~~~~ /usr/include/pwd.h:123:37: note: passing argument to parameter here struct passwd *getpwnam(const char *) __RENAME(__getpwnam50); ^ fileio.c:1547:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] length = strlen (newdir); ^~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ fileio.c:1565:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] tlen += strlen (nm) + 1; ^~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ fileio.c:1591:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (target, newdir); ^~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ fileio.c:1591:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (target, newdir); ^~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ fileio.c:1595:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] file_name_as_directory (target, newdir); ^~~~~~ fileio.c:1595:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] file_name_as_directory (target, newdir); ^~~~~~ fileio.c:1598:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (target, nm); ^~~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ fileio.c:1598:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (target, nm); ^~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ fileio.c:1722:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] result = make_specified_string (target, -1, o - target, multibyte); ^~~~~~ ./lisp.h:2581:59: note: passing argument to parameter here extern Lisp_Object make_specified_string P_ ((const char *, int, int, int)); ^ fileio.c:2130:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pw = getpwnam (o + 1); ^~~~~ /usr/include/pwd.h:123:37: note: passing argument to parameter here struct passwd *getpwnam(const char *) __RENAME(__getpwnam50); ^ fileio.c:2188:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] (make_specified_string (p, -1, endp - p, ^ ./lisp.h:2581:59: note: passing argument to parameter here extern Lisp_Object make_specified_string P_ ((const char *, int, int, int)); ^ fileio.c:2230:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy (target, o, s - o); ^~~~~~ /usr/include/string.h:64:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ fileio.c:2230:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy (target, o, s - o); ^ /usr/include/string.h:64:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ fileio.c:2237:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] o = (unsigned char *) egetenv (target); ^~~~~~ ./lisp.h:3303:33: note: passing argument to parameter here extern char *egetenv P_ ((char *)); ^ fileio.c:2240:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] total += strlen (o) * (STRING_MULTIBYTE (filename) ? 2 : 1); ^ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ fileio.c:2285:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy (target, o, s - o); ^~~~~~ /usr/include/string.h:64:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ fileio.c:2285:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy (target, o, s - o); ^ /usr/include/string.h:64:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ fileio.c:2292:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] o = (unsigned char *) egetenv (target); ^~~~~~ ./lisp.h:3303:33: note: passing argument to parameter here extern char *egetenv P_ ((char *)); ^ fileio.c:2296:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (x, target); x+= strlen (target); ^ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ fileio.c:2296:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (x, target); x+= strlen (target); ^~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ fileio.c:2296:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (x, target); x+= strlen (target); ^~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ fileio.c:2310:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (x, o); ^ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ fileio.c:2310:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (x, o); ^ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ fileio.c:2311:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] x += strlen (o); ^ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ fileio.c:2324:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_specified_string (xnm, -1, x - xnm, STRING_MULTIBYTE (filename)); ^~~ ./lisp.h:2581:59: note: passing argument to parameter here extern Lisp_Object make_specified_string P_ ((const char *, int, int, int)); ^ fileio.c:2394:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (lstat (SDATA (encoded_filename), &statbuf) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:254:23: note: passing argument to parameter here int lstat(const char *, struct stat *) __RENAME(__lstat50); ^ fileio.c:2401:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] absname, build_string (querystring)); ^~~~~~~~~~~ ./lisp.h:2573:50: note: passing argument to parameter here extern Lisp_Object build_string P_ ((const char *)); ^ fileio.c:2484:44: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] barf_or_query_if_file_exists (newname, "copy to it", ^~~~~~~~~~~~ fileio.c:2486:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (stat (SDATA (encoded_newname), &out_st) < 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:2519:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ifd = emacs_open (SDATA (encoded_file), O_RDONLY, 0); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:3198:40: note: passing argument to parameter here extern int emacs_open P_ ((const char *, int, int)); ^ fileio.c:2566:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ofd = emacs_open (SDATA (encoded_newname), ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:3198:40: note: passing argument to parameter here extern int emacs_open P_ ((const char *, int, int)); ^ fileio.c:2606:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (set_file_times (SDATA (encoded_newname), ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./systime.h:147:45: note: passing argument to parameter here extern int set_file_times __P ((const char *, EMACS_TIME, EMACS_TIME)); ^ fileio.c:2659:14: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (mkdir (dir, 0777) != 0) ^~~ /usr/include/sys/stat.h:244:23: note: passing argument to parameter here int mkdir(const char *, mode_t); ^ fileio.c:2686:14: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (rmdir (dir) != 0) ^~~ /usr/include/unistd.h:134:24: note: passing argument to parameter here int rmdir(const char *); ^ fileio.c:2717:19:minibuf.c warning:: 1210passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]: 22: if (0 > unlink (SDATA (encoded_file))) warning ^~~~~~~~~~~~~~~~~~~~: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/unistd.h:144:25: note: passing argument to parameter here int unlink(const char *); ^ len = strlen (s); ^ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ minibuf.c:1216:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] prompt = make_specified_string (s, -1, len, ^ ./lisp.h:2581:59: note: passing argument to parameter here extern Lisp_Object make_specified_string P_ ((const char *, int, int, int)); ^ fileio.c:2793:44: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] barf_or_query_if_file_exists (newname, "rename to it", ^~~~~~~~~~~~~~ fileio.c:2796:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 > rename (SDATA (encoded_file), SDATA (encoded_newname))) ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:279:26: note: passing argument to parameter here int rename (const char *, const char *); ^ fileio.c:2796:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 > rename (SDATA (encoded_file), SDATA (encoded_newname))) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:279:40: note: passing argument to parameter here int rename (const char *, const char *); ^ fileio.c:2870:44: warning: passing 'char [19]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] barf_or_query_if_file_exists (newname, "make it a new name", ^~~~~~~~~~~~~~~~~~~~ fileio.c:2873:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] unlink (SDATA (newname)); ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/unistd.h:144:25: note: passing argument to parameter here int unlink(const char *); ^ fileio.c:2874:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 > link (SDATA (encoded_file), SDATA (encoded_newname))) ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/unistd.h:127:23: note: passing argument to parameter here int link(const char *, const char *); ^ fileio.c:2874:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 > link (SDATA (encoded_file), SDATA (encoded_newname))) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/unistd.h:127:37: note: passing argument to parameter here int link(const char *, const char *); ^ fileio.c:2931:45: warning: passing 'char [15]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] barf_or_query_if_file_exists (linkname, "make it a link", ^~~~~~~~~~~~~~~~ fileio.c:2933:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 > symlink (SDATA (encoded_filename), ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/unistd.h:279:26: note: passing argument to parameter here int symlink(const char *, const char *); ^ fileio.c:2934:6: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDATA (encoded_linkname))) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/unistd.h:279:40: note: passing argument to parameter here int symlink(const char *, const char *); ^ fileio.c:2939:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] unlink (SDATA (encoded_linkname)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/unistd.h:144:25: note: passing argument to parameter here int unlink(const char *); ^ fileio.c:2940:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 <= symlink (SDATA (encoded_filename), ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/unistd.h:279:26: note: passing argument to parameter here int symlink(const char *, const char *); ^ fileio.c:2941:8: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDATA (encoded_linkname))) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/unistd.h:279:40: note: passing argument to parameter here int symlink(const char *, const char *); ^ fileio.c:3101:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (stat (SDATA (absname), &statbuf) >= 0) ? Qt : Qnil; ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:3124:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (check_executable (SDATA (absname)) ? Qt : Qnil); ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:3162:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] desc = stat (SDATA (absname), &statbuf); ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:3168:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] desc = emacs_open (SDATA (absname), flags, 0); ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:3198:40: note: passing argument to parameter here extern int emacs_open P_ ((const char *, int, int)); ^ fileio.c:3197:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (SDATA (encoded), &statbuf) >= 0) ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:3198:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (check_writable (SDATA (encoded)) ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:3248:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fd = emacs_open (SDATA (encoded_filename), O_RDONLY, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:3198:40: note: passing argument to parameter here extern int emacs_open P_ ((const char *, int, int)); ^ fileio.c:3250:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] report_file_error (SDATA (string), Fcons (filename, Qnil)); ^~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:3295:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] valsize = readlink (SDATA (filename), buf, bufsize); ^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/unistd.h:167:42: note: passing argument to parameter here ssize_t readlink(const char * __restrict, char * __restrict, size_t); ^ minibuf.c:1855:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDATA (string), ^~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:2656:59: note: passing argument to parameter here extern Lisp_Object oblookup P_ ((Lisp_Object, const char *, int, int)); ^ minibuf.c:1866:6: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDATA (string), ^~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:2656:59: note: passing argument to parameter here extern Lisp_Object oblookup P_ ((Lisp_Object, const char *, int, int)); ^ fileio.c:3345:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (SDATA (absname), &st) < 0) ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:3415:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (SDATA (absname), &st) < 0) ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:3441:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (SDATA (absname), &st) < 0) ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:3471:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (chmod (SDATA (encoded_absname), XINT (mode)) < 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:243:23: note: passing argument to parameter here int chmod(const char *, mode_t); ^ fileio.c:3541:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (set_file_times (SDATA (encoded_absname), t, t)) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./systime.h:147:45: note: passing argument to parameter here extern int set_file_times __P ((const char *, EMACS_TIME, EMACS_TIME)); ^ fileio.c:3605:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (SDATA (absname1), &st) < 0) ^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:3610:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (SDATA (absname2), &st) < 0) ^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:3687:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] BEG_ADDR + PT_BYTE - BEG_BYTE + non_regular_inserted, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./buffer.h:57:18: note: expanded from macro 'BEG_ADDR' #define BEG_ADDR (current_buffer->text->beg) ^ ./lisp.h:3200:39: note: passing argument to parameter here extern int emacs_read P_ ((int, char *, unsigned int)); ^ fileio.c:3797:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (SDATA (filename), &st) < 0) ^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:3833:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((fd = emacs_open (SDATA (filename), O_RDONLY, 0)) < 0) ^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:3198:40: note: passing argument to parameter here extern int emacs_open P_ ((const char *, int, int)); ^ fileio.c:3926:27: warning: passing 'unsigned char [65536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] nread = emacs_read (fd, read_buf, 1024 * 4); ^~~~~~~~ ./lisp.h:3200:39: note: passing argument to parameter here extern int emacs_read P_ ((int, char *, unsigned int)); ^ fileio.c:3929:29: warning: passing 'unsigned char [65536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] nread = emacs_read (fd, read_buf, 1024); ^~~~~~~~ ./lisp.h:3200:39: note: passing argument to parameter here extern int emacs_read P_ ((int, char *, unsigned int)); ^ fileio.c:3935:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] nread += emacs_read (fd, read_buf + nread, 1024 * 3); ^~~~~~~~~~~~~~~~ ./lisp.h:3200:39: note: passing argument to parameter here extern int emacs_read P_ ((int, char *, unsigned int)); ^ fileio.c:4056:28: warning: passing 'unsigned char [16384]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] nread = emacs_read (fd, buffer, sizeof buffer); ^~~~~~ ./lisp.h:3200:39: note: passing argument to parameter here extern int emacs_read P_ ((int, char *, unsigned int)); ^ fileio.c:4127:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] nread = emacs_read (fd, buffer + total_read, trial - total_read); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:3200:39: note: passing argument to parameter here extern int emacs_read P_ ((int, char *, unsigned int)); ^ fileio.c:4254:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] this = emacs_read (fd, destination, trytry); ^~~~~~~~~~~ ./lisp.h:3200:39: note: passing argument to parameter here extern int emacs_read P_ ((int, char *, unsigned int)); ^ fileio.c:4499:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] this = emacs_read (fd, BEG_ADDR + PT_BYTE - BEG_BYTE + inserted, trytry); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./buffer.h:57:18: note: expanded from macro 'BEG_ADDR' #define BEG_ADDR (current_buffer->text->beg) ^ ./lisp.h:3200:39: note: passing argument to parameter here extern int emacs_read P_ ((int, char *, unsigned int)); ^ fileio.c:5012:45: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] barf_or_query_if_file_exists (filename, "overwrite", 1, 0, 1); ^~~~~~~~~~~ fileio.c:5119:24: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] desc = emacs_open (fn, O_WRONLY, 0); ^~ ./lisp.h:3198:40: note: passing argument to parameter here extern int emacs_open P_ ((const char *, int, int)); ^ fileio.c:5175:22: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] desc = emacs_open (fn, O_WRONLY | O_TRUNC | O_CREAT ^~ ./lisp.h:3198:40: note: passing argument to parameter here extern int emacs_open P_ ((const char *, int, int)); ^ fileio.c:5345:9: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] stat (fn, &st); ^~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:5596:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] addr = SDATA (string); ^ ~~~~~~~~~~~~~~ fileio.c:5603:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] addr = CHAR_POS_ADDR (start); ^ ~~~~~~~~~~~~~~~~~~~~~ fileio.c:5621:39: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] result = encode_coding (coding, addr, buf, nbytes, WRITE_BUF_SIZE); ^~~~ ./coding.h:623:76: note: passing argument to parameter here extern int encode_coding P_ ((struct coding_system *, const unsigned char *, ^ fileio.c:5621:45: warning: passing 'char [16384]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] result = encode_coding (coding, addr, buf, nbytes, WRITE_BUF_SIZE); ^~~ ./coding.h:624:25: note: passing argument to parameter here unsigned char *, int, int)); ^ fileio.c:5686:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (SDATA (filename), &st) < 0) ^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:5758:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (SDATA (filename), &st) >= 0) ^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:5813:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (SDATA (current_buffer->filename), &st) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:5939:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] stream = fopen (SDATA (listfile), "w"); ^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:230:37: note: passing argument to parameter here FILE *fopen(const char * __restrict , const char * __restrict); ^ fileio.c:6029:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (b->save_length, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ fileio.c:6355:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && !strncmp (SDATA (decoded_homedir), SDATA (dir), ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ fileio.c:6355:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && !strncmp (SDATA (decoded_homedir), SDATA (dir), ^~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:40: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ fileio.c:6365:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && !strncmp (SDATA (decoded_homedir), SDATA (default_filename), ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ fileio.c:6365:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && !strncmp (SDATA (decoded_homedir), SDATA (default_filename), ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:63:40: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ dired.c:202:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] d = opendir (SDATA (dirfilename)); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dirent.h:98:26: note: passing argument to parameter here DIR *opendir(const char *) __RENAME(__opendir30); ^ dired.c:264:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || (0 <= re_search (bufp, SDATA (name), len, 0, len, 0))) ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./regex.h:484:60: note: passing argument to parameter 'string' here _RE_ARGS ((struct re_pattern_buffer *buffer, const char *string, ^ casefiddle.c:258:8: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] str, 1, tolen, ^~~ ./lisp.h:2483:60: note: passing argument to parameter here extern void replace_range_2 P_ ((int, int, int, int, char *, int, int, int)); ^ dired.c:527:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] d = opendir (SDATA (Fdirectory_file_name (encoded_dir))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dirent.h:98:26: note: passing argument to parameter here DIR *opendir(const char *) __RENAME(__opendir30); ^ dired.c:565:22: warning: passing 'char [512]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || 0 <= scmp (dp->d_name, SDATA (encoded_file), ^~~~~~~~~~ dired.c:129:37: note: passing argument to parameter here static int scmp P_ ((unsigned char *, unsigned char *, int)); ^ dired.c:607:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 <= scmp (dp->d_name + skip, p1, elt_len)) ^~~~~~~~~~~~~~~~~ dired.c:129:37: note: passing argument to parameter here static int scmp P_ ((unsigned char *, unsigned char *, int)); ^ dired.c:629:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 <= scmp (dp->d_name + skip, ^~~~~~~~~~~~~~~~~ dired.c:129:37: note: passing argument to parameter here static int scmp P_ ((unsigned char *, unsigned char *, int)); ^ dired.c:785:19: warning: multiple unsequenced modifications to 'case_temp1' [-Wunsequenced] while (l && DOWNCASE (*s1++) == DOWNCASE (*s2++)) ^ ~~~~~~~~~~~~~~~~ ./lisp.h:1900:16: note: expanded from macro 'DOWNCASE' ((case_temp1 = (CH), \ ^ dired.c:785:19: warning: multiple unsequenced modifications to 'case_temp2' [-Wunsequenced] while (l && DOWNCASE (*s1++) == DOWNCASE (*s2++)) ^ ~~~~~~~~~~~~~~~~ ./lisp.h:1901:16: note: expanded from macro 'DOWNCASE' case_temp2 = CHAR_TABLE_REF (DOWNCASE_TABLE, case_temp1), \ ^ dired.c:965:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (lstat (SDATA (encoded), &s) < 0) ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:254:23: note: passing argument to parameter here int lstat(const char *, struct stat *) __RENAME(__lstat50); ^ dired.c:1028:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (! NILP (dirname) && stat (SDATA (encoded), &sdir) == 0) ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ cmds.c:504:40: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] string = make_string_from_bytes (str, 1, len); ^~~ ./lisp.h:2580:60: note: passing argument to parameter here extern Lisp_Object make_string_from_bytes P_ ((const char *, int, int)); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include indent.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include search.c 21 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include regex.c 1 warning generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include undo.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include alloc.c 30 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include data.c 1 warning generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include doc.c 10 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include editfns.c 4 warnings generated. indent.c:2102:16: warning: initializing 'const char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] const char *s = SDATA (it.string); ^ ~~~~~~~~~~~~~~~~~ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include callint.c 1 warning generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include eval.c search.c:188:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] re_set_whitespace_regexp (SDATA (Vsearch_spaces_regexp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./regex.h:616:51: note: passing argument to parameter 'regexp' here extern void re_set_whitespace_regexp (const char *regexp); ^ search.c:2649:26: warning: assigning to 'unsigned char *' from 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] add_len = 1, add_stuff = "\\"; ^ ~~~~ search.c:2698:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] newtext = make_multibyte_string (substed, nchars, substed_len); ^~~~~~~ ./lisp.h:2576:59: note: passing argument to parameter here extern Lisp_Object make_multibyte_string P_ ((const char *, int, int)); ^ search.c:2701:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] newtext = make_unibyte_string (substed, substed_len); ^~~~~~~ ./lisp.h:2575:57: note: passing argument to parameter here extern Lisp_Object make_unibyte_string P_ ((const char *, int)); ^ search.c:3120:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_specified_string (temp, ^~~~ ./lisp.h:2581:59: note: passing argument to parameter here extern Lisp_Object make_specified_string P_ ((const char *, int, int, int)); ^ regex.c:2032:15: warning: initializing 'const char *' with an expression of type 're_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] const char *string = str; ^ ~~~ regex.c:2622:25: warning: passing 're_char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pend = p + strlen (p); ^ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ 18 warnings generated. alloc.c:2395:27: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] doc.c:172:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include floatfns.c parse_str_as_multibyte (contents, nbytes, &nchars, &multibyte_nbytes); ^~~~~~~~ ./charset.h:851:62: note: passing argument to parameter here extern void parse_str_as_multibyte P_ ((const unsigned char *, int, int *, ^ strcpy (name, SDATA (Vdoc_directory)); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ doc.c:173:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (name, SDATA (file)); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ doc.c:190:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (name, SDATA (file)); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA'alloc.c :2469:#define SDATA(string) (XSTRING (string)->data + 0)36 : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning/usr/include/string.h: :passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]54 :56: nchars = multibyte_chars_in_text (contents, nbytes); note ^~~~~~~~: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ ./lisp.h:2311:62: note: passing argument to parameter here extern int multibyte_chars_in_text P_ ((const unsigned char *, int)); ^ doc.c:314:29: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] read_bytecode_pointer = get_doc_string_buffer + offset; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ doc.c:325:45: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] int nchars = multibyte_chars_in_text (get_doc_string_buffer + offset, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:2311:62: note: passing argument to parameter here extern int multibyte_chars_in_text P_ ((const unsigned char *, int)); ^ doc.c:608:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (name, SDATA (Vdoc_directory)); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ doc.c:610:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (name, SDATA (filename)); /*** Add this line ***/ ^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ doc.c:702:31: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] multibyte_chars_in_text (p + 2, end - p - 2), ^~~~~ ./lisp.h:2311:62: note: passing argument to parameter here extern int multibyte_chars_in_text P_ ((const unsigned char *, int)); ^ doc.c:838:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] name = Fintern (make_string (start, length_byte), Qnil); ^~~~~ ./lisp.h:2574:49: note: passing argument to parameter here extern Lisp_Object make_string P_ ((const char *, int)); ^ doc.c:908:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] name = Fintern (make_string (start, length_byte), Qnil); ^~~~~ ./lisp.h:2574:49: note: passing argument to parameter here extern Lisp_Object make_string P_ ((const char *, int)); ^ doc.c:985:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] tem = make_string_from_bytes (buf, nchars, bufp - buf); ^~~ ./lisp.h:2580:60: note: passing argument to parameter here extern Lisp_Object make_string_from_bytes P_ ((const char *, int, int)); ^ alloc.c:4904:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] s->data = find_string_data_in_pure (data, nbytes); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.c:4989:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_pure_string (SDATA (obj), SCHARS (obj), ^~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ data.c:157:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return num | (((EMACS_INT) (-1)) << VALBITS); ~~~~~~~~~~~~~~~~~~ ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include fns.c editfns.c:184:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Vuser_full_name = build_string (p); ^ ./lisp.h:2573:50: note: passing argument to parameter here extern Lisp_Object build_string P_ ((const char *)); ^ editfns.c:213:34: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_string_from_bytes (str, 1, len); ^~~ ./lisp.h:2580:60: note: passing argument to parameter here extern Lisp_Object make_string_from_bytes P_ ((const char *, int, int)); ^ callint.c105: warning482s: generated. 38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] tem = (unsigned char *) index (tem, '\n'); ^~~ callint.c:34:37: note: passing argument to parameter here extern char *index P_ ((const char *, int)); ^ callint.c:511:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy (prompt1, tem + 1, sizeof prompt1 - 1); ^~~~~~~ /usr/include/string.h:64:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ 20callint.c warning:s810 generated. :38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] tem = (unsigned char *) index (tem, '\n'); ^~~ callint.c:34:37: note: passing argument to parameter here extern char *index P_ ((const char *, int)); ^ editfns.c:1363:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pw = (struct passwd *) getpwnam (SDATA (uid)); ^~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pwd.h:123:37: note: passing argument to parameter here struct passwd *getpwnam(const char *) __RENAME(__getpwnam50); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include print.c editfns.c:1374:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] q = (unsigned char *) index (p, ','); ^ editfns.c:103:37: note: passing argument to parameter here extern char *index P_ ((const char *, int)); ^ editfns.c:1375:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] full = make_string (p, q ? q - p : strlen (p)); ^ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ editfns.c:1375:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] full = make_string (p, q ? q - p : strlen (p)); ^ ./lisp.h:2574:49: note: passing argument to parameter here extern Lisp_Object make_string P_ ((const char *, int)); ^ editfns.c:1379:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] q = (unsigned char *) index (p, '&'); ^ editfns.c:103:37: note: passing argument to parameter here extern char *index P_ ((const char *, int)); ^ editfns.c:1387:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] r = (unsigned char *) alloca (strlen (p) + SCHARS (login) + 1); ^ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ editfns.c:1390:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (r, SDATA (login)); ^ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ editfns.c:1390:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (r, SDATA (login)); ^~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ editfns.c:1392:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (r, q + 1); ^ /usr/include/string.h:54:31: note: data.cpassing argument to parameter here: 2374:char *strcat(char * __restrict, const char * __restrict);19 : ^ warning: editfns.cshifting a negative signed value is undefined [-Wshift-negative-value]: 1392:callint.c return Fcons (make_number (-1), make_number (bot));18 :: 880warning ^~~~~~~~~~~~~~~~:: 5passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]: warning: strcat (r, q + 1);shifting a negative signed value is undefined [-Wshift-negative-value] ^~~~~ XSETINT (val, -1); /usr/include/string.h ^~~~~~~~~~~~~~~~~: 54:./lisp.h56::378 :note43: :passing argument to parameter here note./lisp.h: :char *strcat(char * __restrict, const char * __restrict);549expanded from macro 'make_number': 29 ^: #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) note ~~~~~~~~~~~~~~~~~ ^editfns.c: :expanded from macro 'XSETINT'1393 : #define XSETINT(a, b) (a) = make_number (b)28 : ^~~~~~~~~~~~~~~ warning./lisp.h: :passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]378 :43: full = build_string (r); note ^: expanded from macro 'make_number'./lisp.h :2573:#define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS)50 : ~~~~~~~~~~~~~~~~~ ^ note: passing argument to parameter here extern Lisp_Object build_string P_ ((const char *)); ^ data.c:2407:24: warning: passing 'char [350]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] float_to_string (pigbuf, XFLOAT_DATA (number)); ^~~~~~ ./lisp.h:2632:49: note: passing argument to parameter here extern void float_to_string P_ ((unsigned char *, double)); ^ data.c:2412:28: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf (buffer, "%d", XINT (number)); ~~ ^~~~~~~~~~~~~ %ld ./lisp.h:373:17: note: expanded from macro 'XINT' #define XINT(a) (((EMACS_INT) (a)) >> GCTYPEBITS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data.c:2483:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (isfloat_string (p) && b == 10) ^ ./lisp.h:2663:38: note: passing argument to parameter here extern int isfloat_string P_ ((char *)); ^ data.c:2484:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = make_float (sign * atof (p)); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include lread.c editfns.c:1704:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] result = emacs_memftimeu (buf, size, SDATA (format_string), ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ editfns.c:1715:5: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDATA (format_string), ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ editfns.c:1842:18: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] int abszone = abs (XINT (zone)); ^ editfns.c:1842:18: note: use function 'labs' instead int abszone = abs (XINT (zone)); ^~~ labs editfns.c:1843:45: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] sprintf (tzbuf, "XXX%s%d:%02d:%02d", "-" + (XINT (zone) < 0), ~~~~^~~~~~~~~~~~~~~~~~~ editfns.c:1843:45: note: use array indexing to silence this warning sprintf (tzbuf, "XXX%s%d:%02d:%02d", "-" + (XINT (zone) < 0), ^ & [ ] 11 warnings generated. data.c:3363:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] Vmost_negative_fixnum = make_number (MOST_NEGATIVE_FIXNUM); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include abbrev.c editfns.c:2855:40: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] string = make_multibyte_string (tostr, 1, len); ^~~~~ ./lisp.h:2576:59: note: passing argument to parameter here extern Lisp_Object make_multibyte_string P_ ((const char *, int, int)); ^ editfns.c:3002:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] string = make_multibyte_string (str, 1, str_len); ^~~ ./lisp.h:2576:59: note: passing argument to parameter here extern Lisp_Object make_multibyte_string P_ ((const char *, int, int)); ^ eval.c:2157:34: warning: too few arguments in call to 'error' SDATA (SYMBOL_NAME (funname))); ^ eval.c:2157:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDATA (SYMBOL_NAME (funname))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ eval.c:2186:34: warning: too few arguments in call to 'error' SDATA (SYMBOL_NAME (funname))); ^ eval.c:2186:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDATA (SYMBOL_NAME (funname))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ eval.c:2225:53: warning: too few arguments in call to 'error' error ("Lisp nesting exceeds `max-lisp-eval-depth'"); ~~~~~ ^ editfns.c:3742:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] minlen = atoi (format); ^~~~~~ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ editfns.c:3807:41: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] p += copy_text (SDATA (args[n]), p, ^ ./lisp.h:2455:65: note: passing argument to parameter here extern int copy_text P_ ((const unsigned char *, unsigned char *, int, int, int)); ^ editfns.c:3834:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (p, this_format, XFLOAT_DATA (args[n])); ^~~~~~~~~~~ /usr/include/stdio.h:268:56: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ editfns.c:3850:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (p, this_format, (int) XINT (args[n])); ^~~~~~~~~~~ /usr/include/stdio.h:268:56: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ editfns.c:3852:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (p, this_format, XINT (args[n])); ^~~~~~~~~~~ /usr/include/stdio.h:268:56: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ editfns.c:3855:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (p, this_format, XUINT (args[n])); ^~~~~~~~~~~ /usr/include/stdio.h:268:56: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ editfns.c:3858:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (p, this_format, (int) XFLOAT_DATA (args[n])); ^~~~~~~~~~~ /usr/include/stdio.h:268:56: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ editfns.c:3862:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (p, this_format, (EMACS_INT) XFLOAT_DATA (args[n])); ^~~~~~~~~~~ /usr/include/stdio.h:268:56: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ editfns.c:3865:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (p, this_format, (EMACS_UINT) XFLOAT_DATA (args[n])); ^~~~~~~~~~~ /usr/include/stdio.h:268:56: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ editfns.c:3875:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] p += str_to_multibyte (p, buf + total - 1 - p, this_nchars); ^ ./charset.h:855:49: note: passing argument to parameter here extern int str_to_multibyte P_ ((unsigned char *, int, int)); ^ editfns.c:3902:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] int len = copy_text (format, p, 1, 0, 1); ^ ./lisp.h:2455:65: note: passing argument to parameter here extern int copy_text P_ ((const unsigned char *, unsigned char *, int, int, int)); ^ editfns.c:3916:39: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] nchars = multibyte_chars_in_text (buf, p - buf); ^~~ ./lisp.h:2311:62: note: passing argument to parameter here extern int multibyte_chars_in_text P_ ((const unsigned char *, int)); ^ eval.c:2934:53: warning: too few arguments in call to 'error' error ("Lisp nesting exceeds `max-lisp-eval-depth'"); ~~~~~ ^ editfns.c:4380:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] safe_bcopy (start1_addr + len1_byte, start1_addr + len2_byte, len_mid); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:2497:41: note: passing argument to parameter here extern void safe_bcopy P_ ((const char *, char *, int)); ^ editfns.c:4380:48: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] safe_bcopy (start1_addr + len1_byte, start1_addr + len2_byte, len_mid); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:2497:49: note: passing argument to parameter here extern void safe_bcopy P_ ((const char *, char *, int)); ^ eval.c:3203:58: warning: too few arguments in call to 'error' error ("Invalid byte code in %s", SDATA (XCAR (tem))); ~~~~~ ^ eval.c:3203:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] error ("Invalid byte code in %s", SDATA (XCAR (tem))); ^~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ eval.c:3205:32: warning: too few arguments in call to 'error' error ("Invalid byte code"); ~~~~~ ^ fns.c:1022:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = make_multibyte_string (buf, SCHARS (string), nbytes); ^~~ ./lisp.h:2576:59: note: passing argument to parameter here extern Lisp_Object make_multibyte_string P_ ((const char *, int, int)); ^ fns.c:1050:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_multibyte_string (SDATA (string), nbytes, nbytes); ^~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:2576:59: note: passing argument to parameter here extern Lisp_Object make_multibyte_string P_ ((const char *, int, int)); ^ fns.c:1056:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = make_multibyte_string (buf, SCHARS (string), nbytes); ^~~ ./lisp.h:2576:59: note: passing argument to parameter here extern Lisp_Object make_multibyte_string P_ ((const char *, int, int)); ^ fns.c:1083:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = make_unibyte_string (buf, nchars); ^~~ ./lisp.h:2575:57: note: passing argument to parameter here extern Lisp_Object make_unibyte_string P_ ((const char *, int)); ^ 1 warning generated. fns.c:1143:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] string = make_unibyte_string (str, bytes); ^~~ ./lisp.h:2575:57: note: passing argument to parameter here extern Lisp_Object make_unibyte_string P_ ((const char *, int)); ^ fns.c:1295:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] res = make_specified_string (SDATA (string) + from_byte, ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ ./lisp.h:2581:59: note: passing argument to parameter here extern Lisp_Object make_specified_string P_ ((const char *, int, int, int)); ^ fns.c:1361:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_specified_string (SDATA (string) + from_byte, ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ ./lisp.h:2581:59: note: passing argument to parameter here extern Lisp_Object make_specified_string P_ ((const char *, int, int, int)); ^ fns.c:1393:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] res = make_specified_string (SDATA (string) + from_byte, ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ ./lisp.h:2581:59: note: passing argument to parameter here extern Lisp_Object make_specified_string P_ ((const char *, int, int, int)); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include syntax.c 4 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include unexelf.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include bytecode.c fns.c:3398:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (SCHARS (ans) == 3 && !strcmp (SDATA (ans), "yes")) ^~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ fns.c:3403:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (SCHARS (ans) == 2 && !strcmp (SDATA (ans), "no")) ^~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ lread.c:830:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && !strcmp (SDATA (file) + size - 3, ".el")) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ lread.c:833:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && !strcmp (SDATA (file) + size - 4, ".elc")) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ lread.c:960:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value] msg_file = Fsubstring (found, make_number (0), make_number (-1)); ^~~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ print.c:356:19: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] message_dolog (str, len, 0, multibyte_p); ^~~ ./lisp.h:2526:44: note: passing argument to parameter here extern void message_dolog P_ ((const char *, int, int, int)); ^ print.c:427:41: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] int ch = STRING_CHAR_AND_LENGTH (ptr + i, size_byte - i, len); ^~~~~~~ ./charset.h:575:22: note: expanded from macro 'STRING_CHAR_AND_LENGTH' : string_to_char (str, len, &(actual_len))) ^~~ ./charset.h:848:53: note: passing argument to parameter here extern int string_to_char P_ ((const unsigned char *, int, int *)); ^ print.c:458:41: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] int ch = STRING_CHAR_AND_LENGTH (ptr + i, size_byte - i, len); ^~~~~~~ ./charset.h:575:22: note: expanded from macro 'STRING_CHAR_AND_LENGTH' : string_to_char (str, len, &(actual_len))) ^~~ ./charset.h:848:53: note: passing argument to parameter here extern int string_to_char P_ ((const unsigned char *, int, int *)); ^ lread.c:1229:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy (fn, SDATA (filename) + 2, ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ /usr/include/string.h:64:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ lread.c:1235:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy (fn, SDATA (filename), ^~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:64:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ lread.c:1241:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncat (fn, SDATA (XCAR (tail)), lsuffix); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:62:57: note: passing argument to parameter here char *strncat(char * __restrict, const char * __restrict, size_t); ^ print.c:524:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strout (SDATA (string), ^~~~~~~~~~~~~~ lread.c./lisp.h::1276585::1224:: warning: noteassigning to 'const char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]: expanded from macro 'SDATA' pfn = SDATA (encoded_fn); ^ ~~~~~~~~~~~~~~~~~~#define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fns.c:3891:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] encoded_length = base64_encode_1 (BYTE_POS_ADDR (ibeg), encoded, length, ^~~~~~~~~~~~~~~~~~~~ ./buffer.h:290:3: note: expanded from macro 'BYTE_POS_ADDR' (((n) >= GPT_BYTE ? GAP_SIZE : 0) + (n) + BEG_ADDR - BEG_BYTE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fns.c:3859:45: note: passing argument to parameter here static int base64_encode_1 P_ ((const char *, char *, int, int, int)); ^ fns.c:3907:11: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (encoded, encoded_length); ^~~~~~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ fns.c:3948:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] encoded_length = base64_encode_1 (SDATA (string), ^~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fns.c:3859:45: note: passing argument to parameter here static int base64_encode_1 P_ ((const char *, char *, int, int, int)); ^ print.c:fns.c573::39853::32 :warning : warningpassing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ c = STRING_CHAR_AND_LENGTH (from + i, length - i, bytes);print.c : ^~~~~~~~271 :16: note: expanded from macro 'PRINTFINISH' ./charset.h:575:22: copy_text (print_buffer, temp, print_buffer_pos_byte, \ note ^~~~~~~~~~~~: expanded from macro 'STRING_CHAR_AND_LENGTH' ./lisp.h:2455:48 : string_to_char (str, len, &(actual_len))): ^~~note : ./charset.hpassing argument to parameter here: 848:53: note: extern int copy_text P_ ((const unsigned char *, unsigned char *, int, int, int));passing argument to parameter here ^ extern int string_to_char P_ ((const unsigned char *, int, int *)); ^ print.c:573:3: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ print.c:277:18: note: expanded from macro 'PRINTFINISH' insert_1_both (print_buffer, print_buffer_pos, \ ^~~~~~~~~~~~ ./lisp.h:2462:53: note: passing argument to parameter here extern void insert_1_both P_ ((const unsigned char *, int, int, int, int, int)); ^ fns.c:4023:32: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] c = STRING_CHAR_AND_LENGTH (from + i, length - i, bytes); ^~~~~~~~ ./charset.h:575:22: note: expanded from macro 'STRING_CHAR_AND_LENGTH' : string_to_char (str, len, &(actual_len))) ^~~ ./charset.h:848:53: note: passing argument to parameter here extern int string_to_char P_ ((const unsigned char *, int, int *)); ^ fns.c:4045:32: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] c = STRING_CHAR_AND_LENGTH (from + i, length - i, bytes); ^~~~~~~~ ./charset.h:575:22: note: expanded from macro 'STRING_CHAR_AND_LENGTH' : string_to_char (str, len, &(actual_len))) ^~~ ./charset.h:848:53: note: passing argument to parameter here extern int string_to_char P_ ((const unsigned char *, int, int *)); ^ fns.c:4091:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] decoded_length = base64_decode_1 (BYTE_POS_ADDR (ibeg), decoded, length, ^~~~~~~~~~~~~~~~~~~~ ./buffer.h:290:3: note: expanded from macro 'BYTE_POS_ADDR' (((n) >= GPT_BYTE ? GAP_SIZE : 0) + (n) + BEG_ADDR - BEG_BYTE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fns.c:3860:45: note: passing argument to parameter here static int base64_decode_1 P_ ((const char *, char *, int, int, int *)); ^ fns.c:4106:18: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert_1_both (decoded, inserted_chars, decoded_length, 0, 1, 0); ^~~~~~~ ./lisp.h:2462:53: note: passing argument to parameter here extern void insert_1_both P_ ((const unsigned char *, int, int, int, int, int)); ^ lread.c:2135:27: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_str_as_multibyte (read_buffer, *p - read_buffer, &nbytes, nchars); ^~~~~~~~~~~ ./charset.h:851:62: note: passing argument to parameter here extern void parse_str_as_multibyte P_ ((const unsigned char *, int, int *, ^ lread.c:2146:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] nbytes = str_as_multibyte (read_buffer, read_buffer_size, ^~~~~~~~~~~ ./charset.h:853:49: note: passing argument to parameter here extern int str_as_multibyte P_ ((unsigned char *, int, int, int *)); ^ fns.c:4142:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] decoded_length = base64_decode_1 (SDATA (string), decoded, length, ^~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fns.c:3860:45: note: passing argument to parameter here static int base64_decode_1 P_ ((const char *, char *, int, int, int *)); ^ print.c:593:3: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ print.c:271:16: note: expanded from macro 'PRINTFINISH' copy_text (print_buffer, temp, print_buffer_pos_byte, \ ^~~~~~~~~~~~ ./lisp.h:2455:48: note: passing argument to parameter here extern int copy_text P_ ((const unsigned char *, unsigned char *, int, int, int)); ^ print.c:593:3: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ print.c:277:18: note: expanded from macro 'PRINTFINISH' insert_1_both (print_buffer, print_buffer_pos, \ ^~~~~~~~~~~~ ./lisp.h:2462:53: note: passing argument to parameter here extern void insert_1_both P_ ((const unsigned char *, int, int, int, int, int)); ^ print.c:610:3: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ print.c:271:16: note: expanded from macro 'PRINTFINISH' copy_text (print_buffer, temp, print_buffer_pos_byte, \ ^~~~~~~~~~~~ ./lisp.h:2455:48: note: passing argument to parameter here extern int copy_text P_ ((const unsigned char *, unsigned char *, int, int, int)); ^ print.c:610:3: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ print.c:277:18: note: expanded from macro 'PRINTFINISH' insert_1_both (print_buffer, print_buffer_pos, \ ^~~~~~~~~~~~ ./lisp.h:2462:53: note: passing argument to parameter here extern void insert_1_both P_ ((const unsigned char *, int, int, int, int, int)); ^ lread.c:3377:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] tem = oblookup (obarray, SDATA (string), ^~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:2656:59: note: passing argument to parameter here extern Lisp_Object oblookup P_ ((Lisp_Object, const char *, int, int)); ^ lread.c:3430:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] tem = oblookup (obarray, SDATA (string), SCHARS (string), SBYTES (string)); ^~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:2656:59: note: passing argument to parameter here extern Lisp_Object oblookup P_ ((Lisp_Object, const char *, int, int)); ^ print.c:714:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] temp_output_buffer_setup (SDATA (name)); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ lread.c:3460:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] tem = oblookup (obarray, SDATA (string), ^~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:2656:59: note: passing argument to parameter here extern Lisp_Object oblookup P_ ((Lisp_Object, const char *, int, int)); ^ print.c:745:3: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ print.c:271:16: note: expanded from macro 'PRINTFINISH' copy_text (print_buffer, temp, print_buffer_pos_byte, \ ^~~~~~~~~~~~ ./lisp.h:2455:48: note: passing argument to parameter here extern int copy_text P_ ((const unsigned char *, unsigned char *, int, int, int)); ^ print.c:745:3: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ print.c:277:18: note: expanded from macro 'PRINTFINISH' insert_1_both (print_buffer, print_buffer_pos, \ ^~~~~~~~~~~~ ./lisp.h:2462:53: note: passing argument to parameter here extern void insert_1_both P_ ((const unsigned char *, int, int, int, int, int)); ^ lread.c:3632:23: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] hash = hash_string ("nil", 3); ^~~~~ print.c:784:3: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ print.c:271:16: note: expanded from macro 'PRINTFINISH' copy_text (print_buffer, temp, print_buffer_pos_byte, \ ^~~~~~~~~~~~ ./lisp.h:2455:48: note: passing argument to parameter here extern int copy_text P_ ((const unsigned char *, unsigned char *, int, int, int)); ^ print.c:784:3: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ print.c:277:18: note: expanded from macro 'PRINTFINISH' insert_1_both (print_buffer, print_buffer_pos, \ ^~~~~~~~~~~~ ./lisp.h:2462:53: note: passing argument to parameter here extern void insert_1_both P_ ((const unsigned char *, int, int, int, int, int)); ^ lread.c:3957:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (access (SDATA (dirfile), 0) < 0) ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/unistd.h:88:25: note: passing argument to parameter here int access(const char *, int); ^ print.c:827:5: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ print.c:271:16: note: expanded from macro 'PRINTFINISH' copy_text (print_buffer, temp, print_buffer_pos_byte, \ ^~~~~~~~~~~~ ./lisp.h:2455:48: note: passing argument to parameter here extern int copy_text P_ ((const unsigned char *, unsigned char *, int, int, int)); ^ print.c:827:5: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ print.c:277:18: note: expanded from macro 'PRINTFINISH' insert_1_both (print_buffer, print_buffer_pos, \ ^~~~~~~~~~~~ ./lisp.h:2462:53: note: passing argument to parameter here extern void insert_1_both P_ ((const unsigned char *, int, int, int, int, int)); ^ abbrev.c:492:11: warning: passing 'char [6]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (" (", 5); ^~~~~~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ abbrev.c:495:11: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (" ", 1); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ abbrev.c:497:11: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (" ", 1); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ abbrev.c:499:11: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (" ", 1); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ abbrev.c:501:11: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (")\n", 2); ^~~~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ print.c:880:3: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ print.c:271:16: note: expanded from macro 'PRINTFINISH' copy_text (print_buffer, temp, print_buffer_pos_byte, \ ^~~~~~~~~~~~ ./lisp.h:2455:48: note: passing argument to parameter here extern int copy_text P_ ((const unsigned char *, unsigned char *, int, int, int)); ^ print.c:880:3: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ print.c:277:18: note: expanded from macro 'PRINTFINISH' insert_1_both (print_buffer, print_buffer_pos, \ ^~~~~~~~~~~~ ./lisp.h:2462:53: note: passing argument to parameter here extern void insert_1_both P_ ((const unsigned char *, int, int, int, int, int)); ^ print.c:924:3: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ print.c:271:16: note: expanded from macro 'PRINTFINISH' copy_text (print_buffer, temp, print_buffer_pos_byte, \ ^~~~~~~~~~~~ ./lisp.h:2455:48: note: passing argument to parameter here extern int copy_text P_ ((const unsigned char *, unsigned char *, int, int, int)); ^ print.c:924:3: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] PRINTFINISH; ^~~~~~~~~~~ print.c:277:18: note: expanded from macro 'PRINTFINISH' insert_1_both (print_buffer, print_buffer_pos, \ ^~~~~~~~~~~~ ./lisp.h:2462:53: note: passing argument to parameter here extern void insert_1_both P_ ((const unsigned char *, int, int, int, int, int)); ^ fns.c:5723:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] md5_buffer (SDATA (object) + start_byte, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ ./md5.h:144:43: note: passing argument to parameter 'buffer' here extern void *md5_buffer __P ((const char *buffer, size_t len, ^ fns.c:5728:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (&value[2 * i], "%02x", digest[i]); ^~~~~~~~~~~~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ fns.c:5731:23: warning: passing 'unsigned char [33]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_string (value, 32); ^~~~~ ./lisp.h:2574:49: note: passing argument to parameter here extern Lisp_Object make_string P_ ((const char *, int)); ^ print.c:1184:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (buf, "1.0e+INF"); ^~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ print.c:1190:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (buf, "-1.0e+INF"); ^~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ print.c:1209:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (buf, "0.0e+NaN"); ^~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ print.c:1230:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (buf, "%.*g", width, data); ^~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ print.c:1231:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (width++ < DOUBLE_DIGITS_BOUND && atof (buf) != data); ^~~ /usr/include/stdlib.h:100:26: note: passing argument to parameter here double atof(const char *); ^ print.c:1268:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (buf, SDATA (Vfloat_output_format), data); ^~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ print.c:1268:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (buf, SDATA (Vfloat_output_format), data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:268:56: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ print.c:1556:22: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf (buf, "%d", XINT (obj)); ~~ ^~~~~~~~~~ %ld ./lisp.h:373:17: note: expanded from macro 'XINT' #define XINT(a) (((EMACS_INT) (a)) >> GCTYPEBITS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c:1568:19: warning: passing 'char [350]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] float_to_string (pigbuf, XFLOAT_DATA (obj)); ^~~~~~ print.c:1640:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (outbuf, "\\x%x", c); ^~~~~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ print.c:1641:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strout (outbuf, -1, -1, printcharfun, 0); ^~~~~~ print.c:1653:14: warning: passing 'unsigned char [5]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (outbuf, "\\%03o", c); ^~~~~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ print.c:1654:13: warning: passing 'unsigned char [5]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strout (outbuf, -1, -1, printcharfun, 0); ^~~~~~ print.c:1986:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strout (SDATA (SYMBOL_NAME (h->test)), -1, -1, printcharfun, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c:1988:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strout (SDATA (SYMBOL_NAME (h->weak)), -1, -1, printcharfun, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ syntax.c:1108:11: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (str, 1); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ syntax.c:1111:13: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (" ", 1); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ syntax.c:1116:13: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert ("1", 1); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ syntax.c:1118:13: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert ("2", 1); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ syntax.c:1121:13: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert ("3", 1); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ syntax.c:1123:13: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert ("4", 1); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ syntax.c:1126:13: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert ("p", 1); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ syntax.c:1128:13: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert ("b", 1); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ syntax.c:1130:13: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert ("n", 1); ^~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ bytecode.c:877:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] temp_output_buffer_setup (SDATA (TOP)); ^~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:2624:55: note: passing argument to parameter here extern void temp_output_buffer_setup P_ ((const char *)); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include process.c 5 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include callproc.c 7 warnings generated. 1 warning generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include region-cache.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include sound.c callproc.c:387:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] filefd = emacs_open (SDATA (infile), O_RDONLY, 0); ^~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:3198:40: note: passing argument to parameter here extern int emacs_open P_ ((const char *, int, int)); ^ callproc.c:534:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fd_error = creat (SDATA (error_file), 0666); ^~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/fcntl.h:308:23: note: passing argument to parameter here int creat(const char *, mode_t); ^ callproc.c:805:23: warning: passing 'char [65536]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert_1_both (buf, nread, nread, 0, 1, 0); ^~~ ./lisp.h:2462:53: note: passing argument to parameter here extern void insert_1_both P_ ((const unsigned char *, int, int, int, int, int)); ^ callproc.c:822:39: warning: passing 'char [65536]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] detect_coding (&process_coding, buf, nread); ^~~ ./coding.h:645:77: note: passing argument to parameter here extern void detect_coding P_ ((struct coding_system *, const unsigned char *, ^ process.c:546:2: warning: implicit declaration of function 'openpty' is invalid in C99 [-Wimplicit-function-declaration] callproc.c:831:35: warning: passing 'char [65536]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] decode_coding (&process_coding, buf, decoding_buf, ^~~ ./coding.h PTY_OPEN;: 621 ^: 76:./s/netbsd.h :note170: :passing argument to parameter here17 : note: expanded from macro 'PTY_OPEN' extern int decode_coding P_ ((struct coding_system *, const unsigned char *, ^ if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \ ^callproc.c :831:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] decode_coding (&process_coding, buf, decoding_buf, ^~~~~~~~~~~~ ./coding.h:622:25: note: passing argument to parameter here unsigned char *, int, int)); ^ callproc.c:853:20: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert_1_both (decoding_buf, process_coding.produced_char, ^~~~~~~~~~~~ ./lisp.h:2462:53: note: passing argument to parameter here extern void insert_1_both P_ ((const unsigned char *, int, int, int, int, int)); ^ callproc.c:892:25: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert_1_both ("\r", 1, 1, 0, 1, 0); ^~~~ process.c./lisp.h::6212462::353:: warningnote: : shifting a negative signed value is undefined [-Wshift-negative-value]passing argument to parameter here XSETINT (p->infd, -1);extern void insert_1_both P_ ((const unsigned char *, int, int, int, int, int)); ^~~~~~~~~~~~~~~~~~~~~ ^ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ process.c:622:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (p->outfd, -1); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:callproc.c378::92043::5 :note : warningexpanded from macro 'make_number': initializing 'const unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ BCOPY_SHORT (buf + process_coding.consumed, buf, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:885:26: note: expanded from macro 'BCOPY_SHORT' const unsigned char *from_p = from; \ ^ ~~~~ callproc.c:920:5: warning: initializing 'unsigned char *' with an expression of type 'char [65536]' converts between pointers to integer types with different sign [-Wpointer-sign] BCOPY_SHORT (buf + process_coding.consumed, buf, ^ ~~~ ./charset.h:886:20: note: expanded from macro 'BCOPY_SHORT' unsigned char *to_p = to; \ ^ ~~ callproc.c:1490:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (getenv_internal (SDATA (var), SBYTES (var), ^~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ callproc.c:1605:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (access (SDATA (tempdir), 0) < 0) ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/unistd.h:88:25: note: passing argument to parameter here int access(const char *, int); ^ callproc.c:1611:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (access (SDATA (tempdir), 0) < 0) ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/unistd.h:88:25: note: passing argument to parameter here int access(const char *, int); ^ 5 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include atimer.c process.c:3064:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy (address_un.sun_path, SDATA (service), sizeof address_un.sun_path); ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:64:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ process.c:3109:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] portstring = SDATA (service); ^ ~~~~~~~~~~~~~~~ process.c:3119:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = getaddrinfo (SDATA (host), portstring, &hints, &res); ^~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/netdb.h:351:41: note: passing argument to parameter here int getaddrinfo(const char * __restrict, const char * __restrict, ^ process.c:3143:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] svc_info = getservbyname (SDATA (service), ^~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/netdb.h:335:43: note: passing argument to parameter here struct servent *getservbyname(const char *, const char *); ^ process.c:3285:53: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname (s, (struct sockaddr *)&sa1, &len1) == 0) ^~~~~ /usr/include/sys/socket.h:651:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ process.c:3383:49: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname (s, (struct sockaddr *)&sa1, &len1) == 0) ^~~~~ /usr/include/sys/socket.h:651:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ process.c:3385:30: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] conv_sockaddr_to_lisp (&sa1, len1)); ^~~~ 22 warnings generated. process.c:3751:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy (rq.ifr_name, SDATA (ifname), sizeof (rq.ifr_name)); ^~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:64:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ process.c:3882:7: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (p->infd, -1); ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ process.c:3883:7: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (p->outfd, -1); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:549:29: note: expanded from macro 'XSETINT' #define XSETINT(a, b) (a) = make_number (b) ^~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ process.c:4035:35: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] s = accept (channel, &saddr.sa, &len); ^~~~ /usr/include/sys/socket.h:646:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ process.c:4163:34: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname (s, &saddr.sa, &len) == 0) ^~~~ /usr/include/sys/socket.h:651:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ process.c:4927:36: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(channel, &pname, &pnamelen) < 0) ^~~~~~~~~ /usr/include/sys/socket.h:650:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include doprnt.c process.c:5072:38: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 0, datagram_address[channel].sa, &len); ^~~~ /usr/include/sys/socket.h:658:58: note: passing argument to parameter here struct sockaddr * __restrict, socklen_t * __restrict); ^ 9 warnings generated. process.c:5480:28: warning: passing 'char [1]' to parameter of type 'unsigned char *volatile' converts between pointers to integer types with different sign [-Wpointer-sign] send_process (proc, "", 0, Qt); ^~ process.c:5523:30: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] encode_coding (coding, (char *) buf, SDATA (object), ^~~~~~~~~~~~ ./coding.h:623:76: note: passing argument to parameter here extern int encode_coding P_ ((struct coding_system *, const unsigned char *, ^ process.c:5858:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fd = emacs_open (XSTRING (p->tty_name)->data, O_RDONLY, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:520:20: note: expanded from macro 'XSTRING' #define XSTRING(a) (eassert (GC_STRINGP(a)),(struct Lisp_String *) XPNTR(a)) ^ ./lisp.h:3198:40: note: passing argument to parameter here extern int emacs_open P_ ((const char *, int, int)); ^ process.c:6301:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(name, "SIG", 3) || !strncmp(name, "sig", 3)) ^~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ process.c:6301:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(name, "SIG", 3) || !strncmp(name, "sig", 3)) ^~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ process.c:6307:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("usr1", SIGUSR1); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6310:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("usr2", SIGUSR2); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6313:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include strftime.c parse_signal ("term", SIGTERM); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6316:21: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("hup", SIGHUP); ^~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6319:21: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("int", SIGINT); ^~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6322:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("quit", SIGQUIT); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:63254: warning21s: generated. warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("ill", SIGILL); ^~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6328:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("abrt", SIGABRT); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6331:21: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("emt", SIGEMT); ^~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6334:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("kill", SIGKILL); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6337:21: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("fpe", SIGFPE); ^~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6340:21: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("bus", SIGBUS); ^~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6343:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("segv", SIGSEGV); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6346:21: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("sys", SIGSYS); ^~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6349:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("pipe", SIGPIPE); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6352:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("alrm", SIGALRM); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6355:21: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("urg", SIGURG); ^~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6358:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("stop", SIGSTOP); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6361:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("tstp", SIGTSTP); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6364:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("cont", SIGCONT); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6367:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("chld", SIGCHLD); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6370:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("ttin", SIGTTIN); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6373:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("ttou", SIGTTOU); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6376:21: warning: passing 'char [3]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("io", SIGIO); ^~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6379:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("xcpu", SIGXCPU); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6382:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("xfsz", SIGXFSZ); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6385:21: warning: passing 'char [7]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("vtalrm", SIGVTALRM); ^~~~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6388:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("prof", SIGPROF); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6391:21: warning: passing 'char [6]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("winch", SIGWINCH); ^~~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6394:21: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_signal ("info", SIGINFO); ^~~~~~ process.c:6289:29: note: expanded from macro 'parse_signal' else if (!xstricmp (name, NAME)) \ ^~~~ ./dispextern.h:2860:63: note: passing argument to parameter here int xstricmp P_ ((const unsigned char *, const unsigned char *)); ^ process.c:6434:27: warning: passing 'char [1]' to parameter of type 'unsigned char *volatile' converts between pointers to integer types with different sign [-Wpointer-sign] send_process (proc, "", 0, Qnil); ^~ process.c:6441:25: warning: passing 'char [2]' to parameter of type 'unsigned char *volatile' converts between pointers to integer types with different sign [-Wpointer-sign] send_process (proc, "\004", 1, Qnil); ^~~~~~ 36 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include intervals.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include textprop.c sound.c:505:16: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_int16_t' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_int16_t value; ^ sound.c:303:38: note: previous declaration is here static u_int16_t le2hs P_ ((u_int16_t)); ^ sound.c:617:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sd->write (sd, SDATA (s->data) + sizeof *header, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ sound.c:711:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sd->write (sd, SDATA (s->data) + header->data_offset, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ sound.c:1453:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (current_sound_device->file, SDATA (attrs[SOUND_DEVICE])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ 14 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include composite.c 13 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include md5.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include tparam.c 26 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include lastfile.c 4 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include gmalloc.c doprnt.c:159:12: warning: unsequenced modification and access to 'n' [-Wunsequenced] || (n = n * 10 + (fmt[1] - '0')) < n) ^ ~ doprnt.c:249:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] tem = strlen (string); ^~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ doprnt.c:257:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] width = tem = strlen (string); ^~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ doprnt.c:280:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] width = strwidth (bufptr, tem); ^~~~~~ ./charset.h:860:41: note: passing argument to parameter here extern int strwidth P_ ((unsigned char *, int)); ^ 33 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include ralloc.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include vm-limit.c textprop.c:1653:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 4 warnings generated. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include widget.c clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/pkg/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include mktime.c ralloc.c:993:3: warning: implicit declaration of function 'refill_memory_reserve' is invalid in C99 [-Wimplicit-function-declaration] refill_memory_reserve (); ^ vm-limit.c:200:15: warning: enumeration value 'not_warned' not handled in switch [-Wswitch] switch (warnlevel) ^ clang -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/data/scratch/editors/emacs22/work/emacs-22.3/src -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -O2 -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc /data/scratch/editors/emacs22/work/emacs-22.3/src/prefix-args.c -o prefix-args 1 warning generated. touch stamp-oldxmenu mktime.c:335:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (t < TIME_T_MIN + 3 * quarter) ^~~~~~~~~~ mktime.c:88:21: note: expanded from macro 'TIME_T_MIN' # define TIME_T_MIN TYPE_MINIMUM (time_t) ^~~~~~~~~~~~~~~~~~~~~ mktime.c:77:20: note: expanded from macro 'TYPE_MINIMUM' ? ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1) : (t) 0)) ~~~~~~~ ^ mktime.c:367:7: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (TIME_T_MAX / INT_MAX / 366 / 24 / 60 / 60 < 3) ^~~~~~~~~~ mktime.c:91:21: note: expanded from macro 'TIME_T_MAX' # define TIME_T_MAX TYPE_MAXIMUM (time_t) ^~~~~~~~~~~~~~~~~~~~~ mktime.c:78:41: note: expanded from macro 'TYPE_MAXIMUM' #define TYPE_MAXIMUM(t) ((t) (~ (t) 0 - TYPE_MINIMUM (t))) ^~~~~~~~~~~~~~~~ mktime.c:77:20: note: expanded from macro 'TYPE_MINIMUM' ? ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1) : (t) 0)) ~~~~~~~ ^ 1 warning generated. 2 warnings generated. 1 warning generated. 54 warnings generated. 22 warnings generated. 9 warnings generated. 2 warnings generated. 27 warnings generated. echo "dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexelf.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o tparam.o lastfile.o gmalloc.o ralloc.o vm-limit.o widget.o mktime.o " > buildobj.lst rm -f ../etc/DOC ../lib-src/make-docfile -d /data/scratch/editors/emacs22/work/emacs-22.3/src sunfns.o dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o mac.o macterm.o macfns.o macmenu.o macselect.o fontset.o w32.o w32bdf.o w32console.o w32fns.o w32heap.o w32inevt.o w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexelf.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o > ../etc/DOC clang -nostartfiles -Wl,-z,nocombreloc -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc -o temacs pre-crt0.o /usr/lib/crt0.o /usr/lib/crti.o /usr/lib/crtbegin.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexelf.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o tparam.o lastfile.o gmalloc.o ralloc.o vm-limit.o widget.o mktime.o ../lwlib/liblw.a -lXaw -lXmu -lXt -lSM -lICE -lXext -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -lossaudio -lutil -ltermcap -lm -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o ../lib-src/make-docfile -a ../etc/DOC -d /data/scratch/editors/emacs22/work/emacs-22.3/src ../lisp/mouse.elc ../lisp/select.elc ../lisp/scroll-bar.elc ../lisp/vmsproc.elc ../lisp/vms-patch.elc ../lisp/ls-lisp.elc ../lisp/dos-fns.elc ../lisp/w32-fns.elc ../lisp/dos-w32.elc ../lisp/disp-table.elc ../lisp/dos-vars.elc ../lisp/tooltip.elc ../lisp/image.elc ../lisp/fringe.elc ../lisp/dnd.elc ../lisp/mwheel.elc ../lisp/tool-bar.elc ../lisp/x-dnd.elc ../lisp/international/ccl.elc ../lisp/international/codepage.elc ../lisp/international/fontset.elc ../lisp/abbrev.elc ../lisp/buff-menu.elc ../lisp/button.elc ../lisp/emacs-lisp/byte-run.elc ../lisp/cus-face.elc ../lisp/cus-start.elc ../lisp/custom.elc ../lisp/emacs-lisp/backquote.elc ../lisp/emacs-lisp/lisp-mode.elc ../lisp/emacs-lisp/lisp.elc ../lisp/facemenu.elc ../lisp/faces.elc ../lisp/files.elc ../lisp/emacs-lisp/float-sup.elc ../lisp/format.elc ../lisp/frame.elc ../lisp/help.elc ../lisp/indent.elc ../lisp/isearch.elc ../lisp/rfn-eshadow.elc ../lisp/loadup.el ../lisp/loaddefs.el ../lisp/bindings.elc ../lisp/emacs-lisp/map-ynp.elc ../lisp/env.elc ../lisp/international/mule.elc ../lisp/international/mule-conf.el ../lisp/international/mule-cmds.elc ../lisp/international/characters.elc ../lisp/international/ucs-tables.elc ../lisp/international/utf-8.elc ../lisp/international/utf-16.elc ../lisp/international/latin-1.el ../lisp/international/latin-2.el ../lisp/international/latin-3.el ../lisp/international/latin-4.el ../lisp/international/latin-5.el ../lisp/international/latin-8.el ../lisp/international/latin-9.el ../lisp/case-table.elc ../lisp/language/chinese.elc ../lisp/language/cyrillic.elc ../lisp/language/indian.elc ../lisp/language/devanagari.el ../lisp/language/kannada.el ../lisp/language/malayalam.el ../lisp/language/tamil.el ../lisp/language/english.el ../lisp/language/ethiopic.elc ../lisp/language/european.elc ../lisp/language/czech.el ../lisp/language/slovak.el ../lisp/language/romanian.el ../lisp/language/greek.el ../lisp/language/hebrew.el ../lisp/language/japanese.el ../lisp/language/korean.el ../lisp/language/lao.el ../lisp/language/thai.el ../lisp/language/tibetan.elc ../lisp/language/vietnamese.elc ../lisp/language/misc-lang.el ../lisp/language/utf-8-lang.el ../lisp/language/georgian.el ../lisp/menu-bar.elc ../lisp/paths.el ../lisp/register.elc ../lisp/replace.elc ../lisp/simple.elc ../lisp/startup.elc ../lisp/subr.elc ../lisp/term/tty-colors.elc ../lisp/font-core.elc ../lisp/emacs-lisp/syntax.elc ../lisp/font-lock.elc ../lisp/jit-lock.elc ../lisp/textmodes/fill.elc ../lisp/textmodes/page.elc ../lisp/textmodes/paragraphs.elc ../lisp/textmodes/text-mode.elc ../lisp/emacs-lisp/timer.elc ../lisp/vc-hooks.elc ../lisp/jka-cmpr-hook.elc ../lisp/ediff-hook.elc ../lisp/widget.elc ../lisp/window.elc ../lisp/version.el LC_ALL=C ./temacs -batch -l loadup dump Loading loadup.el (source)... Using load-path (/data/scratch/editors/emacs22/work/emacs-22.3/lisp) Loading emacs-lisp/byte-run... Loading emacs-lisp/backquote... Loading subr... Loading version.el (source)... Loading widget... Loading custom... Loading emacs-lisp/map-ynp... Loading env... Loading cus-start... Loading international/mule... Loading international/mule-conf.el (source)... Loading format... Loading bindings... Loading files... Loading cus-face... Loading faces... Loading button... Loading startup... Lists of integers (garbage collection statistics) are normal output while building Emacs; they do not indicate a problem. ((11173 . 8187) (4845 . 0) (577 . 6) 16045 20165 (11 . 7) (17 . 0) (828 . 1745)) Loading loaddefs.el (source)... ((29157 . 10656) (7817 . 0) (586 . 10) 41992 20165 (37 . 33) (17 . 0) (3698 . 1293)) Loading simple... Loading help... Loading jka-cmpr-hook... Loading international/mule-cmds... Loading case-table... Loading international/utf-8... Loading international/utf-16... Loading international/characters... Loading international/latin-1.el (source)... Loading international/latin-2.el (source)... Loading international/latin-3.el (source)... Loading international/latin-4.el (source)... Loading international/latin-5.el (source)... Loading international/latin-8.el (source)... Loading international/latin-9.el (source)... Loading language/chinese... Loading language/cyrillic... Loading language/indian... Loading language/devanagari.el (source)... Loading language/malayalam.el (source)... Loading language/tamil.el (source)... Loading language/kannada.el (source)... Loading language/english.el (source)... Loading language/ethiopic... Loading language/european... Loading language/czech.el (source)... Loading language/slovak.el (source)... Loading language/romanian.el (source)... Loading language/greek.el (source)... Loading language/hebrew.el (source)... Loading language/japanese.el (source)... Loading language/korean.el (source)... Loading language/lao.el (source)... Loading language/thai.el (source)... Loading language/tibetan... Loading language/vietnamese... Loading language/misc-lang.el (source)... Loading language/utf-8-lang.el (source)... Loading language/georgian.el (source)... Loading international/ucs-tables... Loading indent... Loading window... Loading frame... Loading term/tty-colors... Loading font-core... Loading facemenu... Loading emacs-lisp/syntax... Loading font-lock... Loading jit-lock... Loading mouse... Loading scroll-bar... Loading select... Loading emacs-lisp/timer... Loading isearch... Loading rfn-eshadow... ((49502 . 10618) (10729 . 0) (621 . 35) 63592 164351 (67 . 3) (18 . 12) (4991 . 1178)) Loading menu-bar... Loading paths.el (source)... Loading emacs-lisp/lisp... Loading textmodes/page... Loading register... Loading textmodes/paragraphs... Loading emacs-lisp/lisp-mode... Loading textmodes/text-mode... Loading textmodes/fill... ((55963 . 4206) (11257 . 0) (623 . 33) 75856 166021 (67 . 3) (18 . 12) (5501 . 1474)) Loading replace... Loading abbrev... Loading buff-menu... Loading fringe... Loading image... Loading international/fontset... Loading dnd... Loading mwheel... Loading tool-bar... Loading x-dnd... ((57895 . 4711) (11770 . 0) (624 . 32) 77395 166603 (69 . 8) (18 . 12) (5597 . 1440)) Loading emacs-lisp/float-sup... ((57929 . 4677) (11774 . 0) (624 . 32) 77441 166603 (70 . 9) (18 . 12) (5598 . 1377)) Loading vc-hooks... Loading ediff-hook... Loading tooltip... ((59253 . 3353) (11931 . 0) (625 . 31) 78752 166654 (72 . 7) (18 . 12) (5672 . 1303)) Finding pointers to doc strings... Finding pointers to doc strings...done Loading site-init.el (source)... Dumping under names emacs and emacs-22.3.1 Wrong type argument: listp, 17523465622284 Makefile:106: recipe for target 'emacs' failed gmake[1]: *** [emacs] Error 255 gmake[1]: Leaving directory '/data/scratch/editors/emacs22/work/emacs-22.3/src' Makefile:304: recipe for target 'src' failed gmake: *** [src] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/editors/emacs22 *** Error code 1 Stop. make: stopped in /data/pkgsrc/editors/emacs22