=> 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-nox11-22.3nb4 /usr/bin/touch /data/scratch/editors/emacs22-nox11/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/include' CPPFLAGS='-I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include' \ LDFLAGS='-L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -Wl,-znocombreloc' MAKE='/usr/pkg/bin/gmake' gmake[1]: Entering directory '/data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/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/include -O2 -I/usr/include -o test-distrib /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/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/include -O2 -I/usr/include /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/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/include -O2 -I/usr/include /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/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/include -O2 -I/usr/include /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/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/include -O2 -I/usr/include /data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/sorted-doc.c -lutil -lc -o sorted-doc cp /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/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/include -O2 -I/usr/include /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/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/include -O2 -I/usr/include /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/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/include -O2 -I/usr/include /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/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/include -O2 -I/usr/include /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/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/include -O2 -I/usr/include -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/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/include -O2 -I/usr/include -Demacs /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/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/include -O2 -I/usr/include /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/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/include -O2 -I/usr/include /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/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/include -O2 -I/usr/include /data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/update-game-score.c -DHAVE_SHARED_GAME_DIR="\"/var/games/emacs\"" /data/scratch/editors/emacs22-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -Wl,-znocombreloc -O2 -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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/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/include -O2 -I/usr/include /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/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/include -O2 -I/usr/include /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/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/include -O2 -I/usr/include -DVERSION="\"22.3\"" /data/scratch/editors/emacs22-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -Wl,-znocombreloc -O2 -I/usr/include movemail.o pop.o getopt.o getopt1.o -lutil -lc -o movemail /data/scratch/editors/emacs22-nox11/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); ^~~ /data/scratch/editors/emacs22-nox11/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-nox11/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-nox11/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-nox11/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])) ^~~~~~~ 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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/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/include -O2 -I/usr/include -DEMACS_NAME="\"GNU Emacs\"" -DVERSION="\"22.3\"" /data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/etags.c getopt.o getopt1.o regex.o -lutil -lc -o etags /data/scratch/editors/emacs22-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/work/emacs-22.3/lib-src -I/data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/../src -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/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/include -O2 -I/usr/include -DCTAGS -DEMACS_NAME="\"GNU Emacs\"" -DVERSION="\"22.3\"" /data/scratch/editors/emacs22-nox11/work/emacs-22.3/lib-src/etags.c getopt.o getopt1.o regex.o -lutil -lc -o ctags /data/scratch/editors/emacs22-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/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-nox11/work/emacs-22.3/lib-src' cd src; /usr/pkg/bin/gmake all -j --jobserver-fds=5,6 \ CC='clang' CFLAGS='-O2 -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/include' \ LDFLAGS='-L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -Wl,-znocombreloc' MAKE='/usr/pkg/bin/gmake' gmake[1]: Entering directory '/data/scratch/editors/emacs22-nox11/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include pre-crt0.c touch stamp-oldxmenu clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include cm.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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include xfaces.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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include keyboard.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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include macros.c 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: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 *)); ^ keyboard.c:759:36: 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)); ^ 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) ~~~~~~~~~~~~~~~~~ ^ 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) ~~~~~~~~~~~~~~~~~ ^ 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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ^ ~~~~~~~~~~~~~ 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) ~~~~~~~~~~~~~~~~~ ^ 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"); ^ 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 *); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include keymap.c 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); ^ emacs.c:2283:3: warning: implicit declaration of function 'unexec' is invalid in C99 [-Wimplicit-function-declaration] unexec (SDATA (filename), ^ 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); ^ keyboard.c:6180:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && strncmp (SDATA (name) + i, "mouse-", 6) == 0 ^~~~~~~~~~~~~~~~ ./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); ^ 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) ^ 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.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^ ./lisp.h:2574:49: note: passing argument to parameter here extern Lisp_Object make_string P_ ((const 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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]keyboard.c :6629:7: warning safe_bcopy (p, endp - bytes, bytes);: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^ ./lisp.h: MULTI_LETTER_MOD (alt_modifier, "alt", 3);2497 : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~41 : notekeyboard.c: :6621passing argument to parameter here: 18: note: expanded from macro 'MULTI_LETTER_MOD' extern void safe_bcopy P_ ((const char *, char *, int)); && ! strncmp (SDATA (name), NAME, LEN)) \ ^ ^~~~~~~~~~~~ ./lisp.h:charset.c:5851605::24:18 :note : warningexpanded from macro 'SDATA': passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ safe_bcopy (p, endp - bytes, bytes);/usr/include/string.h : ^~~~~~~~~~~~63: 26:./lisp.h :note2497: passing argument to parameter here :49:int strncmp(const char *, const char *, size_t); note ^: passing argument to parameter here extern void safe_bcopy P_ ((const char *, char *, int)); ^ ccl.c:2276:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ produced = ccl_driver (&ccl, SDATA (str), outbuf, 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); ^ ccl.c:2287:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] keyboard.c:6638 produced = str_as_multibyte (outbuf, outbufsize, produced, &nchars);: 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./charset.hkeyboard.c::8536621::4918:: notenote: : expanded from macro 'MULTI_LETTER_MOD'passing argument to parameter here && ! strncmp (SDATA (name), NAME, LEN)) \ ^~~~~~~~~~~~ ./lisp.hextern int str_as_multibyte P_ ((unsigned char *, int, int, 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); ^ 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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c/usr/include/string.h::167663::3326:: note : warningpassing argument to parameter here: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]int strncmp(const char *, const char *, size_t); ^ 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)); ^ 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); ^ 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.hkeyboard.c::6917378::3443:: warningnote: : passing 'unsigned char [4095]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]expanded from macro 'make_number' nread = emacs_read (input_fd, cbuf, n_to_read); ^~~~ #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS)./lisp.h : ~~~~~~~~~~~~~~~~~ ^3200 :39charset.c:: 1834note:: 4passing argument to parameter here : warningextern int emacs_read P_ ((int, char *, unsigned int));: 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: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: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)); ^ window.c:5444:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value] Fvertical_motion (make_number (-1), window); ^~~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ 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); ^ 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: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, ^~~ 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), ^~~~~~~~ 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, ^~~~~~ 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); ^ 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); ^ 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: noteclang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include sysdep.c : 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)); ^ 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 *); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include buffer.c 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 *); ^ 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); ^~~ 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: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: clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include filelock.c 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)); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include insdel.c 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 *); ^ 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)); ^ 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] insert (" ", char_table_depth * 2); /* depth is 1 or 2. */ ^~~~~~ ./lisp.h:2459:46: note: passing argument to parameter here extern void insert P_ ((const unsigned char *, int)); ^ 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)); ^ keymap.c:3876: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: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)); ^ 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)); ^ 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 *); ^ 8 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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include marker.c 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, ^ 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 *); ^ 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, ^ 5 warnings generated. 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)); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include minibuf.c 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)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include fileio.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 *); ^ 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)); ^ minibuf.cfileio.c::12102394::2214:: warningwarning: : passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]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: len = strlen (s);note: expanded from macro 'SDATA' ^ #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~/usr/include/string.h :/usr/include/sys/stat.h61::25428::23 :note : notepassing argument to parameter here: passing argument to parameter here size_t strlen(const char *);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 *)); ^ 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: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: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 > unlink (SDATA (encoded_file))) ^~~~~~~~~~~~~~~~~~~~ ./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: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", clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include dired.c ^~~~~~~~~~~~~~ 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 *); ^ 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)); ^ 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:22minibuf.c:: 1866note:: 6:passing argument to parameter here warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int stat(const char *, struct stat *) __RENAME(__stat50); 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: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); ^ 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] dired.c:202: desc = emacs_open (fn, O_WRONLY | O_TRUNC | O_CREAT16: ^~warning : ./lisp.hpassing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :3198:40: note: passing argument to parameter here d = opendir (SDATA (dirfilename)); ^~~~~~~~~~~~~~~~~~~ extern int emacs_open P_ ((const char *, int, int)); ^ ./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, ^ 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); ^ 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)); ^ 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); ^ 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); ^ 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);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); ^ 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); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include filemode.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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include casetab.c 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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include casefiddle.c 10 warnings generated. 6 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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include search.c 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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include regex.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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include undo.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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include alloc.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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include data.c 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)); ^ 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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include doc.c 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 *); ^ 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); ^ 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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include editfns.c data.c:157:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return num | (((EMACS_INT) (-1)) << VALBITS); ~~~~~~~~~~~~~~~~~~ ^ 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] 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)); ^~~~~~~~~~~~ indent.c./lisp.h::2102585::1624:: note : warningexpanded from macro 'SDATA': initializing 'const char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here const char *s = SDATA (it.string);char *strcat(char * __restrict, const char * __restrict); ^ ~~~~~~~~~~~~~~~~~ ^ 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)); ^ 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 = "\\"; ^ ~~~~ doc.csearch.c::6082698::2141:: warningwarning: : passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]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 newtext = make_multibyte_string (substed, nchars, substed_len);: 585 ^~~~~~~: 24:./lisp.h :note2576: :expanded from macro 'SDATA'59 : note#define SDATA(string) (XSTRING (string)->data + 0): passing argument to parameter here ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:58:56: extern Lisp_Object make_multibyte_string P_ ((const char *, int, int));note : ^passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ 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]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] newtext = make_unibyte_string (substed, substed_len); ^~~~~~~ strcat (name, SDATA (filename)); /*** Add this line ***/./lisp.h : ^~~~~~~~~~~~~~~~2575 :./lisp.h57::585: 24note:: passing argument to parameter herenote : expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0)extern Lisp_Object make_unibyte_string P_ ((const char *, int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /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)); ^ 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)); ^ 1 warning generated. data.c:2374:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return Fcons (make_number (-1), make_number (bot)); ^~~~~~~~~~~~~~~~ ./lisp.h:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ 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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] parse_str_as_multibyte (contents, nbytes, &nchars, &multibyte_nbytes); ^~~~~~~~ ./charset.h:851:62: note: passing argument to parameter here data.c:2483:23:extern void parse_str_as_multibyte P_ ((const unsigned char *, int, int *, warningclang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include callint.c : ^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)); ^ alloc.c:2469:36: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] nchars = multibyte_chars_in_text (contents, nbytes); ^~~~~~~~ ./lisp.h:2311:62: note: passing argument to parameter here extern int multibyte_chars_in_text P_ ((const unsigned char *, int)); ^ 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) ~~~~~~~~~~~~~~~~~ ^ 1 warning generated. 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 *)); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include eval.c 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)); ^ 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' clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include floatfns.c #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ^ 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: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ editfns.c:1392:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (r, q + 1); ^~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ editfns.c:1393:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] full = build_string (r); ^ ./lisp.h:2573:50: note: passing argument to parameter here extern Lisp_Object build_string P_ ((const char *)); ^ 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. clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include fns.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)); ^ 20 warnings generated. callint.c:482: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); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include print.c 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] callint.c minlen = atoi (format);: 810 ^~~~~~: 38: warning/usr/include/stdlib.h: :passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]101 :23: tem = (unsigned char *) index (tem, '\n');note : ^~~passing argument to parameter here callint.c:34int atoi(const char *);: 37 ^: note: passing argument to parameter here extern char *index P_ ((const char *, int)); ^ 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)); ^ callint.c:880:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XSETINT (val, -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) ~~~~~~~~~~~~~~~~~ ^ 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: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))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 warning./lisp.hs: generated. 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'"); ~~~~~ ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include lread.c eval.c:2934:53: warning: too few arguments in call to 'error' error ("Lisp nesting exceeds `max-lisp-eval-depth'"); ~~~~~ ^ 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"); ~~~~~ ^ 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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include abbrev.c 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)); ^ 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)); ^ 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: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 *); ^ 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), ^~~~~~~~~~~~~~ ./lisp.h:585:24: note: expanded from macro 'SDATA' #define SDATA(string) (XSTRING (string)->data + 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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) ~~~~~~~~~~~~~~~~~ ^ 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: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: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: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)); ^ 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); ^ lread.c:1276:12: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] pfn = SDATA (encoded_fn); ^ ~~~~~~~~~~~~~~~~~~ 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)); ^ 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 *); ^ 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: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: print.cpassing argument to parameter here: 714:29:extern int str_as_multibyte P_ ((unsigned char *, int, int, int *)); 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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); ^ 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: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)); ^ fns.c:3985:32: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] print.c c = STRING_CHAR_AND_LENGTH (from + i, length - i, bytes); : ^~~~~~~~784 :3: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]./charset.h :575:22: PRINTFINISH;note : ^~~~~~~~~~~expanded from macro 'STRING_CHAR_AND_LENGTH' print.c: : string_to_char (str, len, &(actual_len)))277 : ^~~18 :./charset.h :note848: :expanded from macro 'PRINTFINISH' 53: note: passing argument to parameter here insert_1_both (print_buffer, print_buffer_pos, \ ^~~~~~~~~~~~ extern int string_to_char P_ ((const unsigned char *, int, int *));./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: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)); ^ 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 *)); ^ lread.c:3430:28: print.cwarning:: 827passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]: 5: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] tem = oblookup (obarray, SDATA (string), SCHARS (string), SBYTES (string)); ^~~~~~~~~~~~~~ PRINTFINISH;./lisp.h : ^~~~~~~~~~~585 :24:print.c note:: 271expanded from macro 'SDATA': 16: note#define SDATA(string) (XSTRING (string)->data + 0) : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ expanded from macro 'PRINTFINISH'./lisp.h :2656:59: note: passing argument to parameter here copy_text (print_buffer, temp, print_buffer_pos_byte, \ ^~~~~~~~~~~~extern Lisp_Object oblookup P_ ((Lisp_Object, const char *, int, int)); ^./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)); ^ 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: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)); ^ 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: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)); ^ 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: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, ...) ^ 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: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); ^~~~~~ 4 warnings generated. 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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include syntax.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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include unexelf.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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include bytecode.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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include process.c 7 warnings generated. 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)); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include callproc.c 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 *)); ^ 105 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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include region-cache.c 9 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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include sound.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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include atimer.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 *, ^ 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:621:76: note: passing argument to parameter here extern int decode_coding P_ ((struct coding_system *, const unsigned char *, ^ 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); ^~~~ ./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:920:5: warning: initializing 'const unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] 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); ^ process.c:546:2: warning: implicit declaration of function 'openpty' is invalid in C99 [-Wimplicit-function-declaration] PTY_OPEN; ^ ./s/netbsd.h:170:17: note: expanded from macro 'PTY_OPEN' if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \ ^ process.c:621:3: 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: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:378:43: note: expanded from macro 'make_number' #define make_number(N) (((EMACS_INT) (N)) << GCTYPEBITS) ~~~~~~~~~~~~~~~~~ ^ 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); ^ 1 warning generated. 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:653:74: note: passing argument to parameter here int getsockname(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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include doprnt.c 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:653: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)); ^~~~ 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:648: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:653: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:652:74:clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include strftime.c note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 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:660:58: note: passing argument to parameter here struct sockaddr * __restrict, socklen_t * __restrict); ^ 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 *, ^ 4 warnings generated. 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)); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include intervals.c 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] 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:6325: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 ("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); ^~~~~~ 13 warnings generated. doprnt.c:159:12: warning: unsequenced modification and access to 'n' [-Wunsequenced] || (n = n * 10 + (fmt[1] - '0')) < n) ^ ~ 14 warnings generated. 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)); ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include textprop.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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include composite.c 5 warnings generated. 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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include tparam.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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include lastfile.c 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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include gmalloc.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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/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/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include vm-limit.c textprop.c:1653:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ clang -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include mktime.c 33 warnings generated. ralloc.c:993:3: warning: implicit declaration of function 'refill_memory_reserve' is invalid in C99 [-Wimplicit-function-declaration] refill_memory_reserve (); ^ clang -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/emacs22-nox11/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/include -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -Wl,-znocombreloc /data/scratch/editors/emacs22-nox11/work/emacs-22.3/src/prefix-args.c -o prefix-args vm-limit.c:200:15: warning: enumeration value 'not_warned' not handled in switch [-Wswitch] switch (warnlevel) ^ 4 warnings generated. 1 warning generated. 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. 22 warnings generated. 1 warning generated. 54 warnings generated. 22 warnings generated. 9 warnings generated. 2 warnings generated. 24 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 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 mktime.o " > buildobj.lst rm -f ../etc/DOC ../lib-src/make-docfile -d /data/scratch/editors/emacs22-nox11/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 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 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/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 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 mktime.o -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-nox11/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-nox11/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. ((11081 . 8125) (4698 . 0) (529 . 6) 15883 14994 (8 . 7) (17 . 0) (821 . 1783)) Loading loaddefs.el (source)... ((29065 . 10663) (7671 . 0) (538 . 10) 41824 14994 (34 . 33) (17 . 0) (3691 . 1300)) 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 emacs-lisp/timer... Loading isearch... Loading rfn-eshadow... ((48504 . 11872) (10359 . 0) (567 . 41) 60247 159111 (63 . 4) (18 . 12) (4853 . 1161)) 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... ((54965 . 5411) (10897 . 0) (569 . 39) 72523 160781 (63 . 4) (18 . 12) (5363 . 1519)) Loading replace... Loading abbrev... Loading buff-menu... ((55798 . 4578) (11126 . 0) (570 . 38) 72859 161271 (63 . 4) (18 . 12) (5379 . 1441)) Loading emacs-lisp/float-sup... ((55827 . 4549) (11130 . 0) (570 . 38) 72914 161271 (64 . 9) (18 . 12) (5381 . 1439)) Loading vc-hooks... Loading ediff-hook... ((56899 . 3477) (11248 . 0) (571 . 37) 74111 161288 (64 . 9) (18 . 12) (5448 . 1372)) 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, 17523465311884 Makefile:98: recipe for target 'emacs' failed gmake[1]: *** [emacs] Error 255 gmake[1]: Leaving directory '/data/scratch/editors/emacs22-nox11/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-nox11 *** Error code 1 Stop. make: stopped in /data/pkgsrc/editors/emacs22-nox11