=> 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 mule-2.3nb8 Producing `src/paths.h' from `src/paths.h.in'. cd lib-src; /usr/pkg/bin/gmake all \ CC='clang' CFLAGS='-O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include' CPPFLAGS='-I/usr/pkg/include' \ LDFLAGS='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib' MAKE='/usr/pkg/bin/gmake' gmake[1]: Entering directory '/data/scratch/editors/mule/work/mule/lib-src' clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include -o test-distrib /data/scratch/editors/mule/work/mule/lib-src/test-distrib.c /data/scratch/editors/mule/work/mule/lib-src/test-distrib.c:27:18: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if ((num = read (fd, buf + sofar, size - sofar)) == 0) ^ /data/scratch/editors/mule/work/mule/lib-src/test-distrib.c:35:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ /data/scratch/editors/mule/work/mule/lib-src/test-distrib.c:44:7: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (2); ^ /data/scratch/editors/mule/work/mule/lib-src/test-distrib.c:44:7: note: include the header or explicitly provide a declaration for 'exit' /data/scratch/editors/mule/work/mule/lib-src/test-distrib.c:46:8: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] fd = open (argv[1], 0); ^ /data/scratch/editors/mule/work/mule/lib-src/test-distrib.c:53:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] strcmp (buf, string1) || ^ /data/scratch/editors/mule/work/mule/lib-src/test-distrib.c:53:7: note: include the header or explicitly provide a declaration for 'strcmp' /data/scratch/editors/mule/work/mule/lib-src/test-distrib.c:55:7: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncmp (buf, string2, sizeof string2 - 1)) ^ /data/scratch/editors/mule/work/mule/lib-src/test-distrib.c:55:7: note: include the header or explicitly provide a declaration for 'strncmp' /data/scratch/editors/mule/work/mule/lib-src/test-distrib.c:63:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (fd); ^ 7 warnings generated. ./test-distrib /data/scratch/editors/mule/work/mule/lib-src/testfile clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/make-path.c -o make-path clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/wakeup.c -lcrypt -o wakeup In file included from /data/scratch/editors/mule/work/mule/lib-src/wakeup.c:3: ../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ /data/scratch/editors/mule/work/mule/lib-src/wakeup.c:21:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ /data/scratch/editors/mule/work/mule/lib-src/wakeup.c:30:14: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] period = atoi (argv[1]); ^ /data/scratch/editors/mule/work/mule/lib-src/wakeup.c:35:11: warning: implicit declaration of function 'getppid' is invalid in C99 [-Wimplicit-function-declaration] if (getppid () == 1) ^ /data/scratch/editors/mule/work/mule/lib-src/wakeup.c:36:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (0); ^ /data/scratch/editors/mule/work/mule/lib-src/wakeup.c:36:2: note: include the header or explicitly provide a declaration for 'exit' /data/scratch/editors/mule/work/mule/lib-src/wakeup.c:45:4: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (60 - tp->tm_sec); ^ 10 warnings generated. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/profile.c -lcrypt -o profile In file included from /data/scratch/editors/mule/work/mule/lib-src/profile.c:33: ./../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ /data/scratch/editors/mule/work/mule/lib-src/profile.c:47:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/profile.c:57:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (1); /* call reset_watch first ! */ ^ /data/scratch/editors/mule/work/mule/lib-src/profile.c:57:5: note: include the header or explicitly provide a declaration for 'exit' /data/scratch/editors/mule/work/mule/lib-src/profile.c:65:29: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] TV2.tv_sec - TV1.tv_sec, TV2.tv_usec - TV1.tv_usec); ^~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/make-docfile.c -lcrypt -o make-docfile /data/scratch/editors/mule/work/mule/lib-src/make-docfile.c:51:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ /data/scratch/editors/mule/work/mule/lib-src/make-docfile.c:79:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] chdir (argv[i + 1]); ^ /data/scratch/editors/mule/work/mule/lib-src/make-docfile.c:84:18: warning: implicit declaration of function 'scan_file' is invalid in C99 [-Wimplicit-function-declaration] err_count += scan_file (argv[i]); /* err_count seems to be {mis,un}used */ ^ /data/scratch/editors/mule/work/mule/lib-src/make-docfile.c:93:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] scan_file (filename) ^ /data/scratch/editors/mule/work/mule/lib-src/make-docfile.c:98:12: warning: implicit declaration of function 'scan_lisp_file' is invalid in C99 [-Wimplicit-function-declaration] return scan_lisp_file (filename, READ_BINARY); ^ /data/scratch/editors/mule/work/mule/lib-src/make-docfile.c:102:12: warning: implicit declaration of function 'scan_c_file' is invalid in C99 [-Wimplicit-function-declaration] return scan_c_file (filename, READ_TEXT); ^ /data/scratch/editors/mule/work/mule/lib-src/make-docfile.c:114:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] read_c_string (infile, printflag) ^ /data/scratch/editors/mule/work/mule/lib-src/make-docfile.c:161:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] write_c_args (out, func, buf, minargs, maxargs) ^ /data/scratch/editors/mule/work/mule/lib-src/make-docfile.c:238:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/make-docfile.c:245:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] scan_c_file (filename, mode) ^ /data/scratch/editors/mule/work/mule/lib-src/make-docfile.c:492:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] scan_lisp_file (filename, mode) ^ 11 warnings generated. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/digest-doc.c -lcrypt -o digest-doc /data/scratch/editors/mule/work/mule/lib-src/digest-doc.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main () ^ 1 warning generated. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/sorted-doc.c -lcrypt -o sorted-doc /data/scratch/editors/mule/work/mule/lib-src/sorted-doc.c:39:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fatal (s1, s2) ^ /data/scratch/editors/mule/work/mule/lib-src/sorted-doc.c:42:3: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration] error (s1, s2); ^ /data/scratch/editors/mule/work/mule/lib-src/sorted-doc.c:48:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] error (s1, s2) ^ /data/scratch/editors/mule/work/mule/lib-src/sorted-doc.c:54:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/sorted-doc.c:99:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main () ^ 5 warnings generated. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/movemail.c -lcrypt -o movemail In file included from /data/scratch/editors/mule/work/mule/lib-src/movemail.c:52: ./../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ /data/scratch/editors/mule/work/mule/lib-src/movemail.c:112:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ /data/scratch/editors/mule/work/mule/lib-src/movemail.c:133:5: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration] fatal ("two arguments required"); ^ /data/scratch/editors/mule/work/mule/lib-src/movemail.c:144:5: warning: implicit declaration of function 'pfatal_with_name' is invalid in C99 [-Wimplicit-function-declaration] pfatal_with_name (outname); ^ /data/scratch/editors/mule/work/mule/lib-src/movemail.c:304:2: warning: implicit declaration of function 'pfatal_and_delete' is invalid in C99 [-Wimplicit-function-declaration] pfatal_and_delete (outname); ^ /data/scratch/editors/mule/work/mule/lib-src/movemail.c:340:9: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] wait (&status); ^~~~~~~ /usr/include/sys/wait.h:203:17: note: passing argument to parameter here pid_t wait(int *); ^ /data/scratch/editors/mule/work/mule/lib-src/movemail.c:354:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fatal (s1, s2) ^ /data/scratch/editors/mule/work/mule/lib-src/movemail.c:359:3: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration] error (s1, s2); ^ /data/scratch/editors/mule/work/mule/lib-src/movemail.c:365:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] error (s1, s2, s3) ^ /data/scratch/editors/mule/work/mule/lib-src/movemail.c:371:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/movemail.c:373:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pfatal_with_name (name) ^ /data/scratch/editors/mule/work/mule/lib-src/movemail.c:381:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/movemail.c:383:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pfatal_and_delete (name) ^ /data/scratch/editors/mule/work/mule/lib-src/movemail.c:392:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 18 warnings generated. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c -lcrypt -o cvtmail /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:38:7: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] char *realloc (); ^ /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:38:7: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:43:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:62:26: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] md = (char *) xmalloc (strlen (hd) + 10); ^ /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:62:26: note: include the header or explicitly provide a declaration for 'strlen' /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:63:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy (md, hd); ^ /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:63:3: note: include the header or explicitly provide a declaration for 'strcpy' /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:64:3: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat (md, "/Messages"); ^ /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:64:3: note: include the header or explicitly provide a declaration for 'strcat' /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:83:3: warning: implicit declaration of function 'skip_to_lf' is invalid in C99 [-Wimplicit-function-declaration] skip_to_lf (mddf); ^ /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:106:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] skip_to_lf (stream) ^ /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:112:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:120:5: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration] fatal ("virtual memory exhausted", 0); ^ /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:137:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fatal (s1, s2) ^ /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:140:3: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration] error (s1, s2); ^ /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:141:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (1); ^ /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:141:3: note: include the header or explicitly provide a declaration for 'exit' /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:144:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] error (s1, s2) ^ /data/scratch/editors/mule/work/mule/lib-src/cvtmail.c:150:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 14 warnings generated. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/fakemail.c -lcrypt -o fakemail In file included from /data/scratch/editors/mule/work/mule/lib-src/fakemail.c:22: ./../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ /data/scratch/editors/mule/work/mule/lib-src/fakemail.c:26:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main () ^ 6 warnings generated. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/yow.c -lcrypt -o yow /data/scratch/editors/mule/work/mule/lib-src/yow.c:34:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ /data/scratch/editors/mule/work/mule/lib-src/yow.c:42:20: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (argc > 2 && !strcmp (argv[1], "-f")) ^ /data/scratch/editors/mule/work/mule/lib-src/yow.c:42:20: note: include the header or explicitly provide a declaration for 'strcmp' /data/scratch/editors/mule/work/mule/lib-src/yow.c:43:5: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy (file, argv[2]); ^ /data/scratch/editors/mule/work/mule/lib-src/yow.c:43:5: note: include the header or explicitly provide a declaration for 'strcpy' /data/scratch/editors/mule/work/mule/lib-src/yow.c:53:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ /data/scratch/editors/mule/work/mule/lib-src/yow.c:53:5: note: include the header or explicitly provide a declaration for 'exit' /data/scratch/editors/mule/work/mule/lib-src/yow.c:57:3: warning: implicit declaration of function 'srand' is invalid in C99 [-Wimplicit-function-declaration] srand((int) (getpid() + time(NULL))); ^ /data/scratch/editors/mule/work/mule/lib-src/yow.c:57:16: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] srand((int) (getpid() + time(NULL))); ^ /data/scratch/editors/mule/work/mule/lib-src/yow.c:108:20: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] char *malloc(), *realloc(); ^ /data/scratch/editors/mule/work/mule/lib-src/yow.c:108:20: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' /data/scratch/editors/mule/work/mule/lib-src/yow.c:110:12: warning: implicit declaration of function 'rand' is invalid in C99 [-Wimplicit-function-declaration] offset = rand() % len + header_len; ^ 8 warnings generated. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/emacsserver.c -lcrypt -o emacsserver In file included from /data/scratch/editors/mule/work/mule/lib-src/emacsserver.c:28: ./../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ /data/scratch/editors/mule/work/mule/lib-src/emacsserver.c:61:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main () ^ /data/scratch/editors/mule/work/mule/lib-src/emacsserver.c:92:3: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration] gethostname (system_name, sizeof (system_name)); ^ /data/scratch/editors/mule/work/mule/lib-src/emacsserver.c:93:47: warning: implicit declaration of function 'geteuid' is invalid in C99 [-Wimplicit-function-declaration] sprintf (server.sun_path, "/tmp/esrv%d-%s", geteuid (), system_name); ^ /data/scratch/editors/mule/work/mule/lib-src/emacsserver.c:95:7: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] if (unlink (server.sun_path) == -1 && errno != ENOENT) ^ /data/scratch/editors/mule/work/mule/lib-src/emacsserver.c:118:3: warning: implicit declaration of function 'chmod' is invalid in C99 [-Wimplicit-function-declaration] chmod (server.sun_path, 0600); ^ /data/scratch/editors/mule/work/mule/lib-src/emacsserver.c:133:11: warning: implicit declaration of function 'select' is invalid in C99 [-Wimplicit-function-declaration] if (select (s + 1, (fd_set *)&rmask, 0, 0, 0) < 0) ^ /data/scratch/editors/mule/work/mule/lib-src/emacsserver.c:140:5: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type '__socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] (size_t *) &fromlen); ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/socket.h:646:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ /data/scratch/editors/mule/work/mule/lib-src/emacsserver.c:163:8: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write (infd, "Too many clients.\n", 18); ^ /data/scratch/editors/mule/work/mule/lib-src/emacsserver.c:164:8: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (infd); /* Prevent descriptor leak.. */ ^ 14 warnings generated. /var/tmp/emacsserver-14eb91.o: In function `main': /data/scratch/editors/mule/work/mule/lib-src/emacsserver.c:133: warning: warning: reference to compatibility select(); include to generate correct reference clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/hexl.c -lcrypt -o hexl /data/scratch/editors/mule/work/mule/lib-src/hexl.c:19:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ /data/scratch/editors/mule/work/mule/lib-src/hexl.c:48:12: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (!strcmp (*argv, "--")) ^ /data/scratch/editors/mule/work/mule/lib-src/hexl.c:48:12: note: include the header or explicitly provide a declaration for 'strcmp' /data/scratch/editors/mule/work/mule/lib-src/hexl.c:108:4: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage (); ^ /data/scratch/editors/mule/work/mule/lib-src/hexl.c:201:22: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf ("%08x: ", address); ~~~~ ^~~~~~~ %08lx /data/scratch/editors/mule/work/mule/lib-src/hexl.c:234:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] usage () ^ /data/scratch/editors/mule/work/mule/lib-src/hexl.c:237:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (1); ^ /data/scratch/editors/mule/work/mule/lib-src/hexl.c:237:3: note: include the header or explicitly provide a declaration for 'exit' 6 warnings generated. yacc /data/scratch/editors/mule/work/mule/lib-src/getdate.y yacc: 10 shift/reduce conflicts. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include -c y.tab.c In file included from /data/scratch/editors/mule/work/mule/lib-src/getdate.y:18: ../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ /data/scratch/editors/mule/work/mule/lib-src/getdate.y:597:2: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Wimplicit-function-declaration] abort (); ^ /data/scratch/editors/mule/work/mule/lib-src/getdate.y:597:2: note: include the header or explicitly provide a declaration for 'abort' 6 warnings generated. mv y.tab.o getdate.o clang -c -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/timer.c In file included from /data/scratch/editors/mule/work/mule/lib-src/timer.c:21: ./../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ /data/scratch/editors/mule/work/mule/lib-src/timer.c:131:43: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] ep->token = (char *) malloc ((unsigned) strlen (p) + 1); ^ /data/scratch/editors/mule/work/mule/lib-src/timer.c:131:43: note: include the header or explicitly provide a declaration for 'strlen' /data/scratch/editors/mule/work/mule/lib-src/timer.c:185:5: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] alarm (waitfor); ^ /data/scratch/editors/mule/work/mule/lib-src/timer.c:236:12: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] nread = read (fileno (stdin), &c, 1); ^ /data/scratch/editors/mule/work/mule/lib-src/timer.c:305:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ep - events, ep->reply_at, ep->token); ^~~~~~~~~~~ 9 warnings generated. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include getdate.o timer.o -lcrypt -o timer clang -c -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/getopt.c In file included from /data/scratch/editors/mule/work/mule/lib-src/getopt.c:34: ../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ /data/scratch/editors/mule/work/mule/lib-src/getopt.c:415:30: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (optind != argc && !strcmp (argv[optind], "--")) ^ /data/scratch/editors/mule/work/mule/lib-src/getopt.c:415:30: note: include the header or explicitly provide a declaration for 'strcmp' /data/scratch/editors/mule/work/mule/lib-src/getopt.c:491:7: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (!strncmp (p->name, nextchar, nameend - nextchar)) ^ /data/scratch/editors/mule/work/mule/lib-src/getopt.c:491:7: note: include the header or explicitly provide a declaration for 'strncmp' /data/scratch/editors/mule/work/mule/lib-src/getopt.c:493:32: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] if (nameend - nextchar == strlen (p->name)) ^ /data/scratch/editors/mule/work/mule/lib-src/getopt.c:493:32: note: include the header or explicitly provide a declaration for 'strlen' 8 warnings generated. clang -c -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/getopt1.c In file included from /data/scratch/editors/mule/work/mule/lib-src/getopt1.c:24: ../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ 5 warnings generated. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include -DVERSION="\"19.28\"" /data/scratch/editors/mule/work/mule/lib-src/etags.c getopt.o getopt1.o -lcrypt -o etags In file included from /data/scratch/editors/mule/work/mule/lib-src/etags.c:39: ./../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:395:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:395:1: note: change return type to 'int' void ^~~~ int /data/scratch/editors/mule/work/mule/lib-src/etags.c:769:7: warning: implicit declaration of function 'string_numeric_p' is invalid in C99 [-Wimplicit-function-declaration] && string_numeric_p (cp1)) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1052:17: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] node->lno, node->cno); ^~~~~~~~~ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1058:17: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] node->lno, node->cno); ^~~~~~~~~ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1447:15: warning: enumeration values 'st_C_define' and 'st_C_typedef' not handled in switch [-Wswitch] switch (toktype) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1460:15: warning: enumeration values 'st_none', 'st_C_define', and 'st_C_typedef' not handled in switch [-Wswitch] switch (toktype) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1435:11: warning: enumeration values 'tinbody' and 'tignore' not handled in switch [-Wswitch] switch (typdef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1485:11: warning: 4 enumeration values not handled in switch: 'st_none', 'st_C_define', 'st_C_typedef'... [-Wswitch] switch (toktype) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1833:13: warning: enumeration values 'fnone', 'finlist', and 'fignore' not handled in switch [-Wswitch] switch (funcdef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1856:9: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] SAVE_TOKEN; ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1580:48: note: expanded from macro 'SAVE_TOKEN' #define SAVE_TOKEN (savetok = tok, savetok.p = (char *) tokoff, \ ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1830:16: warning: enumeration values 'ddefineseen' and 'dignorerest' not handled in switch [-Wswitch] switch (definedef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1885:14: warning: 4 enumeration values not handled in switch: 'fnone', 'finlist', 'flistseen'... [-Wswitch] switch (funcdef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1941:12: warning: 4 enumeration values not handled in switch: 'fnone', 'fstartlist', 'finlist'... [-Wswitch] switch (funcdef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1957:16: warning: 4 enumeration values not handled in switch: 'fnone', 'ftagseen', 'flistseen'... [-Wswitch] switch (funcdef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1978:12: warning: enumeration values 'snone' and 'sinbody' not handled in switch [-Wswitch] switch (structdef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1990:12: warning: enumeration values 'ftagseen', 'fstartlist', and 'finlist' not handled in switch [-Wswitch] switch (funcdef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:2700:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dbp = etags_strchr (dbp, TEX_esc)) /* Look at each esc in line */ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/mule/work/mule/lib-src/etags.c:2700:18: note: place parentheses around the assignment to silence this warning while (dbp = etags_strchr (dbp, TEX_esc)) /* Look at each esc in line */ ^ ( ) /data/scratch/editors/mule/work/mule/lib-src/etags.c:2700:18: note: use '==' to turn this assignment into an equality comparison while (dbp = etags_strchr (dbp, TEX_esc)) /* Look at each esc in line */ ^ == /data/scratch/editors/mule/work/mule/lib-src/etags.c:2943:11: warning: implicit declaration of function 'substr' is invalid in C99 [-Wimplicit-function-declaration] while (!substr ("*/", plb->buffer)) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:2958:9: warning: implicit declaration of function 'prestr' is invalid in C99 [-Wimplicit-function-declaration] if (prestr (sub, s)) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:3315:38: warning: too few arguments in call to 'fatal' fatal ("virtual memory exhausted"); ~~~~~ ^ 25 warnings generated. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include -DCTAGS -DVERSION="\"19.28\"" /data/scratch/editors/mule/work/mule/lib-src/etags.c getopt.o getopt1.o -lcrypt -o ctags In file included from /data/scratch/editors/mule/work/mule/lib-src/etags.c:39: ./../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:395:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:395:1: note: change return type to 'int' void ^~~~ int /data/scratch/editors/mule/work/mule/lib-src/etags.c:769:7: warning: implicit declaration of function 'string_numeric_p' is invalid in C99 [-Wimplicit-function-declaration] && string_numeric_p (cp1)) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1052:17: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] node->lno, node->cno); ^~~~~~~~~ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1058:17: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] node->lno, node->cno); ^~~~~~~~~ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1447:15: warning: enumeration values 'st_C_define' and 'st_C_typedef' not handled in switch [-Wswitch] switch (toktype) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1460:15: warning: enumeration values 'st_none', 'st_C_define', and 'st_C_typedef' not handled in switch [-Wswitch] switch (toktype) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1435:11: warning: enumeration values 'tinbody' and 'tignore' not handled in switch [-Wswitch] switch (typdef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1485:11: warning: 4 enumeration values not handled in switch: 'st_none', 'st_C_define', 'st_C_typedef'... [-Wswitch] switch (toktype) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1833:13: warning: enumeration values 'fnone', 'finlist', and 'fignore' not handled in switch [-Wswitch] switch (funcdef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1856:9: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] SAVE_TOKEN; ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1580:48: note: expanded from macro 'SAVE_TOKEN' #define SAVE_TOKEN (savetok = tok, savetok.p = (char *) tokoff, \ ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1830:16: warning: enumeration values 'ddefineseen' and 'dignorerest' not handled in switch [-Wswitch] switch (definedef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1885:14: warning: 4 enumeration values not handled in switch: 'fnone', 'finlist', 'flistseen'... [-Wswitch] switch (funcdef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1941:12: warning: 4 enumeration values not handled in switch: 'fnone', 'fstartlist', 'finlist'... [-Wswitch] switch (funcdef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1957:16: warning: 4 enumeration values not handled in switch: 'fnone', 'ftagseen', 'flistseen'... [-Wswitch] switch (funcdef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1978:12: warning: enumeration values 'snone' and 'sinbody' not handled in switch [-Wswitch] switch (structdef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:1990:12: warning: enumeration values 'ftagseen', 'fstartlist', and 'finlist' not handled in switch [-Wswitch] switch (funcdef) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:2700:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dbp = etags_strchr (dbp, TEX_esc)) /* Look at each esc in line */ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/mule/work/mule/lib-src/etags.c:2700:18: note: place parentheses around the assignment to silence this warning while (dbp = etags_strchr (dbp, TEX_esc)) /* Look at each esc in line */ ^ ( ) /data/scratch/editors/mule/work/mule/lib-src/etags.c:2700:18: note: use '==' to turn this assignment into an equality comparison while (dbp = etags_strchr (dbp, TEX_esc)) /* Look at each esc in line */ ^ == /data/scratch/editors/mule/work/mule/lib-src/etags.c:2943:11: warning: implicit declaration of function 'substr' is invalid in C99 [-Wimplicit-function-declaration] while (!substr ("*/", plb->buffer)) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:2958:9: warning: implicit declaration of function 'prestr' is invalid in C99 [-Wimplicit-function-declaration] if (prestr (sub, s)) ^ /data/scratch/editors/mule/work/mule/lib-src/etags.c:3315:38: warning: too few arguments in call to 'fatal' fatal ("virtual memory exhausted"); ~~~~~ ^ 25 warnings generated. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/emacsclient.c -lcrypt -o emacsclient In file included from /data/scratch/editors/mule/work/mule/lib-src/emacsclient.c:22: ./../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ /data/scratch/editors/mule/work/mule/lib-src/emacsclient.c:57:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ /data/scratch/editors/mule/work/mule/lib-src/emacsclient.c:74:7: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (1); ^ /data/scratch/editors/mule/work/mule/lib-src/emacsclient.c:74:7: note: include the header or explicitly provide a declaration for 'exit' /data/scratch/editors/mule/work/mule/lib-src/emacsclient.c:92:5: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration] gethostname (system_name, sizeof (system_name)); ^ /data/scratch/editors/mule/work/mule/lib-src/emacsclient.c:120:48: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] if (connect (s, (struct sockaddr *) &server, strlen (server.sun_path) + 2) ^ /data/scratch/editors/mule/work/mule/lib-src/emacsclient.c:120:48: note: include the header or explicitly provide a declaration for 'strlen' /data/scratch/editors/mule/work/mule/lib-src/emacsclient.c:166:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (str = fgets (string, BUFSIZ, out)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/mule/work/mule/lib-src/emacsclient.c:166:14: note: place parentheses around the assignment to silence this warning while (str = fgets (string, BUFSIZ, out)) ^ ( ) /data/scratch/editors/mule/work/mule/lib-src/emacsclient.c:166:14: note: use '==' to turn this assignment into an equality comparison while (str = fgets (string, BUFSIZ, out)) ^ == 10 warnings generated. /var/tmp/emacsclient-074df3.o: In function `main': /data/scratch/editors/mule/work/mule/lib-src/emacsclient.c:134: warning: warning: getwd() possibly used unsafely, consider using getcwd() clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/b2m.c -lcrypt -o b2m In file included from /data/scratch/editors/mule/work/mule/lib-src/b2m.c:28: ./../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ /data/scratch/editors/mule/work/mule/lib-src/b2m.c:44:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ /data/scratch/editors/mule/work/mule/lib-src/b2m.c:53:20: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (argc >= 2 && strcmp (argv[1], "--help") == 0) ^ /data/scratch/editors/mule/work/mule/lib-src/b2m.c:53:20: note: include the header or explicitly provide a declaration for 'strcmp' /data/scratch/editors/mule/work/mule/lib-src/b2m.c:56:7: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (0); ^ /data/scratch/editors/mule/work/mule/lib-src/b2m.c:56:7: note: include the header or explicitly provide a declaration for 'exit' /data/scratch/editors/mule/work/mule/lib-src/b2m.c:64:11: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (strncmp (data, "BABYL OPTIONS:", 14)) ^ /data/scratch/editors/mule/work/mule/lib-src/b2m.c:64:11: note: include the header or explicitly provide a declaration for 'strncmp' /data/scratch/editors/mule/work/mule/lib-src/b2m.c:99:4: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy (labels, "X-Babyl-Labels: "); ^ /data/scratch/editors/mule/work/mule/lib-src/b2m.c:99:4: note: include the header or explicitly provide a declaration for 'strcpy' /data/scratch/editors/mule/work/mule/lib-src/b2m.c:101:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = strtok (NULL, " ,\r\n\t")) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/mule/work/mule/lib-src/b2m.c:101:13: note: place parentheses around the assignment to silence this warning while (p = strtok (NULL, " ,\r\n\t")) ^ ( ) /data/scratch/editors/mule/work/mule/lib-src/b2m.c:101:13: note: use '==' to turn this assignment into an equality comparison while (p = strtok (NULL, " ,\r\n\t")) ^ == /data/scratch/editors/mule/work/mule/lib-src/b2m.c:103:8: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat (labels, p); ^ /data/scratch/editors/mule/work/mule/lib-src/b2m.c:103:8: note: include the header or explicitly provide a declaration for 'strcat' /data/scratch/editors/mule/work/mule/lib-src/b2m.c:107:11: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] labels[strlen (labels) - 2] = '\0'; ^ /data/scratch/editors/mule/work/mule/lib-src/b2m.c:107:11: note: include the header or explicitly provide a declaration for 'strlen' 13 warnings generated. /var/tmp/b2m-bfd5fd.o: In function `main': /data/scratch/editors/mule/work/mule/lib-src/b2m.c:62: warning: warning: this program uses gets(), which is unsafe. clang -c -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/bdf.c In file included from /data/scratch/editors/mule/work/mule/lib-src/bdf.c:58: In file included from ./mulelib.h:4: In file included from ./fakelisp.h:4: ../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from /data/scratch/editors/mule/work/mule/lib-src/bdf.c:58: In file included from ./mulelib.h:6: ./../src/coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ /data/scratch/editors/mule/work/mule/lib-src/bdf.c:76:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bdf_reset_font(fontp) ^ /data/scratch/editors/mule/work/mule/lib-src/bdf.c:103:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/bdf.c:105:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bdf_init_font() ^ /data/scratch/editors/mule/work/mule/lib-src/bdf.c:119:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/bdf.c:121:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bdf_init_glyph(glyphp) ^ /data/scratch/editors/mule/work/mule/lib-src/bdf.c:126:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/bdf.c:128:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bdf_initialize(bp, _emacs) ^ /data/scratch/editors/mule/work/mule/lib-src/bdf.c:139:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/bdf.c:141:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bdf_proceed_line(fp, str) ^ /data/scratch/editors/mule/work/mule/lib-src/bdf.c:153:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bdf_proceed_line2(fp, str, stop) ^ /data/scratch/editors/mule/work/mule/lib-src/bdf.c:166:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bdf_load_font(lc) ^ /data/scratch/editors/mule/work/mule/lib-src/bdf.c:176:7: warning: implicit declaration of function 'fatal1' is invalid in C99 [-Wimplicit-function-declaration] fatal1("Font for ASCII not found.\n"); ^ /data/scratch/editors/mule/work/mule/lib-src/bdf.c:177:5: warning: implicit declaration of function 'warning2' is invalid in C99 [-Wimplicit-function-declaration] warning2("Font(%d:%s) not found. Substituted by ASCII font.\n", ^ /data/scratch/editors/mule/work/mule/lib-src/bdf.c:234:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bdf_load_glyph(lc, idx, glyph) ^ /data/scratch/editors/mule/work/mule/lib-src/bdf.c:310:3: warning: implicit declaration of function 'warning3' is invalid in C99 [-Wimplicit-function-declaration] warning3("Glyph of char(%d) for font(%d:%s) not found.\n", ^ 21 warnings generated. clang -c -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/m2ps.c In file included from /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:51: In file included from ./mulelib.h:4: In file included from ./fakelisp.h:4: ../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:51: In file included from ./mulelib.h:6: ./../src/coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:127:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_font(lc) ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:131:9: warning: implicit declaration of function 'bdf_load_font' is invalid in C99 [-Wimplicit-function-declaration] if (bdf_load_font(lc)) ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:132:7: warning: implicit declaration of function 'ps_newfont' is invalid in C99 [-Wimplicit-function-declaration] ps_newfont(lc); ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:138:5: warning: implicit declaration of function 'ps_setfont' is invalid in C99 [-Wimplicit-function-declaration] ps_setfont(lc); ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:141:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:143:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] renew_font(lc) ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:147:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:151:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_glyph1(lc, c) ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:155:9: warning: implicit declaration of function 'bdf_load_glyph' is invalid in C99 [-Wimplicit-function-declaration] if (bdf_load_glyph(lc, c, &glyph)) { ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:156:7: warning: implicit declaration of function 'ps_newglyph' is invalid in C99 [-Wimplicit-function-declaration] ps_newglyph(c, &glyph); ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:164:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] find_encoding(fontp, lc, c) ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:192:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_glyph2(lc, c) ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:215:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] swap_buf(buf, from, to) ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:230:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:232:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] textmode() ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:239:3: warning: implicit declaration of function 'ps_bot' is invalid in C99 [-Wimplicit-function-declaration] ps_bot(); ps_bop(); ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:239:13: warning: implicit declaration of function 'ps_bop' is invalid in C99 [-Wimplicit-function-declaration] ps_bot(); ps_bop(); ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:242:17: warning: implicit declaration of function 'get_line' is invalid in C99 [-Wimplicit-function-declaration] while ((len = get_line(line, 1024, stdin)) >= 0) { /* 93.6.4 by K.Shibata */ ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:298:4: warning: implicit declaration of function 'ps_eop' is invalid in C99 [-Wimplicit-function-declaration] ps_eop(), ps_bop(); ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:301:17: warning: implicit declaration of function 'control_char' is invalid in C99 [-Wimplicit-function-declaration] if (c < ' ') control_char(c); ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:302:9: warning: implicit declaration of function 'invalid_char' is invalid in C99 [-Wimplicit-function-declaration] else invalid_char(c); ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:353:6: warning: implicit declaration of function 'ccl_driver' is invalid in C99 [-Wimplicit-function-declaration] ccl_driver (ccl, NULL, NULL, 0, 0); ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:406:3: warning: implicit declaration of function 'ps_eot' is invalid in C99 [-Wimplicit-function-declaration] ps_eot(); ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:407:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:409:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] control_char(c) ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:418:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:420:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] invalid_char(c) ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:435:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:437:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:455:13: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] dpi = atoi(argv[i + 1]); ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:488:7: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(0); ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:488:7: note: include the header or explicitly provide a declaration for 'exit' /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:495:3: warning: implicit declaration of function 'mulelib_initialize' is invalid in C99 [-Wimplicit-function-declaration] mulelib_initialize(argc, argv, charsets, NULL); ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:496:3: warning: implicit declaration of function 'bdf_initialize' is invalid in C99 [-Wimplicit-function-declaration] bdf_initialize(bdf_path, 0); ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:505:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ps_bot() ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:511:5: warning: implicit declaration of function 'fatal1' is invalid in C99 [-Wimplicit-function-declaration] fatal1("PostScript header file not found."); ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:522:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:524:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ps_eot() ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:527:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:532:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ps_newfont(lc) ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:543:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:545:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ps_setfont(lc) ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:549:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:551:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ps_newglyph(encoding, glyph) ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:568:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:570:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ps_bop() ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:582:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:584:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ps_eop() ^ /data/scratch/editors/mule/work/mule/lib-src/m2ps.c:587:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 54 warnings generated. clang -c -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/fakelisp.c In file included from /data/scratch/editors/mule/work/mule/lib-src/fakelisp.c:2: In file included from ./fakelisp.h:4: ../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ 5 warnings generated. clang -c -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/../src/charset.c In file included from /data/scratch/editors/mule/work/mule/lib-src/../src/charset.c:86: In file included from ./mulelib.h:4: In file included from ./fakelisp.h:4: ../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from /data/scratch/editors/mule/work/mule/lib-src/../src/charset.c:86: In file included from ./mulelib.h:6: ./../src/coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ /data/scratch/editors/mule/work/mule/lib-src/../src/charset.c:125:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mchar_to_string (c, str) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/charset.c:151:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] string_to_mchar (str, size) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/charset.c:160:13: warning: implicit declaration of function 'search_cmpchar' is invalid in C99 [-Wimplicit-function-declaration] return (search_cmpchar(str, i0) | 0x7C000); ^ /data/scratch/editors/mule/work/mule/lib-src/../src/charset.c:198:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_mc_table(lc, bytes, clm, type, graphic, final, direction, doc, reg) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/charset.c:221:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/../src/charset.c:704:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hash_cmpchar(str) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/charset.c:714:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] search_cmpchar(str, len) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/charset.c:788:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_charset_once() ^ /data/scratch/editors/mule/work/mule/lib-src/../src/charset.c:832:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 15 warnings generated. clang -c -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c In file included from /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:135: In file included from ./mulelib.h:4: In file included from ./fakelisp.h:4: ../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:135: In file included from ./mulelib.h:6: ./../src/coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:238:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] code_detect_iso2022(buf, endp) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:292:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] code_detect_internal(buf, endp) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:312:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] code_detect_sjis(buf, endp) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:321:19: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c >= 0x80 && c < 0xA0 || c >= 0xE0) { ~~~~~~~~~~^~~~~~~~~~~ ~~ /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:321:19: note: place parentheses around the '&&' expression to silence this warning if (c >= 0x80 && c < 0xA0 || c >= 0xE0) { ^ ( ) /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:330:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] code_detect_big5(buf, endp) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:352:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] code_detect(buf, n) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:395:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] eol_detect(buf, n) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:617:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] i2g(src, dst, n, mccode) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:724:25: warning: '&&' within '||' [-Wlogical-op-parentheses] if (cntl & CC_R2L && !char_direction[lc] ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:724:25: note: place parentheses around the '&&' expression to silence this warning if (cntl & CC_R2L && !char_direction[lc] ^ ( ) /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:725:24: warning: '&&' within '||' [-Wlogical-op-parentheses] || !(cntl & CC_R2L) && char_direction[lc]) ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:725:24: note: place parentheses around the '&&' expression to silence this warning || !(cntl & CC_R2L) && char_direction[lc]) ^ ( ) /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:802:7: warning: implicit declaration of function 'encode_code' is invalid in C99 [-Wimplicit-function-declaration] encode_code(*found, mccode); ^ /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:835:11: warning: implicit declaration of function 'ccl_driver' is invalid in C99 [-Wimplicit-function-declaration] len = ccl_driver(&CODE_CCL_ENCODE (mccode), src, dst, n, ^ /data/scratch/editors/mule/work/mule/lib-src/../src/coding.c:1055:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] g2i(src, dst, n, mccode) ^ 19 warnings generated. clang -c -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/../src/ccl.c In file included from /data/scratch/editors/mule/work/mule/lib-src/../src/ccl.c:38: In file included from ./mulelib.h:4: In file included from ./fakelisp.h:4: ../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from /data/scratch/editors/mule/work/mule/lib-src/../src/ccl.c:38: In file included from ./mulelib.h:6: ./../src/coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ /data/scratch/editors/mule/work/mule/lib-src/../src/ccl.c:155:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ccl_driver(ccl, src, dst, n, end_flag) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/ccl.c:200:7: warning: implicit declaration of function 'mchar_to_string' is invalid in C99 [-Wimplicit-function-declaration] CCL_WRITE_CHAR (reg[rrr]); ^ /data/scratch/editors/mule/work/mule/lib-src/../src/ccl.c:124:10: note: expanded from macro 'CCL_WRITE_CHAR' d += CHARtoSTR (ch, d);\ ^ ./../src/charset.h:221:34: note: expanded from macro 'CHARtoSTR' *(s) = (unsigned int)(c), 1 : mchar_to_string(c, s)) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/ccl.c:382:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(d, "CCL: Invalid command (%x).\n", op); ^ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/ccl.c:385:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(d, "CCL: Conversion buffer too short.\n"); ^ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/ccl.c:388:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(d, "CCL: Unknown error type (%d).\n", ccl->status); ^ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/ccl.c:390:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] d += strlen(d); ^ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ /data/scratch/editors/mule/work/mule/lib-src/../src/ccl.c:397:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_ccl_program (ccl, val) ^ /data/scratch/editors/mule/work/mule/lib-src/../src/ccl.c:413:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 14 warnings generated. clang -c -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/mulelib.c In file included from /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:3: In file included from ./mulelib.h:4: In file included from ./fakelisp.h:4: ../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:3: In file included from ./mulelib.h:6: ./../src/coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:73:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:75:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_line(buf, size, fp) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:94:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] warning1(format, arg1) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:99:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:101:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] warning2(format, arg1, arg2) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:106:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:108:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] warning3(format, arg1, arg2, arg3) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:113:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:115:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fatal1(arg) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:130:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_charsets_param(line) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:172:3: warning: implicit declaration of function 'update_mc_table' is invalid in C99 [-Wimplicit-function-declaration] update_mc_table(lc, bytes, clm, type, graphic, final, direction, doc); ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:193:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_ccl_program_param(line) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:211:3: warning: implicit declaration of function 'set_ccl_program' is invalid in C99 [-Wimplicit-function-declaration] set_ccl_program(x_ccl_programs[lc], ccl); ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:215:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] charsets_initialize(charsets) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:229:3: warning: implicit declaration of function 'init_charset_once' is invalid in C99 [-Wimplicit-function-declaration] init_charset_once(); ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:257:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_coding_system_param(line, cs) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:357:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_coding_category(line, priority) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:367:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(p0, XSYMBOL (code_category[i])->name, len)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fakelisp.h:66:20: note: expanded from macro 'XSYMBOL' #define XSYMBOL(x) ((struct Lisp_Symbol *)Lisp_Object_Table[(x)&VALMASK]) ^ /usr/include/string.h:63:40: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:383:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] codings_initialize(codings) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:419:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] cs->name = XSYMBOL (coding_system_table[i].eol_lf)->name; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:427:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] cs->name = XSYMBOL (coding_system_table[i].eol_crlf)->name; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:435:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] cs->name = XSYMBOL (coding_system_table[i].eol_cr)->name; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:455:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] find_coding(str) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:480:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] encode_code(code, mccode) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:486:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((i = find_coding(XSYMBOL (code)->name)) >= 0) ^~~~~~~~~~~~~~~~~~~~ ./fakelisp.h:66:20: note: expanded from macro 'XSYMBOL' #define XSYMBOL(x) ((struct Lisp_Symbol *)Lisp_Object_Table[(x)&VALMASK]) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:490:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:492:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_coding_system(inname, incode, outname, outcode) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:517:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] code_conversion(incode, inbuf, insize, outcode, outbuf, outsize) ^ /data/scratch/editors/mule/work/mule/lib-src/mulelib.c:629:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mulelib_initialize(argc, argv, charsets, codings) ^ 35 warnings generated. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include bdf.o m2ps.o fakelisp.o charset.o coding.o ccl.o mulelib.o -lcrypt -o m2ps clang -c -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/lib-src/coco.c In file included from /data/scratch/editors/mule/work/mule/lib-src/coco.c:3: In file included from ./mulelib.h:4: In file included from ./fakelisp.h:4: ../src/config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ../src/config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ../src/config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ../src/config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ../src/config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from /data/scratch/editors/mule/work/mule/lib-src/coco.c:3: In file included from ./mulelib.h:6: ./../src/coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ /data/scratch/editors/mule/work/mule/lib-src/coco.c:17:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] coco_list(stream) ^ /data/scratch/editors/mule/work/mule/lib-src/coco.c:62:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ /data/scratch/editors/mule/work/mule/lib-src/coco.c:72:7: warning: implicit declaration of function 'mulelib_initialize' is invalid in C99 [-Wimplicit-function-declaration] if (mulelib_initialize(argc, argv, NULL, NULL) < 0) { ^ /data/scratch/editors/mule/work/mule/lib-src/coco.c:106:7: warning: implicit declaration of function 'set_coding_system' is invalid in C99 [-Wimplicit-function-declaration] if (set_coding_system(inname, &incode, outname, &outcode) < 0) { ^ /data/scratch/editors/mule/work/mule/lib-src/coco.c:111:15: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] while ((n = read(0, inbuf, sizeof inbuf)) > 0) { ^ /data/scratch/editors/mule/work/mule/lib-src/coco.c:113:14: warning: implicit declaration of function 'code_conversion' is invalid in C99 [-Wimplicit-function-declaration] if ((n = code_conversion(&incode, inbuf, n, &outcode, outbuf, ^ /data/scratch/editors/mule/work/mule/lib-src/coco.c:115:19: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if (!query) write(1, outbuf, OUT_BUF_SIZE); ^ 13 warnings generated. clang -Demacs -DHAVE_CONFIG_H -I. -I../src -I/data/scratch/editors/mule/work/mule/lib-src -I/data/scratch/editors/mule/work/mule/lib-src/../src -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include coco.o fakelisp.o charset.o coding.o ccl.o mulelib.o -lcrypt -o coco gmake[1]: Leaving directory '/data/scratch/editors/mule/work/mule/lib-src' cd src; /usr/pkg/bin/gmake all \ CC='clang' CFLAGS='-O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include' CPPFLAGS='-I/usr/pkg/include' \ LDFLAGS='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib' MAKE='/usr/pkg/bin/gmake' gmake[1]: Entering directory '/data/scratch/editors/mule/work/mule/src' cd ../lwlib/; /usr/pkg/bin/gmake -w CC='clang' CFLAGS='-O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include' MAKE='/usr/pkg/bin/gmake' "C_SWITCH_X_SITE=" "C_SWITCH_X_MACHINE=" "C_SWITCH_X_SYSTEM=" "C_SWITCH_SITE=" "C_SWITCH_MACHINE=" "C_SWITCH_SYSTEM=" gmake[2]: Entering directory '/data/scratch/editors/mule/work/mule/lwlib' clang -c -DUSE_LUCID -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include -DEMACS_BITMAP_FILES -Demacs /data/scratch/editors/mule/work/mule/lwlib/lwlib.c /data/scratch/editors/mule/work/mule/lwlib/lwlib.c:75:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lwlib_memset (address, value, length) ^ /data/scratch/editors/mule/work/mule/lwlib/lwlib.c:84:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lwlib/lwlib.c:86:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lwlib_bcopy (from, to, length) ^ /data/scratch/editors/mule/work/mule/lwlib/lwlib.c:95:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /data/scratch/editors/mule/work/mule/lwlib/lwlib.c:135:10: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if (s) free (s); ^ /data/scratch/editors/mule/work/mule/lwlib/lwlib.c:156:17: warning: incompatible pointer types passing 'widget_value *' (aka 'struct _widget_value *') to parameter of type 'char *' [-Wincompatible-pointer-types] lwlib_memset (wv, 0, sizeof (widget_value)); ^~ /data/scratch/editors/mule/work/mule/lwlib/lwlib.c:168:5: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Wimplicit-function-declaration] abort (); ^ /data/scratch/editors/mule/work/mule/lwlib/lwlib.c:168:5: note: include the header or explicitly provide a declaration for 'abort' /data/scratch/editors/mule/work/mule/lwlib/lwlib.c:1277:5: warning: missing sentinel in function call [-Wsentinel] 0); ^ , NULL /data/scratch/editors/mule/work/.buildlink/include/X11/Intrinsic.h:1603:13: note: function has been explicitly marked sentinel here extern void XtVaGetValues( ^ /data/scratch/editors/mule/work/mule/lwlib/lwlib.c:1281:5: warning: missing sentinel in function call [-Wsentinel] 0); ^ , NULL /data/scratch/editors/mule/work/.buildlink/include/X11/Intrinsic.h:1592:13: note: function has been explicitly marked sentinel here extern void XtVaSetValues( ^ 9 warnings generated. clang -c -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include -DEMACS_BITMAP_FILES -Demacs lwlib-Xlw.c clang -c -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include -DEMACS_BITMAP_FILES -Demacs xlwmenu.c xlwmenu.c:335:5: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Wimplicit-function-declaration] abort (); ^ xlwmenu.c:335:5: note: include the header or explicitly provide a declaration for 'abort' xlwmenu.c:1434:3: warning: implicit declaration of function 'x_catch_errors' is invalid in C99 [-Wimplicit-function-declaration] x_catch_errors (); ^ xlwmenu.c:1443:7: warning: implicit declaration of function 'x_had_errors_p' is invalid in C99 [-Wimplicit-function-declaration] if (x_had_errors_p ()) ^ xlwmenu.c:1448:3: warning: implicit declaration of function 'x_uncatch_errors' is invalid in C99 [-Wimplicit-function-declaration] x_uncatch_errors (); ^ 4 warnings generated. clang -c -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include -DEMACS_BITMAP_FILES -Demacs lwlib-Xaw.c lwlib-Xaw.c:139:52: warning: missing sentinel in function call [-Wsentinel] XtVaGetValues (widget, XtNborderWidth, &bw, 0); ^ , NULL /data/scratch/editors/mule/work/.buildlink/include/X11/Intrinsic.h:1603:13: note: function has been explicitly marked sentinel here extern void XtVaGetValues( ^ lwlib-Xaw.c:291:19: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Wimplicit-function-declaration] if (! pop_up_p) abort (); /* not implemented */ ^ lwlib-Xaw.c:291:19: note: include the header or explicitly provide a declaration for 'abort' lwlib-Xaw.c:507:46: warning: missing sentinel in function call [-Wsentinel] XtVaGetValues (shell, XtNchildren, &kids, 0); ^ , NULL /data/scratch/editors/mule/work/.buildlink/include/X11/Intrinsic.h:1603:13: note: function has been explicitly marked sentinel here extern void XtVaGetValues( ^ lwlib-Xaw.c:625:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 4 warnings generated. clang -c -I/usr/pkg/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include -DEMACS_BITMAP_FILES -Demacs lwlib-utils.c lwlib-utils.c:72:7: warning: implicit declaration of function 'lwlib_bcopy' is invalid in C99 [-Wimplicit-function-declaration] lwlib_bcopy (cw->composite.children, kids, sizeof (Widget) * nkids); ^ lwlib-utils.c:81:7: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free (kids); ^ lwlib-utils.c:172:3: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Wimplicit-function-declaration] abort (); ^ lwlib-utils.c:172:3: note: include the header or explicitly provide a declaration for 'abort' 3 warnings generated. rm -f liblw.a ar cq liblw.a lwlib.o lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o lwlib-utils.o Do not be alarmed if the following ranlib command fails due to the absence of a ranlib program on your system. ranlib liblw.a || true gmake[2]: Leaving directory '/data/scratch/editors/mule/work/mule/lwlib' rm -f liblw.a ln -s ../lwlib/liblw.a liblw.a clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include dispnew.c In file included from dispnew.c:58: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from dispnew.c:58: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from dispnew.c:86: ./xterm.h:594:1: warning: '/*' within block comment [-Wcomment] /* Return the upper/left pixel position of the character cell on frame F ^ dispnew.c:223:3: warning: implicit declaration of function 'update_begin' is invalid in C99 [-Wimplicit-function-declaration] update_begin (f); ^ dispnew.c:226:3: warning: implicit declaration of function 'clear_frame_records' is invalid in C99 [-Wimplicit-function-declaration] clear_frame_records (f); ^ dispnew.c:232:3: warning: implicit declaration of function 'mark_window_display_accurate' is invalid in C99 [-Wimplicit-function-declaration] mark_window_display_accurate (FRAME_ROOT_WINDOW (f), 0); ^ dispnew.c:237:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] redraw_frame (f) ^ dispnew.c:243:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dispnew.c:301:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register width = FRAME_WIDTH (frame); ~~~~~~~~ ^ dispnew.c:302:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register height = FRAME_HEIGHT (frame); ~~~~~~~~ ^ dispnew.c:539:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cancel_line (vpos, frame) ^ dispnew.c:544:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dispnew.c:546:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clear_frame_records (frame) ^ dispnew.c:550:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dispnew.c:692:22: warning: incompatible pointer types passing 'unsigned int **' to parameter of type 'char *' [-Wincompatible-pointer-types] rotate_vector (current_frame->glyphs + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:696:22: warning: incompatible pointer types passing 'int **' to parameter of type 'char *' [-Wincompatible-pointer-types] rotate_vector (current_frame->charstarts + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:700:19: warning: incompatible pointer types passing 'int *' to parameter of type 'char *' [-Wincompatible-pointer-types] safe_bcopy (current_frame->used + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:701:5: warning: incompatible pointer types passing 'int *' to parameter of type 'char *' [-Wincompatible-pointer-types] current_frame->used + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:748:19: warning: incompatible pointer types passing 'long *' to parameter of type 'char *' [-Wincompatible-pointer-types] safe_bcopy (current_frame->bufp + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:749:5: warning: incompatible pointer types passing 'long *' to parameter of type 'char *' [-Wincompatible-pointer-types] current_frame->bufp + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:755:16: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] safe_bcopy (current_frame->top_left_x + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:756:9: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] current_frame->top_left_x + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:759:16: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] safe_bcopy (current_frame->top_left_y + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:760:9: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] current_frame->top_left_y + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:763:16: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] safe_bcopy (current_frame->pix_width + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:764:9: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] current_frame->pix_width + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:767:16: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] safe_bcopy (current_frame->pix_height + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:768:9: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] current_frame->pix_height + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:771:16: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] safe_bcopy (current_frame->max_ascent + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:772:9: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] current_frame->max_ascent + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:788:22: warning: incompatible pointer types passing 'unsigned int **' to parameter of type 'char *' [-Wincompatible-pointer-types] rotate_vector (current_frame->glyphs + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:792:22: warning: incompatible pointer types passing 'int **' to parameter of type 'char *' [-Wincompatible-pointer-types] rotate_vector (current_frame->charstarts + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:796:19: warning: incompatible pointer types passing 'int *' to parameter of type 'char *' [-Wincompatible-pointer-types] safe_bcopy (current_frame->used + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:797:5: warning: incompatible pointer types passing 'int *' to parameter of type 'char *' [-Wincompatible-pointer-types] current_frame->used + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:844:19: warning: incompatible pointer types passing 'long *' to parameter of type 'char *' [-Wincompatible-pointer-types] safe_bcopy (current_frame->bufp + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:845:5: warning: incompatible pointer types passing 'long *' to parameter of type 'char *' [-Wincompatible-pointer-types] current_frame->bufp + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:851:16: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] safe_bcopy (current_frame->top_left_x + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:852:9: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] current_frame->top_left_x + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:855:16: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] safe_bcopy (current_frame->top_left_y + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:856:9: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] current_frame->top_left_y + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:859:16: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] safe_bcopy (current_frame->pix_width + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:860:9: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] current_frame->pix_width + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:863:16: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] safe_bcopy (current_frame->pix_height + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:864:9: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] current_frame->pix_height + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:867:16: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] safe_bcopy (current_frame->max_ascent + from, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:868:9: warning: incompatible pointer types passing 'short *' to parameter of type 'char *' [-Wincompatible-pointer-types] current_frame->max_ascent + from + amount, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispnew.c:883:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] preserve_other_columns (w) ^ dispnew.c:935:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dispnew.c:1007:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] verify_charstarts (w) ^ dispnew.c:1017:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int truncate = (XINT (w->hscroll) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dispnew.c:1017:19: note: place parentheses around the '-' expression to silence this warning int truncate = (XINT (w->hscroll) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dispnew.c:1017:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int truncate = (XINT (w->hscroll) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dispnew.c:1017:19: note: place parentheses around the '-' expression to silence this warning int truncate = (XINT (w->hscroll) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dispnew.c:1057:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ dispnew.c:1063:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cancel_my_columns (w) ^ dispnew.c:1076:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dispnew.c:1116:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || (XINT (w->hscroll) && hpos == XFASTINT (w->left)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dispnew.c:1116:11: note: place parentheses around the '-' expression to silence this warning || (XINT (w->hscroll) && hpos == XFASTINT (w->left)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dispnew.c:1116:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || (XINT (w->hscroll) && hpos == XFASTINT (w->left)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dispnew.c:1116:11: note: place parentheses around the '-' expression to silence this warning || (XINT (w->hscroll) && hpos == XFASTINT (w->left)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dispnew.c:1196:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && (XINT (w->hscroll) || n < 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dispnew.c:1196:12: note: place parentheses around the '-' expression to silence this warning && (XINT (w->hscroll) || n < 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dispnew.c:1196:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && (XINT (w->hscroll) || n < 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dispnew.c:1196:12: note: place parentheses around the '-' expression to silence this warning && (XINT (w->hscroll) || n < 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dispnew.c:1212:18: warning: implicit declaration of function 'Fget_char_property' is invalid in C99 [-Wimplicit-function-declaration] && ! NILP (Fget_char_property (position, ^ dispnew.c:1266:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern input_pending; ~~~~~~ ^ dispnew.c:1276:3: warning: implicit declaration of function 'detect_input_pending' is invalid in C99 [-Wimplicit-function-declaration] detect_input_pending (); ^ dispnew.c:1300:14: warning: implicit declaration of function 'scrolling' is invalid in C99 [-Wimplicit-function-declaration] force |= scrolling (f); ^ dispnew.c:1342:13: warning: implicit declaration of function 'ioctl' is invalid in C99 [-Wimplicit-function-declaration] if (EMACS_OUTQSIZE (0, &outq) < 0) ^ ./systty.h:243:35: note: expanded from macro 'EMACS_OUTQSIZE' #define EMACS_OUTQSIZE(fd, size) (ioctl ((fd), TIOCOUTQ, (size))) ^ dispnew.c:1379:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int top = XINT (XWINDOW (FRAME_MINIBUF_WINDOW (f))->top); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dispnew.c:1379:14: note: place parentheses around the '-' expression to silence this warning int top = XINT (XWINDOW (FRAME_MINIBUF_WINDOW (f))->top); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dispnew.c:1379:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int top = XINT (XWINDOW (FRAME_MINIBUF_WINDOW (f))->top); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dispnew.c:1379:14: note: place parentheses around the '-' expression to silence this warning int top = XINT (XWINDOW (FRAME_MINIBUF_WINDOW (f))->top); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dispnew.c:1455:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] scrolling (frame) ^ dispnew.c:1515:9: warning: implicit declaration of function 'scrolling_max_lines_saved' is invalid in C99 [-Wimplicit-function-declaration] 10 * scrolling_max_lines_saved (unchanged_at_top, ^ dispnew.c:1536:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int hscroll = XINT (window->hscroll); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dispnew.c:1536:17: note: place parentheses around the '-' expression to silence this warning int hscroll = XINT (window->hscroll); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dispnew.c:1536:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int hscroll = XINT (window->hscroll); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dispnew.c:1536:17: note: place parentheses around the '-' expression to silence this warning int hscroll = XINT (window->hscroll); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dispnew.c:1544:16: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] int startp = marker_position (window->start); ^ dispnew.c:1742:4: warning: implicit declaration of function 'clear_end_of_line' is invalid in C99 [-Wimplicit-function-declaration] clear_end_of_line (olen); ^ dispnew.c:1871:22: warning: incompatible pointer types passing 'char *' to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] insert_glyphs ((char *)0, nsp - osp); ^~~~~~~~~ ./frame.h:436:28: note: passing argument to parameter 'start' here void insert_glyphs (GLYPH *start, int len); ^ dispnew.c:1928:23: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] insert_glyphs ((int *)0, ins); ^~~~~~~~ ./frame.h:436:28: note: passing argument to parameter 'start' here void insert_glyphs (GLYPH *start, int len); ^ dispnew.c:1995:25: warning: implicit declaration of function 'Fbuffer_modified_p' is invalid in C99 [-Wimplicit-function-declaration] if (!EQ (*vecp++, Fbuffer_modified_p (buf))) ^ dispnew.c:2039:27: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] termscript = fopen (XSTRING (file)->data, "w"); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/stdio.h:230:37: note: passing argument to parameter here FILE *fopen(const char * __restrict , const char * __restrict); ^ dispnew.c:2041:2: warning: implicit declaration of function 'report_file_error' is invalid in C99 [-Wimplicit-function-declaration] report_file_error ("Opening termscript", Fcons (file, Qnil)); ^ dispnew.c:2054:3: warning: implicit declaration of function 'get_frame_size' is invalid in C99 [-Wimplicit-function-declaration] get_frame_size (&width, &height); ^ dispnew.c:2084:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_pending_window_change () ^ dispnew.c:2104:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dispnew.c:2236:5: warning: implicit declaration of function 'bitch_at_user' is invalid in C99 [-Wimplicit-function-declaration] bitch_at_user (); ^ dispnew.c:2241:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bitch_at_user () ^ dispnew.c:2250:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dispnew.c:2268:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] usec = XINT (milliseconds) * 1000; ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dispnew.c:2268:10: note: place parentheses around the '-' expression to silence this warning usec = XINT (milliseconds) * 1000; ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dispnew.c:2268:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] usec = XINT (milliseconds) * 1000; ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dispnew.c:2268:10: note: place parentheses around the '-' expression to silence this warning usec = XINT (milliseconds) * 1000; ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dispnew.c:2305:5: warning: implicit declaration of function 'wait_reading_process_input' is invalid in C99 [-Wimplicit-function-declaration] wait_reading_process_input (sec, usec, zero, 0); ^ dispnew.c:2362:5: warning: implicit declaration of function 'redisplay_preserve_echo_area' is invalid in C99 [-Wimplicit-function-declaration] redisplay_preserve_echo_area (); ^ dispnew.c:2423:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] usec = XINT (milliseconds) * 1000; ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dispnew.c:2423:10: note: place parentheses around the '-' expression to silence this warning usec = XINT (milliseconds) * 1000; ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dispnew.c:2423:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] usec = XINT (milliseconds) * 1000; ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dispnew.c:2423:10: note: place parentheses around the '-' expression to silence this warning usec = XINT (milliseconds) * 1000; ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dispnew.c:2442:5: warning: implicit declaration of function 'prepare_menu_bars' is invalid in C99 [-Wimplicit-function-declaration] prepare_menu_bars (); ^ dispnew.c:2537:3: warning: implicit declaration of function 'term_init' is invalid in C99 [-Wimplicit-function-declaration] term_init (terminal_type); ^ dispnew.c:2554:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_display () ^ dispnew.c:2622:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 96 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include frame.c In file included from frame.c:20: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from frame.c:20: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ frame.c:343:3: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero (f->display.t, sizeof (struct t_display)); ^ frame.c:343:3: note: include the header or explicitly provide a declaration for 'bzero' frame.c:345:3: warning: implicit declaration of function 'init_frame_faces' is invalid in C99 [-Wimplicit-function-declaration] init_frame_faces (f); ^ frame.c:408:16: warning: implicit declaration of function 'x_get_focus_frame' is invalid in C99 [-Wimplicit-function-declaration] xfocus = x_get_focus_frame (); ^ frame.c:424:3: warning: implicit declaration of function 'choose_minibuf_frame' is invalid in C99 [-Wimplicit-function-declaration] choose_minibuf_frame (); ^ frame.c:802:8: warning: implicit declaration of function 'x_sync' is invalid in C99 [-Wimplicit-function-declaration] x_sync (this); ^ frame.c:883:5: warning: implicit declaration of function 'x_clear_frame_selections' is invalid in C99 [-Wimplicit-function-declaration] x_clear_frame_selections (f); ^ frame.c:888:3: warning: implicit declaration of function 'delete_all_subwindows' is invalid in C99 [-Wimplicit-function-declaration] delete_all_subwindows (XWINDOW (f->root_window)); ^ frame.c:895:5: warning: implicit declaration of function 'free_frame_glyphs' is invalid in C99 [-Wimplicit-function-declaration] free_frame_glyphs (f, FRAME_CURRENT_GLYPHS (f)); ^ frame.c:918:5: warning: implicit declaration of function 'x_destroy_window' is invalid in C99 [-Wimplicit-function-declaration] x_destroy_window (f); ^ frame.c:1018:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] col = XINT (x); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1018:13: note: place parentheses around the '-' expression to silence this warning col = XINT (x); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1018:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] col = XINT (x); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1018:13: note: place parentheses around the '-' expression to silence this warning col = XINT (x); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1019:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] row = XINT (y); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1019:13: note: place parentheses around the '-' expression to silence this warning row = XINT (y); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1019:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] row = XINT (y); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1019:13: note: place parentheses around the '-' expression to silence this warning row = XINT (y); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1020:7: warning: implicit declaration of function 'pixel_to_glyph_coords' is invalid in C99 [-Wimplicit-function-declaration] pixel_to_glyph_coords (f, col, row, &col, &row, 0, 1); ^ frame.c:1073:5: warning: implicit declaration of function 'x_set_mouse_position' is invalid in C99 [-Wimplicit-function-declaration] x_set_mouse_position (XFRAME (frame), x, y); ^ frame.c:1095:5: warning: implicit declaration of function 'x_set_mouse_pixel_position' is invalid in C99 [-Wimplicit-function-declaration] x_set_mouse_pixel_position (XFRAME (frame), x, y); ^ frame.c:1118:7: warning: implicit declaration of function 'x_make_frame_visible' is invalid in C99 [-Wimplicit-function-declaration] x_make_frame_visible (XFRAME (frame)); ^ frame.c:1162:5: warning: implicit declaration of function 'x_make_frame_invisible' is invalid in C99 [-Wimplicit-function-declaration] x_make_frame_invisible (XFRAME (frame)); ^ frame.c:1444:5: warning: implicit declaration of function 'x_report_frame_params' is invalid in C99 [-Wimplicit-function-declaration] x_report_frame_params (f, &alist); ^ frame.c:1476:5: warning: implicit declaration of function 'x_set_frame_parameters' is invalid in C99 [-Wimplicit-function-declaration] x_set_frame_parameters (f, alist); ^ frame.c:1499:7: warning: implicit declaration of function 'recompute_basic_faces' is invalid in C99 [-Wimplicit-function-declaration] recompute_basic_faces (f); ^ frame.c:1502:9: warning: implicit declaration of function 'redraw_frame' is invalid in C99 [-Wimplicit-function-declaration] redraw_frame (f); ^ frame.c:1529:25: warning: implicit declaration of function 'x_char_height' is invalid in C99 [-Wimplicit-function-declaration] return make_number (x_char_height (f)); ^ frame.c:1558:25: warning: implicit declaration of function 'x_char_width' is invalid in C99 [-Wimplicit-function-declaration] return make_number (x_char_width (f)); ^ frame.c:1584:25: warning: implicit declaration of function 'x_pixel_height' is invalid in C99 [-Wimplicit-function-declaration] return make_number (x_pixel_height (f)); ^ frame.c:1610:25: warning: implicit declaration of function 'x_pixel_width' is invalid in C99 [-Wimplicit-function-declaration] return make_number (x_pixel_width (f)); ^ frame.c:1638:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (rows) != f->width) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1638:11: note: place parentheses around the '-' expression to silence this warning if (XINT (rows) != f->width) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1638:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (rows) != f->width) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1638:11: note: place parentheses around the '-' expression to silence this warning if (XINT (rows) != f->width) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1639:2: warning: implicit declaration of function 'x_set_window_size' is invalid in C99 [-Wimplicit-function-declaration] x_set_window_size (f, 1, f->width, XINT (rows)); ^ frame.c:1639:37: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_set_window_size (f, 1, f->width, XINT (rows)); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1639:37: note: place parentheses around the '-' expression to silence this warning x_set_window_size (f, 1, f->width, XINT (rows)); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1639:37: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_set_window_size (f, 1, f->width, XINT (rows)); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1639:37: note: place parentheses around the '-' expression to silence this warning x_set_window_size (f, 1, f->width, XINT (rows)); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1643:27: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] change_frame_size (f, XINT (rows), 0, !NILP (pretend), 0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1643:27: note: place parentheses around the '-' expression to silence this warning change_frame_size (f, XINT (rows), 0, !NILP (pretend), 0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1643:27: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] change_frame_size (f, XINT (rows), 0, !NILP (pretend), 0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1643:27: note: place parentheses around the '-' expression to silence this warning change_frame_size (f, XINT (rows), 0, !NILP (pretend), 0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1668:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (cols) != f->width) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1668:11: note: place parentheses around the '-' expression to silence this warning if (XINT (cols) != f->width) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1668:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (cols) != f->width) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1668:11: note: place parentheses around the '-' expression to silence this warning if (XINT (cols) != f->width) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1669:27: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_set_window_size (f, 1, XINT (cols), f->height); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1669:27: note: place parentheses around the '-' expression to silence this warning x_set_window_size (f, 1, XINT (cols), f->height); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1669:27: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_set_window_size (f, 1, XINT (cols), f->height); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1669:27: note: place parentheses around the '-' expression to silence this warning x_set_window_size (f, 1, XINT (cols), f->height); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1673:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] change_frame_size (f, 0, XINT (cols), !NILP (pretend), 0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1673:30: note: place parentheses around the '-' expression to silence this warning change_frame_size (f, 0, XINT (cols), !NILP (pretend), 0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1673:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] change_frame_size (f, 0, XINT (cols), !NILP (pretend), 0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1673:30: note: place parentheses around the '-' expression to silence this warning change_frame_size (f, 0, XINT (cols), !NILP (pretend), 0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1694:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (rows) != f->height || XINT (cols) != f->width) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1694:11: note: place parentheses around the '-' expression to silence this warning if (XINT (rows) != f->height || XINT (cols) != f->width) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1694:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (rows) != f->height || XINT (cols) != f->width) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1694:11: note: place parentheses around the '-' expression to silence this warning if (XINT (rows) != f->height || XINT (cols) != f->width) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1694:39: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (rows) != f->height || XINT (cols) != f->width) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1694:39: note: place parentheses around the '-' expression to silence this warning if (XINT (rows) != f->height || XINT (cols) != f->width) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1694:39: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (rows) != f->height || XINT (cols) != f->width) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1694:39: note: place parentheses around the '-' expression to silence this warning if (XINT (rows) != f->height || XINT (cols) != f->width) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1695:27: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_set_window_size (f, 1, XINT (cols), XINT (rows)); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1695:27: note: place parentheses around the '-' expression to silence this warning x_set_window_size (f, 1, XINT (cols), XINT (rows)); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1695:27: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_set_window_size (f, 1, XINT (cols), XINT (rows)); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1695:27: note: place parentheses around the '-' expression to silence this warning x_set_window_size (f, 1, XINT (cols), XINT (rows)); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1695:40: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_set_window_size (f, 1, XINT (cols), XINT (rows)); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1695:40: note: place parentheses around the '-' expression to silence this warning x_set_window_size (f, 1, XINT (cols), XINT (rows)); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1695:40: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_set_window_size (f, 1, XINT (cols), XINT (rows)); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1695:40: note: place parentheses around the '-' expression to silence this warning x_set_window_size (f, 1, XINT (cols), XINT (rows)); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1699:27: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] change_frame_size (f, XINT (rows), XINT (cols), 0, 0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1699:27: note: place parentheses around the '-' expression to silence this warning change_frame_size (f, XINT (rows), XINT (cols), 0, 0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1699:27: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] change_frame_size (f, XINT (rows), XINT (cols), 0, 0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1699:27: note: place parentheses around the '-' expression to silence this warning change_frame_size (f, XINT (rows), XINT (cols), 0, 0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1699:40: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] change_frame_size (f, XINT (rows), XINT (cols), 0, 0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1699:40: note: place parentheses around the '-' expression to silence this warning change_frame_size (f, XINT (rows), XINT (cols), 0, 0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1699:40: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] change_frame_size (f, XINT (rows), XINT (cols), 0, 0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1699:40: note: place parentheses around the '-' expression to silence this warning change_frame_size (f, XINT (rows), XINT (cols), 0, 0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1724:5: warning: implicit declaration of function 'x_set_offset' is invalid in C99 [-Wimplicit-function-declaration] x_set_offset (f, XINT (xoffset), XINT (yoffset), 1); ^ frame.c:1724:22: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_set_offset (f, XINT (xoffset), XINT (yoffset), 1); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1724:22: note: place parentheses around the '-' expression to silence this warning x_set_offset (f, XINT (xoffset), XINT (yoffset), 1); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1724:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_set_offset (f, XINT (xoffset), XINT (yoffset), 1); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1724:22: note: place parentheses around the '-' expression to silence this warning x_set_offset (f, XINT (xoffset), XINT (yoffset), 1); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1724:38: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_set_offset (f, XINT (xoffset), XINT (yoffset), 1); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1724:38: note: place parentheses around the '-' expression to silence this warning x_set_offset (f, XINT (xoffset), XINT (yoffset), 1); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1724:38: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_set_offset (f, XINT (xoffset), XINT (yoffset), 1); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ frame.c:1724:38: note: place parentheses around the '-' expression to silence this warning x_set_offset (f, XINT (xoffset), XINT (yoffset), 1); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ frame.c:1731:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] choose_minibuf_frame () ^ frame.c:1749:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ frame.c:1751:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_frame () ^ frame.c:1856:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ frame.c:1858:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] keys_of_frame () ^ frame.c:1860:3: warning: implicit declaration of function 'initial_define_lispy_key' is invalid in C99 [-Wimplicit-function-declaration] initial_define_lispy_key (global_map, "switch-frame", "handle-switch-frame"); ^ frame.c:1861:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 69 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include scroll.c In file included from scroll.c:22: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from scroll.c:22: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ scroll.c:261:3: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (current_frame->glyphs, temp_frame->glyphs, ^ scroll.c:269:3: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero (temp_frame->enable, temp_frame->height * sizeof (char)); ^ scroll.c:269:3: note: include the header or explicitly provide a declaration for 'bzero' scroll.c:450:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] scroll_cost (frame, from, to, amount) ^ scroll.c:522:5: warning: implicit declaration of function 'string_cost' is invalid in C99 [-Wimplicit-function-declaration] string_cost (multi_string) * coefficient, ^ scroll.c:523:5: warning: implicit declaration of function 'per_line_cost' is invalid in C99 [-Wimplicit-function-declaration] per_line_cost (multi_string) * coefficient, ^ scroll.c:569:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_line_insertion_deletion_costs (frame, ^ scroll.c:616:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 13 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include xdisp.c In file included from xdisp.c:69: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from xdisp.c:69: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from xdisp.c:91: ./coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ xdisp.c:285:7: warning: implicit declaration of function 'choose_minibuf_frame' is invalid in C99 [-Wimplicit-function-declaration] choose_minibuf_frame (); ^ xdisp.c:301:7: warning: implicit declaration of function 'do_pending_window_change' is invalid in C99 [-Wimplicit-function-declaration] do_pending_window_change (); ^ xdisp.c:303:7: warning: implicit declaration of function 'update_frame' is invalid in C99 [-Wimplicit-function-declaration] update_frame (XFRAME (XWINDOW (minibuf_window)->frame), 1, 1); ^ xdisp.c:314:21: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] message2 (m, (m ? strlen (m) : 0)); ^ xdisp.c:314:21: note: include the header or explicitly provide a declaration for 'strlen' xdisp.c:383:14: warning: implicit declaration of function 'doprnt' is invalid in C99 [-Wimplicit-function-declaration] len = doprnt (FRAME_MESSAGE_BUF (echo_frame), ^ xdisp.c:419:7: warning: implicit declaration of function 'redraw_garbaged_frames' is invalid in C99 [-Wimplicit-function-declaration] redraw_garbaged_frames (); ^ xdisp.c:482:7: warning: implicit declaration of function 'x_implicitly_set_name' is invalid in C99 [-Wimplicit-function-declaration] x_implicitly_set_name (f, title, Qnil); ^ xdisp.c:551:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] r2l_double_cursor_set (pos_p,w,p) ^ xdisp.c:646:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xdisp.c:763:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (current_buffer->selective_display) > 0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:763:9: note: place parentheses around the '-' expression to silence this warning && XINT (current_buffer->selective_display) > 0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:763:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (current_buffer->selective_display) > 0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:763:9: note: place parentheses around the '-' expression to silence this warning && XINT (current_buffer->selective_display) > 0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:784:15: warning: implicit declaration of function 'find_next_newline' is invalid in C99 [-Wimplicit-function-declaration] prevline = find_next_newline (tlbufpos, -1); ^ xdisp.c:786:6: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:786:6: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:786:6: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:786:6: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:786:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:786:30: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:786:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:786:30: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:789:6: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll), 0, w, 0); /* 92.8.2 Y.Niibe */ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:789:6: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll), 0, w, 0); /* 92.8.2 Y.Niibe */ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:789:6: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll), 0, w, 0); /* 92.8.2 Y.Niibe */ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:789:6: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll), 0, w, 0); /* 92.8.2 Y.Niibe */ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:821:5: warning: implicit declaration of function 'adjust_window_charstarts' is invalid in C99 [-Wimplicit-function-declaration] adjust_window_charstarts (w, this_line_vpos, adjust); ^ xdisp.c:825:3: warning: implicit declaration of function 'preserve_other_columns' is invalid in C99 [-Wimplicit-function-declaration] preserve_other_columns (w); ^ xdisp.c:846:6: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:846:6: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:846:6: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:846:6: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:846:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:846:30: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:846:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:846:30: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:849:6: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll), ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:849:6: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll), ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:849:6: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll), ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:849:6: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll), ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:850:6: warning: implicit declaration of function 'pos_tab_offset' is invalid in C99 [-Wimplicit-function-declaration] pos_tab_offset (w, tlbufpos), w, 0); /* 92.8.2 Y.Niibe */ ^ xdisp.c:864:7: warning: implicit declaration of function 'cancel_line' is invalid in C99 [-Wimplicit-function-declaration] cancel_line (this_line_vpos, selected_frame); ^ xdisp.c:877:7: warning: implicit declaration of function 'clear_face_vector' is invalid in C99 [-Wimplicit-function-declaration] clear_face_vector (); ^ xdisp.c:914:5: warning: implicit declaration of function 'unrequest_sigio' is invalid in C99 [-Wimplicit-function-declaration] unrequest_sigio (); ^ xdisp.c:915:3: warning: implicit declaration of function 'stop_polling' is invalid in C99 [-Wimplicit-function-declaration] stop_polling (); ^ xdisp.c:1009:6: warning: implicit declaration of function 'verify_charstarts' is invalid in C99 [-Wimplicit-function-declaration] verify_charstarts (w); ^ xdisp.c:1025:5: warning: implicit declaration of function 'request_sigio' is invalid in C99 [-Wimplicit-function-declaration] request_sigio (); ^ xdisp.c:1026:3: warning: implicit declaration of function 'start_polling' is invalid in C99 [-Wimplicit-function-declaration] start_polling (); ^ xdisp.c:1045:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] redisplay_preserve_echo_area () ^ xdisp.c:1055:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xdisp.c:1147:31: warning: implicit declaration of function 'menu_bar_items' is invalid in C99 [-Wimplicit-function-declaration] FRAME_MENU_BAR_ITEMS (f) = menu_bar_items (FRAME_MENU_BAR_ITEMS (f)); ^ xdisp.c:1182:38: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register Lisp_Object_Int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1182:38: note: place parentheses around the '-' expression to silence this warning register Lisp_Object_Int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1182:38: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register Lisp_Object_Int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1182:38: note: place parentheses around the '-' expression to silence this warning register Lisp_Object_Int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1251:20: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] int new_pt = marker_position (w->pointm); ^ xdisp.c:1255:4: warning: implicit declaration of function 'Fset_marker' is invalid in C99 [-Wimplicit-function-declaration] Fset_marker (w->pointm, make_number (new_pt), Qnil); ^ xdisp.c:1408:2: warning: implicit declaration of function 'cancel_my_columns' is invalid in C99 [-Wimplicit-function-declaration] cancel_my_columns (w); ^ xdisp.c:1502:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] end = (Z - XINT (w->window_end_pos)) - BEGV; ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1502:15: note: place parentheses around the '-' expression to silence this warning end = (Z - XINT (w->window_end_pos)) - BEGV; ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1502:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] end = (Z - XINT (w->window_end_pos)) - BEGV; ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1502:15: note: place parentheses around the '-' expression to silence this warning end = (Z - XINT (w->window_end_pos)) - BEGV; ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1542:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1542:14: note: place parentheses around the '-' expression to silence this warning val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1542:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1542:14: note: place parentheses around the '-' expression to silence this warning val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1542:38: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1542:38: note: place parentheses around the '-' expression to silence this warning val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1542:38: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1542:38: note: place parentheses around the '-' expression to silence this warning val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1559:17: warning: implicit declaration of function 'Fget_char_property' is invalid in C99 [-Wimplicit-function-declaration] || ! NILP (Fget_char_property (val.bufpos-1, ^ xdisp.c:1569:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (val.hpos < (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1569:19: note: place parentheses around the '-' expression to silence this warning if (val.hpos < (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1569:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (val.hpos < (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1569:19: note: place parentheses around the '-' expression to silence this warning if (val.hpos < (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1569:43: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (val.hpos < (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1569:43: note: place parentheses around the '-' expression to silence this warning if (val.hpos < (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1569:43: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (val.hpos < (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1569:43: note: place parentheses around the '-' expression to silence this warning if (val.hpos < (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1602:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1602:17: note: place parentheses around the '-' expression to silence this warning int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1602:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1602:17: note: place parentheses around the '-' expression to silence this warning int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1610:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1610:9: note: place parentheses around the '-' expression to silence this warning ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1610:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:1610:9: note: place parentheses around the '-' expression to silence this warning ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:1683:29: warning: implicit declaration of function 'indented_beyond_p' is invalid in C99 [-Wimplicit-function-declaration] while (tem < ZV - 1 && (indented_beyond_p (tem, selective))) ^ xdisp.c:1798:8: warning: implicit declaration of function 'scroll_cost' is invalid in C99 [-Wimplicit-function-declaration] if (scroll_cost (f, bp.vpos + top - scroll_amount, ^ xdisp.c:1809:10: warning: implicit declaration of function 'scroll_frame_lines' is invalid in C99 [-Wimplicit-function-declaration] tem = scroll_frame_lines (f, bp.vpos + top - scroll_amount, ^ xdisp.c:2123:31: warning: implicit declaration of function 'compute_glyph_face' is invalid in C99 [-Wimplicit-function-declaration] last_merged = facecode = compute_glyph_face (f, last_code, face); ^ xdisp.c:2204:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2204:19: note: place parentheses around the '-' expression to silence this warning int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2204:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2204:19: note: place parentheses around the '-' expression to silence this warning int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2212:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2212:17: note: place parentheses around the '-' expression to silence this warning int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2212:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2212:17: note: place parentheses around the '-' expression to silence this warning int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2225:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2225:9: note: place parentheses around the '-' expression to silence this warning ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2225:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2225:9: note: place parentheses around the '-' expression to silence this warning ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2253:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? '$' : XINT (DISP_TRUNC_GLYPH (dp))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2253:16: note: place parentheses around the '-' expression to silence this warning ? '$' : XINT (DISP_TRUNC_GLYPH (dp))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2253:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? '$' : XINT (DISP_TRUNC_GLYPH (dp))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2253:16: note: place parentheses around the '-' expression to silence this warning ? '$' : XINT (DISP_TRUNC_GLYPH (dp))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2255:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? '\\' : XINT (DISP_CONTINUE_GLYPH (dp))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2255:17: note: place parentheses around the '-' expression to silence this warning ? '\\' : XINT (DISP_CONTINUE_GLYPH (dp))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2255:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? '\\' : XINT (DISP_CONTINUE_GLYPH (dp))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2255:17: note: place parentheses around the '-' expression to silence this warning ? '\\' : XINT (DISP_CONTINUE_GLYPH (dp))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2348:3: warning: implicit declaration of function 'recenter_overlay_lists' is invalid in C99 [-Wimplicit-function-declaration] recenter_overlay_lists (current_buffer, pos); ^ xdisp.c:2401:16: warning: implicit declaration of function 'Fnext_overlay_change' is invalid in C99 [-Wimplicit-function-declaration] limit = Fnext_overlay_change (position); ^ xdisp.c:2412:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] next_invisible = XINT (endpos); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2412:20: note: place parentheses around the '-' expression to silence this warning next_invisible = XINT (endpos); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2412:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] next_invisible = XINT (endpos); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2412:20: note: place parentheses around the '-' expression to silence this warning next_invisible = XINT (endpos); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2444:23: warning: implicit declaration of function 'compute_char_face' is invalid in C99 [-Wimplicit-function-declaration] current_face = compute_char_face (f, w, pos, ^ xdisp.c:2569:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (DISP_CTRL_GLYPH (dp)) : '^'), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2569:8: note: place parentheses around the '-' expression to silence this warning ? XINT (DISP_CTRL_GLYPH (dp)) : '^'), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2569:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (DISP_CTRL_GLYPH (dp)) : '^'), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2569:8: note: place parentheses around the '-' expression to silence this warning ? XINT (DISP_CTRL_GLYPH (dp)) : '^'), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2617:12: warning: implicit declaration of function 'string_to_mchar' is invalid in C99 [-Wimplicit-function-declaration] c = STRtoCHAR(p - 1, c_bytes) ^ ./charset.h:225:11: note: expanded from macro 'STRtoCHAR' *(s) : string_to_mchar(s, len)) ^ xdisp.c:2649:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (DISP_ESCAPE_GLYPH (dp)) : '\\' ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2649:8: note: place parentheses around the '-' expression to silence this warning ? XINT (DISP_ESCAPE_GLYPH (dp)) : '\\' ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2649:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (DISP_ESCAPE_GLYPH (dp)) : '\\' ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2649:8: note: place parentheses around the '-' expression to silence this warning ? XINT (DISP_ESCAPE_GLYPH (dp)) : '\\' ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2702:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val.hpos = - XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2702:16: note: place parentheses around the '-' expression to silence this warning val.hpos = - XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2702:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val.hpos = - XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2702:16: note: place parentheses around the '-' expression to silence this warning val.hpos = - XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2799:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2799:19: note: place parentheses around the '-' expression to silence this warning val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2799:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2799:19: note: place parentheses around the '-' expression to silence this warning val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2799:43: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2799:43: note: place parentheses around the '-' expression to silence this warning val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2799:43: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2799:43: note: place parentheses around the '-' expression to silence this warning val.hpos = XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2850:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] == (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2850:10: note: place parentheses around the '-' expression to silence this warning == (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2850:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] == (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2850:10: note: place parentheses around the '-' expression to silence this warning == (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2850:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] == (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2850:34: note: place parentheses around the '-' expression to silence this warning == (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2850:34: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] == (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:2850:34: note: place parentheses around the '-' expression to silence this warning == (XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:2925:15: warning: implicit declaration of function 'Fget_text_property' is invalid in C99 [-Wimplicit-function-declaration] face = Fget_text_property (ilisp, Qface, Voverlay_arrow_string); ^ xdisp.c:2926:18: warning: implicit declaration of function 'compute_glyph_face_1' is invalid in C99 [-Wimplicit-function-declaration] newface = compute_glyph_face_1 (f, face, 0); ^ xdisp.c:3395:25: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int lim = XINT (car); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:3395:25: note: place parentheses around the '-' expression to silence this warning register int lim = XINT (car); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:3395:25: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int lim = XINT (car); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:3395:25: note: place parentheses around the '-' expression to silence this warning register int lim = XINT (car); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:3447:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] decode_mode_spec_coding(code, buf, eol) ^ xdisp.c:3469:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xdisp.c:3831:12: warning: implicit declaration of function 'scan_buffer' is invalid in C99 [-Wimplicit-function-declaration] return scan_buffer ('\n', start, count, shortage, 0); ^ xdisp.c:3966:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:3966:17: note: place parentheses around the '-' expression to silence this warning int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:3966:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:3966:17: note: place parentheses around the '-' expression to silence this warning int hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:3967:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int tab_width = XINT (XBUFFER (w->buffer)->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:3967:19: note: place parentheses around the '-' expression to silence this warning int tab_width = XINT (XBUFFER (w->buffer)->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:3967:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int tab_width = XINT (XBUFFER (w->buffer)->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:3967:19: note: place parentheses around the '-' expression to silence this warning int tab_width = XINT (XBUFFER (w->buffer)->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:3979:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] = string + (length < 0 ? strlen(string) : length); ^~~~~~ xdisp.c:4099:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (DISP_CTRL_GLYPH (dp)) : '^'), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:4099:8: note: place parentheses around the '-' expression to silence this warning ? XINT (DISP_CTRL_GLYPH (dp)) : '^'), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:4099:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (DISP_CTRL_GLYPH (dp)) : '^'), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:4099:8: note: place parentheses around the '-' expression to silence this warning ? XINT (DISP_CTRL_GLYPH (dp)) : '^'), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:4111:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (DISP_ESCAPE_GLYPH (dp)) : '\\'), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:4111:8: note: place parentheses around the '-' expression to silence this warning ? XINT (DISP_ESCAPE_GLYPH (dp)) : '\\'), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:4111:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (DISP_ESCAPE_GLYPH (dp)) : '\\'), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xdisp.c:4111:8: note: place parentheses around the '-' expression to silence this warning ? XINT (DISP_ESCAPE_GLYPH (dp)) : '\\'), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xdisp.c:4233:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_xdisp () ^ xdisp.c:4260:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 116 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include window.c In file included from window.c:26: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from window.c:26: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ window.c:212:7: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] CHECK_NUMBER_COERCE_MARKER (pos, 0); ^ ./lisp.h:880:55: note: expanded from macro 'CHECK_NUMBER_COERCE_MARKER' do { if (XTYPE ((x)) == Lisp_Marker) XFASTINT (x) = marker_position (x); \ ^ window.c:213:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] posint = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:213:16: note: place parentheses around the '-' expression to silence this warning posint = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:213:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] posint = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:213:16: note: place parentheses around the '-' expression to silence this warning posint = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:218:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:218:13: note: place parentheses around the '-' expression to silence this warning hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:218:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:218:13: note: place parentheses around the '-' expression to silence this warning hscroll = XINT (w->hscroll); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:309:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (ncol) < 0) XFASTINT (ncol) = 0; ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:309:7: note: place parentheses around the '-' expression to silence this warning if (XINT (ncol) < 0) XFASTINT (ncol) = 0; ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:309:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (ncol) < 0) XFASTINT (ncol) = 0; ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:309:7: note: place parentheses around the '-' expression to silence this warning if (XINT (ncol) < 0) XFASTINT (ncol) = 0; ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:313:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (w->hscroll) != XINT (ncol)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:313:7: note: place parentheses around the '-' expression to silence this warning if (XINT (w->hscroll) != XINT (ncol)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:313:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (w->hscroll) != XINT (ncol)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:313:7: note: place parentheses around the '-' expression to silence this warning if (XINT (w->hscroll) != XINT (ncol)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:313:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (w->hscroll) != XINT (ncol)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:313:28: note: place parentheses around the '-' expression to silence this warning if (XINT (w->hscroll) != XINT (ncol)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:313:28: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (w->hscroll) != XINT (ncol)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:313:28: note: place parentheses around the '-' expression to silence this warning if (XINT (w->hscroll) != XINT (ncol)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:351:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int left = XINT (w->left); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:351:23: note: place parentheses around the '-' expression to silence this warning register int left = XINT (w->left); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:351:23: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int left = XINT (w->left); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:351:23: note: place parentheses around the '-' expression to silence this warning register int left = XINT (w->left); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:352:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int width = XINT (w->width); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:352:24: note: place parentheses around the '-' expression to silence this warning register int width = XINT (w->width); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:352:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int width = XINT (w->width); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:352:24: note: place parentheses around the '-' expression to silence this warning register int width = XINT (w->width); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:353:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int window_height = XINT (w->height); ^~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:353:32: note: place parentheses around the '-' expression to silence this warning register int window_height = XINT (w->height); ^~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:353:32: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int window_height = XINT (w->height); ^~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:353:32: note: place parentheses around the '-' expression to silence this warning register int window_height = XINT (w->height); ^~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:394:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x = XINT (Fcar (coordinates)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:394:7: note: place parentheses around the '-' expression to silence this warning x = XINT (Fcar (coordinates)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:394:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x = XINT (Fcar (coordinates)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:394:7: note: place parentheses around the '-' expression to silence this warning x = XINT (Fcar (coordinates)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:395:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] y = XINT (Fcdr (coordinates)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:395:7: note: place parentheses around the '-' expression to silence this warning y = XINT (Fcdr (coordinates)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:395:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] y = XINT (Fcdr (coordinates)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:395:7: note: place parentheses around the '-' expression to silence this warning y = XINT (Fcdr (coordinates)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:468:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (x), XINT (y), ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:468:7: note: place parentheses around the '-' expression to silence this warning XINT (x), XINT (y), ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:468:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (x), XINT (y), ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:468:7: note: place parentheses around the '-' expression to silence this warning XINT (x), XINT (y), ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:468:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (x), XINT (y), ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:468:17: note: place parentheses around the '-' expression to silence this warning XINT (x), XINT (y), ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:468:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (x), XINT (y), ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:468:17: note: place parentheses around the '-' expression to silence this warning XINT (x), XINT (y), ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:553:5: warning: implicit declaration of function 'set_marker_restricted' is invalid in C99 [-Wimplicit-function-declaration] set_marker_restricted (w->pointm, pos, w->buffer); ^ window.c:657:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unshow_buffer (w) ^ window.c:686:9: warning: implicit declaration of function 'clip_to_bounds' is invalid in C99 [-Wimplicit-function-declaration] = clip_to_bounds (BUF_BEGV (XBUFFER (buf)), ^ window.c:689:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ window.c:693:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] replace_window (old, replacement) ^ window.c:730:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ window.c:1164:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] i = XINT (n); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:1164:7: note: place parentheses around the '-' expression to silence this warning i = XINT (n); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:1164:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] i = XINT (n); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:1164:7: note: place parentheses around the '-' expression to silence this warning i = XINT (n); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:1348:10: warning: implicit declaration of function 'other_visible_frames' is invalid in C99 [-Wimplicit-function-declaration] && other_visible_frames (f)) ^ window.c:1269:10: warning: enumeration value 'WINDOW_LOOP_UNUSED' not handled in switch [-Wswitch] switch (type) ^ window.c:1484:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll), window); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:1484:9: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll), window); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:1484:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll), window); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:1484:9: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll), window); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:1485:7: warning: implicit declaration of function 'Fset_marker' is invalid in C99 [-Wimplicit-function-declaration] Fset_marker (w->start, make_number (pos.bufpos), w->buffer); ^ window.c:1490:7: warning: implicit declaration of function 'set_buffer_internal' is invalid in C99 [-Wimplicit-function-declaration] set_buffer_internal (obuf); ^ window.c:1643:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] set_window_height (child, XINT (XWINDOW (child)->height), 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:1643:32: note: place parentheses around the '-' expression to silence this warning set_window_height (child, XINT (XWINDOW (child)->height), 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:1643:32: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] set_window_height (child, XINT (XWINDOW (child)->height), 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:1643:32: note: place parentheses around the '-' expression to silence this warning set_window_height (child, XINT (XWINDOW (child)->height), 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:1700:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] set_window_width (child, XINT (XWINDOW (child)->width), 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:1700:31: note: place parentheses around the '-' expression to silence this warning set_window_width (child, XINT (XWINDOW (child)->width), 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:1700:31: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] set_window_width (child, XINT (XWINDOW (child)->width), 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:1700:31: note: place parentheses around the '-' expression to silence this warning set_window_width (child, XINT (XWINDOW (child)->width), 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:1795:3: warning: implicit declaration of function 'record_buffer' is invalid in C99 [-Wimplicit-function-declaration] record_buffer (w->buffer); ^ window.c:1806:7: warning: implicit declaration of function 'set_point' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (BEGV); ^ ./buffer.h:46:27: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^ window.c:1866:13: warning: implicit declaration of function 'Fmember' is invalid in C99 [-Wimplicit-function-declaration] tem = Fmember (XBUFFER (buffer)->name, Vspecial_display_buffer_names); ^ window.c:1871:6: warning: implicit declaration of function 'fast_string_match' is invalid in C99 [-Wimplicit-function-declaration] if (fast_string_match (XCONS (tem)->car, XBUFFER (buffer)->name) >= 0) ^ window.c:1930:7: warning: implicit declaration of function 'window_height' is invalid in C99 [-Wimplicit-function-declaration] && window_height (window) >= split_height_threshold ^ window.c:2006:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] make_dummy_parent (window) ^ window.c:2033:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ window.c:2066:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] size = XINT (chsize); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2066:14: note: place parentheses around the '-' expression to silence this warning size = XINT (chsize); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2066:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] size = XINT (chsize); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2066:14: note: place parentheses around the '-' expression to silence this warning size = XINT (chsize); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2151:25: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] change_window_height (XINT (n), !NILP (side)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2151:25: note: place parentheses around the '-' expression to silence this warning change_window_height (XINT (n), !NILP (side)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2151:25: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] change_window_height (XINT (n), !NILP (side)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2151:25: note: place parentheses around the '-' expression to silence this warning change_window_height (XINT (n), !NILP (side)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2162:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] change_window_height (-XINT (n), !NILP (side)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2162:26: note: place parentheses around the '-' expression to silence this warning change_window_height (-XINT (n), !NILP (side)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2162:26: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] change_window_height (-XINT (n), !NILP (side)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2162:26: note: place parentheses around the '-' expression to silence this warning change_window_height (-XINT (n), !NILP (side)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2204:18: warning: incompatible function pointer types initializing 'int (*)()' with an expression of type 'void (*)(long, int, int)' [-Wincompatible-function-pointer-types] register int (*setsizefun) () = (widthflag ^ ~~~~~~~~~~ window.c:2337:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int left = XINT (w->left); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2337:14: note: place parentheses around the '-' expression to silence this warning int left = XINT (w->left); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2337:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int left = XINT (w->left); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2337:14: note: place parentheses around the '-' expression to silence this warning int left = XINT (w->left); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2338:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int width = XINT (w->width); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2338:15: note: place parentheses around the '-' expression to silence this warning int width = XINT (w->width); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2338:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int width = XINT (w->width); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2338:15: note: place parentheses around the '-' expression to silence this warning int width = XINT (w->width); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2441:7: warning: implicit declaration of function 'record_unwind_protect' is invalid in C99 [-Wimplicit-function-declaration] record_unwind_protect (save_excursion_restore, save_excursion_save ()); ^ window.c:2456:39: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] window_scroll (selected_window, XINT (n) * direction, 0); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2456:39: note: place parentheses around the '-' expression to silence this warning window_scroll (selected_window, XINT (n) * direction, 0); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2456:39: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] window_scroll (selected_window, XINT (n) * direction, 0); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2456:39: note: place parentheses around the '-' expression to silence this warning window_scroll (selected_window, XINT (n) * direction, 0); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2567:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] window_scroll (window, XINT (n), 1); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2567:30: note: place parentheses around the '-' expression to silence this warning window_scroll (window, XINT (n), 1); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2567:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] window_scroll (window, XINT (n), 1); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2567:30: note: place parentheses around the '-' expression to silence this warning window_scroll (window, XINT (n), 1); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2590:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] make_number (XINT (XWINDOW (selected_window)->hscroll) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2590:18: note: place parentheses around the '-' expression to silence this warning make_number (XINT (XWINDOW (selected_window)->hscroll) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2590:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] make_number (XINT (XWINDOW (selected_window)->hscroll) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2590:18: note: place parentheses around the '-' expression to silence this warning make_number (XINT (XWINDOW (selected_window)->hscroll) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2591:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] + XINT (arg))); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2591:13: note: place parentheses around the '-' expression to silence this warning + XINT (arg))); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2591:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] + XINT (arg))); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2591:13: note: place parentheses around the '-' expression to silence this warning + XINT (arg))); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2607:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] make_number (XINT (XWINDOW (selected_window)->hscroll) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2607:18: note: place parentheses around the '-' expression to silence this warning make_number (XINT (XWINDOW (selected_window)->hscroll) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2607:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] make_number (XINT (XWINDOW (selected_window)->hscroll) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2607:18: note: place parentheses around the '-' expression to silence this warning make_number (XINT (XWINDOW (selected_window)->hscroll) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2608:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] - XINT (arg))); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2608:13: note: place parentheses around the '-' expression to silence this warning - XINT (arg))); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2608:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] - XINT (arg))); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2608:13: note: place parentheses around the '-' expression to silence this warning - XINT (arg))); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2642:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (n) < 0) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2642:7: note: place parentheses around the '-' expression to silence this warning if (XINT (n) < 0) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2642:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (n) < 0) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2642:7: note: place parentheses around the '-' expression to silence this warning if (XINT (n) < 0) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2643:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (n, XINT (n) + ht); ~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ window.c:2643:17: note: place parentheses around the '-' expression to silence this warning XSETINT (n, XINT (n) + ht); ~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ window.c:2643:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (n, XINT (n) + ht); ~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ window.c:2643:17: note: place parentheses around the '-' expression to silence this warning XSETINT (n, XINT (n) + ht); ~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ window.c:2645:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (n, - XINT (n)); ~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ window.c:2645:17: note: place parentheses around the '-' expression to silence this warning XSETINT (n, - XINT (n)); ~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ window.c:2645:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (n, - XINT (n)); ~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ window.c:2645:17: note: place parentheses around the '-' expression to silence this warning XSETINT (n, - XINT (n)); ~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ window.c:2677:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (arg) < 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2677:11: note: place parentheses around the '-' expression to silence this warning if (XINT (arg) < 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2677:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (arg) < 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ window.c:2677:11: note: place parentheses around the '-' expression to silence this warning if (XINT (arg) < 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ window.c:2678:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (arg, XINT (arg) + height); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ window.c:2678:16: note: place parentheses around the '-' expression to silence this warning XSETINT (arg, XINT (arg) + height); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ window.c:2678:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (arg, XINT (arg) + height); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ window.c:2678:16: note: place parentheses around the '-' expression to silence this warning XSETINT (arg, XINT (arg) + height); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ window.c:2801:2: warning: implicit declaration of function 'x_set_menu_bar_lines' is invalid in C99 [-Wimplicit-function-declaration] x_set_menu_bar_lines (f, data->frame_menu_bar_lines, 0); ^ window.c:2924:2: warning: implicit declaration of function 'Fredirect_frame_focus' is invalid in C99 [-Wimplicit-function-declaration] Fredirect_frame_focus (frame, data->focus_frame); ^ window.c:2953:5: warning: implicit declaration of function 'Fhandle_switch_frame' is invalid in C99 [-Wimplicit-function-declaration] Fhandle_switch_frame (data->selected_frame, Qnil); ^ window.c:3146:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_window_once () ^ window.c:3190:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ window.c:3192:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_window () ^ window.c:3339:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ window.c:3341:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] keys_of_window () ^ window.c:3343:3: warning: implicit declaration of function 'initial_define_key' is invalid in C99 [-Wimplicit-function-declaration] initial_define_key (control_x_map, '1', "delete-other-windows"); ^ window.c:3357:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 100 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include cm.c In file included from cm.c:22: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from cm.c:22: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ cm.c:41:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] evalcost (c) ^ cm.c:45:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cm.c:111:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cmcostinit () ^ cm.c:118:18: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] Wcm.cc_up = COST (Wcm.cm_up, evalcost); ^ cm.c:115:35: note: expanded from macro 'COST' #define COST(x,e) (x ? (cost = 0, tputs (x, 1, e), cost) : BIG) ^ cm.c:142:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cm.c:151:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] calccost (srcy, srcx, dsty, dstx, doit) ^ cm.c:387:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Wcm_clear () ^ cm.c:389:3: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero (&Wcm, sizeof Wcm); ^ cm.c:389:3: note: include the header or explicitly provide a declaration for 'bzero' cm.c:392:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cm.c:401:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Wcm_init () ^ 16 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include term.c term.c:41:1: warning: '/*' within block comment [-Wcomment] /* 92.11.30 modified for Mule Ver.0.9.7 by K.Handa ^ In file included from term.c:54: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from term.c:54: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from term.c:65: ./xterm.h:594:1: warning: '/*' within block comment [-Wcomment] /* Return the upper/left pixel position of the character cell on frame F ^ In file included from term.c:80: ./coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ term.c:357:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] OUTPUT (TS_visible_bell && visible_bell ? TS_visible_bell : TS_bell); ^ term.c:87:19: note: expanded from macro 'OUTPUT' #define OUTPUT(a) tputs (a, FRAME_HEIGHT (selected_frame) - curY, cmputc) ^ term.c:381:5: warning: implicit declaration of function 'turn_off_highlight' is invalid in C99 [-Wimplicit-function-declaration] turn_off_highlight (); ^ term.c:382:3: warning: implicit declaration of function 'turn_off_insert' is invalid in C99 [-Wimplicit-function-declaration] turn_off_insert (); ^ term.c:394:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_begin (f) ^ term.c:400:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ term.c:426:3: warning: implicit declaration of function 'set_scroll_region' is invalid in C99 [-Wimplicit-function-declaration] set_scroll_region (0, specified_window); ^ term.c:429:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_scroll_region (start, stop) ^ term.c:451:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ term.c:453:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] turn_on_insert () ^ term.c:458:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ term.c:460:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] turn_off_insert () ^ term.c:465:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ term.c:474:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] turn_off_highlight () ^ term.c:482:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ term.c:484:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] turn_on_highlight () ^ term.c:492:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ term.c:532:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] write_standout_marker (flag, vpos) ^ term.c:543:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ term.c:701:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clear_end_of_line (first_unused_hpos) ^ term.c:709:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ term.c:817:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] attr_cpy(ch) ^ term.c:821:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ term.c:837:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (attribute = TS_end_standout_mode) ATTRCPY (attribute); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ term.c:837:19: note: place parentheses around the assignment to silence this warning if (attribute = TS_end_standout_mode) ATTRCPY (attribute); ^ ( ) term.c:837:19: note: use '==' to turn this assignment into an equality comparison if (attribute = TS_end_standout_mode) ATTRCPY (attribute); ^ == term.c:839:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (attribute = TS_end_underscore_mode) ATTRCPY (attribute); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ term.c:839:19: note: place parentheses around the assignment to silence this warning if (attribute = TS_end_underscore_mode) ATTRCPY (attribute); ^ ( ) term.c:839:19: note: use '==' to turn this assignment into an equality comparison if (attribute = TS_end_underscore_mode) ATTRCPY (attribute); ^ == term.c:842:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (attribute = TS_end_bold_mode) ATTRCPY (attribute); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ term.c:842:19: note: place parentheses around the assignment to silence this warning if (attribute = TS_end_bold_mode) ATTRCPY (attribute); ^ ( ) term.c:842:19: note: use '==' to turn this assignment into an equality comparison if (attribute = TS_end_bold_mode) ATTRCPY (attribute); ^ == term.c:844:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (attribute = TS_end_italic_mode) ATTRCPY (attribute); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ term.c:844:19: note: place parentheses around the assignment to silence this warning if (attribute = TS_end_italic_mode) ATTRCPY (attribute); ^ ( ) term.c:844:19: note: use '==' to turn this assignment into an equality comparison if (attribute = TS_end_italic_mode) ATTRCPY (attribute); ^ == term.c:854:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (attribute = TS_standout_mode) ATTRCPY (attribute); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ term.c:854:19: note: place parentheses around the assignment to silence this warning if (attribute = TS_standout_mode) ATTRCPY (attribute); ^ ( ) term.c:854:19: note: use '==' to turn this assignment into an equality comparison if (attribute = TS_standout_mode) ATTRCPY (attribute); ^ == term.c:856:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (attribute = TS_underscore_mode) ATTRCPY (attribute); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ term.c:856:19: note: place parentheses around the assignment to silence this warning if (attribute = TS_underscore_mode) ATTRCPY (attribute); ^ ( ) term.c:856:19: note: use '==' to turn this assignment into an equality comparison if (attribute = TS_underscore_mode) ATTRCPY (attribute); ^ == term.c:859:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (attribute = TS_bold_mode) ATTRCPY (attribute); ~~~~~~~~~~^~~~~~~~~~~~~~ term.c:859:19: note: place parentheses around the assignment to silence this warning if (attribute = TS_bold_mode) ATTRCPY (attribute); ^ ( ) term.c:859:19: note: use '==' to turn this assignment into an equality comparison if (attribute = TS_bold_mode) ATTRCPY (attribute); ^ == term.c:861:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (attribute = TS_italic_mode) ATTRCPY (attribute); ~~~~~~~~~~^~~~~~~~~~~~~~~~ term.c:861:19: note: place parentheses around the assignment to silence this warning if (attribute = TS_italic_mode) ATTRCPY (attribute); ^ ( ) term.c:861:19: note: use '==' to turn this assignment into an equality comparison if (attribute = TS_italic_mode) ATTRCPY (attribute); ^ == term.c:902:5: warning: implicit declaration of function 'encode_code' is invalid in C99 [-Wimplicit-function-declaration] encode_code (Vdisplay_coding_system, &mccode); ^ term.c:921:13: warning: implicit declaration of function 'mchar_to_string' is invalid in C99 [-Wimplicit-function-declaration] c_bytes = CHARtoSTR (GLYPH_CHAR (selected_frame, g), buf); ^ ./charset.h:221:34: note: expanded from macro 'CHARtoSTR' *(s) = (unsigned int)(c), 1 : mchar_to_string(c, s)) ^ term.c:983:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = linecode_conversion (len, string, buffer); ^~~~~~ term.c:1011:4: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] GLYPH_FOLLOW_ALIASES (tbase, tlen, g); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:70:11: note: expanded from macro 'GLYPH_FOLLOW_ALIASES' (g) = GLYPH_ALIAS ((base), (g)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:64:30: note: expanded from macro 'GLYPH_ALIAS' #define GLYPH_ALIAS(base, g) XINT (base[g]) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ term.c:1011:4: note: place parentheses around the '-' expression to silence this warning GLYPH_FOLLOW_ALIASES (tbase, tlen, g); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:70:11: note: expanded from macro 'GLYPH_FOLLOW_ALIASES' (g) = GLYPH_ALIAS ((base), (g)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:64:30: note: expanded from macro 'GLYPH_ALIAS' #define GLYPH_ALIAS(base, g) XINT (base[g]) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ term.c:1011:4: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] GLYPH_FOLLOW_ALIASES (tbase, tlen, g); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:70:11: note: expanded from macro 'GLYPH_FOLLOW_ALIASES' (g) = GLYPH_ALIAS ((base), (g)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:64:30: note: expanded from macro 'GLYPH_ALIAS' #define GLYPH_ALIAS(base, g) XINT (base[g]) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ term.c:1011:4: note: place parentheses around the '-' expression to silence this warning GLYPH_FOLLOW_ALIASES (tbase, tlen, g); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:70:11: note: expanded from macro 'GLYPH_FOLLOW_ALIASES' (g) = GLYPH_ALIAS ((base), (g)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:64:30: note: expanded from macro 'GLYPH_ALIAS' #define GLYPH_ALIAS(base, g) XINT (base[g]) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ term.c:1067:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = linecode_conversion (len, start, buffer); ^~~~~~ term.c:1202:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register lower_limit ~~~~~~~~ ^ term.c:1345:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern do_line_insertion_deletion_costs (); ~~~~~~ ^ term.c:1541:25: warning: implicit declaration of function 'Fmake_sparse_keymap' is invalid in C99 [-Wimplicit-function-declaration] Vfunction_key_map = Fmake_sparse_keymap (Qnil); ^ term.c:1547:2: warning: implicit declaration of function 'Fdefine_key' is invalid in C99 [-Wimplicit-function-declaration] Fdefine_key (Vfunction_key_map, build_string (sequence), ^ term.c:1623:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ term.c:1626:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] term_init (terminal_type) ^ term.c:1638:12: warning: implicit declaration of function 'tgetent' is invalid in C99 [-Wimplicit-function-declaration] status = tgetent (buffer, terminal_type); ^ term.c:1640:5: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration] fatal ("Cannot open termcap database file.\n"); ^ term.c:1695:7: warning: implicit declaration of function 'tgetflag' is invalid in C99 [-Wimplicit-function-declaration] if (tgetflag ("bs")) ^ term.c:1741:3: warning: implicit declaration of function 'get_frame_size' is invalid in C99 [-Wimplicit-function-declaration] get_frame_size (&FRAME_WIDTH (selected_frame), ^ term.c:1744:36: warning: implicit declaration of function 'tgetnum' is invalid in C99 [-Wimplicit-function-declaration] FRAME_WIDTH (selected_frame) = tgetnum ("co"); ^ term.c:1896:13: warning: implicit declaration of function 'tabs_safe_p' is invalid in C99 [-Wimplicit-function-declaration] UseTabs = tabs_safe_p () && TabWidth == 8; ^ term.c:1912:3: warning: implicit declaration of function 'init_baud_rate' is invalid in C99 [-Wimplicit-function-declaration] init_baud_rate (); ^ term.c:1919:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ term.c:1922:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fatal (str, arg1, arg2) ^ term.c:1932:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_term () ^ term.c:1942:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 62 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include xterm.c In file included from xterm.c:27: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from xterm.c:27: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from xterm.c:43: ./xterm.h:594:1: warning: '/*' within block comment [-Wcomment] /* Return the upper/left pixel position of the character cell on frame F ^ In file included from xterm.c:47: ./coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ xterm.c:406:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XTupdate_begin (f) ^ xterm.c:453:3: warning: implicit declaration of function 'reinvoke_input_signal' is invalid in C99 [-Wimplicit-function-declaration] UNBLOCK_INPUT; ^ ./blockinput.h:73:8: note: expanded from macro 'UNBLOCK_INPUT' ? (reinvoke_input_signal (), 0) \ ^ xterm.c:454:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:461:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XTupdate_end (f) ^ xterm.c:472:3: warning: implicit declaration of function 'x_display_cursor' is invalid in C99 [-Wimplicit-function-declaration] x_display_cursor (f, 1); ^ xterm.c:489:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:494:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XTframe_up_to_date (f) ^ xterm.c:503:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:509:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XTreassert_line_highlight (new, vpos) ^ xterm.c:513:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:519:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XTchange_line_highlight (new_highlight, vpos, first_unused_hpos) ^ xterm.c:525:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:532:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XTset_terminal_modes () ^ xterm.c:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:541:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XTreset_terminal_modes () ^ xterm.c:544:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:567:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:631:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] GLYPH_FOLLOW_ALIASES (tbase, tlen, g); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:70:11: note: expanded from macro 'GLYPH_FOLLOW_ALIASES' (g) = GLYPH_ALIAS ((base), (g)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:64:30: note: expanded from macro 'GLYPH_ALIAS' #define GLYPH_ALIAS(base, g) XINT (base[g]) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:631:7: note: place parentheses around the '-' expression to silence this warning GLYPH_FOLLOW_ALIASES (tbase, tlen, g); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:70:11: note: expanded from macro 'GLYPH_FOLLOW_ALIASES' (g) = GLYPH_ALIAS ((base), (g)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:64:30: note: expanded from macro 'GLYPH_ALIAS' #define GLYPH_ALIAS(base, g) XINT (base[g]) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:631:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] GLYPH_FOLLOW_ALIASES (tbase, tlen, g); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:70:11: note: expanded from macro 'GLYPH_FOLLOW_ALIASES' (g) = GLYPH_ALIAS ((base), (g)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:64:30: note: expanded from macro 'GLYPH_ALIAS' #define GLYPH_ALIAS(base, g) XINT (base[g]) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:631:7: note: place parentheses around the '-' expression to silence this warning GLYPH_FOLLOW_ALIASES (tbase, tlen, g); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:70:11: note: expanded from macro 'GLYPH_FOLLOW_ALIASES' (g) = GLYPH_ALIAS ((base), (g)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:64:30: note: expanded from macro 'GLYPH_ALIAS' #define GLYPH_ALIAS(base, g) XINT (base[g]) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:659:4: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] GLYPH_FOLLOW_ALIASES (tbase, tlen, g); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:70:11: note: expanded from macro 'GLYPH_FOLLOW_ALIASES' (g) = GLYPH_ALIAS ((base), (g)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:64:30: note: expanded from macro 'GLYPH_ALIAS' #define GLYPH_ALIAS(base, g) XINT (base[g]) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:659:4: note: place parentheses around the '-' expression to silence this warning GLYPH_FOLLOW_ALIASES (tbase, tlen, g); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:70:11: note: expanded from macro 'GLYPH_FOLLOW_ALIASES' (g) = GLYPH_ALIAS ((base), (g)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:64:30: note: expanded from macro 'GLYPH_ALIAS' #define GLYPH_ALIAS(base, g) XINT (base[g]) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:659:4: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] GLYPH_FOLLOW_ALIASES (tbase, tlen, g); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:70:11: note: expanded from macro 'GLYPH_FOLLOW_ALIASES' (g) = GLYPH_ALIAS ((base), (g)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:64:30: note: expanded from macro 'GLYPH_ALIAS' #define GLYPH_ALIAS(base, g) XINT (base[g]) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:659:4: note: place parentheses around the '-' expression to silence this warning GLYPH_FOLLOW_ALIASES (tbase, tlen, g); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:70:11: note: expanded from macro 'GLYPH_FOLLOW_ALIASES' (g) = GLYPH_ALIAS ((base), (g)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./disptab.h:64:30: note: expanded from macro 'GLYPH_ALIAS' #define GLYPH_ALIAS(base, g) XINT (base[g]) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:668:23: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((!cmpchar_flag && (FAST_GLYPH_FACE (g) != cf) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xterm.c:668:23: note: place parentheses around the '&&' expression to silence this warning if ((!cmpchar_flag && (FAST_GLYPH_FACE (g) != cf) ^ ( ) xterm.c:788:10: warning: implicit declaration of function 'fs_load_font' is invalid in C99 [-Wimplicit-function-declaration] if (fs_load_font(fsID, lc, ^ xterm.c:818:5: warning: implicit declaration of function 'ccl_driver' is invalid in C99 [-Wimplicit-function-declaration] ccl_driver (ccl, (char *)0, (char *)0, 0, 0); ^ xterm.c:1009:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XTwrite_glyphs (start, len) ^ xterm.c:1050:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:1104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XTclear_frame () ^ xterm.c:1122:3: warning: implicit declaration of function 'x_scroll_bar_clear' is invalid in C99 [-Wimplicit-function-declaration] x_scroll_bar_clear (f); ^ xterm.c:1130:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:1343:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XTflash (f) ^ xterm.c:1407:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:1443:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XTinsert_glyphs (start, len) ^ xterm.c:1451:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XTdelete_glyphs (n) ^ xterm.c:1463:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XTset_terminal_window (n) ^ xterm.c:1473:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:1616:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XTins_del_lines (vpos, n) ^ xterm.c:1634:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:1933:2: warning: implicit declaration of function 'x_lower_frame' is invalid in C99 [-Wimplicit-function-declaration] x_lower_frame (old_focus); ^ xterm.c:2232:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:2255:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:2429:16: warning: implicit declaration of function 'overlays_at' is invalid in C99 [-Wimplicit-function-declaration] noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, &ignor1); ^ xterm.c:2429:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, &ignor1); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2429:29: note: place parentheses around the '-' expression to silence this warning noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, &ignor1); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2429:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, &ignor1); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2429:29: note: place parentheses around the '-' expression to silence this warning noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, &ignor1); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2430:16: warning: implicit declaration of function 'sort_overlays' is invalid in C99 [-Wimplicit-function-declaration] noverlays = sort_overlays (overlay_vec, noverlays, w); ^ xterm.c:2446:19: warning: implicit declaration of function 'Fget_text_property' is invalid in C99 [-Wimplicit-function-declaration] mouse_face = Fget_text_property (position, Qmouse_face, w->buffer); ^ xterm.c:2456:17: warning: implicit declaration of function 'Foverlay_start' is invalid in C99 [-Wimplicit-function-declaration] before = Foverlay_start (overlay); ^ xterm.c:2457:16: warning: implicit declaration of function 'Foverlay_end' is invalid in C99 [-Wimplicit-function-declaration] after = Foverlay_end (overlay); ^ xterm.c:2484:5: warning: implicit declaration of function 'Fprevious_single_property_change' is invalid in C99 [-Wimplicit-function-declaration] = Fprevious_single_property_change (make_number (pos + 1), ^ xterm.c:2849:6: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)) == window_id) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2849:6: note: place parentheses around the '-' expression to silence this warning if (SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)) == window_id) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2849:6: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)) == window_id) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2849:6: note: place parentheses around the '-' expression to silence this warning if (SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)) == window_id) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2849:6: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)) == window_id) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2849:6: note: place parentheses around the '-' expression to silence this warning if (SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)) == window_id) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2849:6: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)) == window_id) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2849:6: note: place parentheses around the '-' expression to silence this warning if (SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)) == window_id) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2924:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XMapWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2924:34: note: place parentheses around the '-' expression to silence this warning XMapWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2924:34: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XMapWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2924:34: note: place parentheses around the '-' expression to silence this warning XMapWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2924:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XMapWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2924:34: note: place parentheses around the '-' expression to silence this warning XMapWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2924:34: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XMapWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2924:34: note: place parentheses around the '-' expression to silence this warning XMapWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2949:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2949:14: note: place parentheses around the '-' expression to silence this warning Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2949:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2949:14: note: place parentheses around the '-' expression to silence this warning Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2949:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2949:14: note: place parentheses around the '-' expression to silence this warning Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2949:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2949:14: note: place parentheses around the '-' expression to silence this warning Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2954:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && start == XINT (bar->start) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2954:19: note: place parentheses around the '-' expression to silence this warning && start == XINT (bar->start) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2954:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && start == XINT (bar->start) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2954:19: note: place parentheses around the '-' expression to silence this warning && start == XINT (bar->start) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2955:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && end == XINT (bar->end)) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2955:17: note: place parentheses around the '-' expression to silence this warning && end == XINT (bar->end)) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2955:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && end == XINT (bar->end)) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:2955:17: note: place parentheses around the '-' expression to silence this warning && end == XINT (bar->end)) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:2961:58: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int inside_width = VERTICAL_SCROLL_BAR_INSIDE_WIDTH (XINT (bar->width)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./xterm.h:552:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_WIDTH' ((width) - VERTICAL_SCROLL_BAR_LEFT_BORDER - VERTICAL_SCROLL_BAR_RIGHT_BORDER) ^~~~~ xterm.c:2961:58: note: place parentheses around the '-' expression to silence this warning int inside_width = VERTICAL_SCROLL_BAR_INSIDE_WIDTH (XINT (bar->width)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./xterm.h:552:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_WIDTH' ((width) - VERTICAL_SCROLL_BAR_LEFT_BORDER - VERTICAL_SCROLL_BAR_RIGHT_BORDER) ^~~~~ xterm.c:2961:58: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int inside_width = VERTICAL_SCROLL_BAR_INSIDE_WIDTH (XINT (bar->width)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./xterm.h:552:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_WIDTH' ((width) - VERTICAL_SCROLL_BAR_LEFT_BORDER - VERTICAL_SCROLL_BAR_RIGHT_BORDER) ^~~~~ xterm.c:2961:58: note: place parentheses around the '-' expression to silence this warning int inside_width = VERTICAL_SCROLL_BAR_INSIDE_WIDTH (XINT (bar->width)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./xterm.h:552:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_WIDTH' ((width) - VERTICAL_SCROLL_BAR_LEFT_BORDER - VERTICAL_SCROLL_BAR_RIGHT_BORDER) ^~~~~ xterm.c:2962:60: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int inside_height = VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:2962:60: note: place parentheses around the '-' expression to silence this warning int inside_height = VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:2962:60: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int inside_height = VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:2962:60: note: place parentheses around the '-' expression to silence this warning int inside_height = VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:2963:52: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./xterm.h:562:39: note: expanded from macro 'VERTICAL_SCROLL_BAR_TOP_RANGE' (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (height) - VERTICAL_SCROLL_BAR_MIN_HANDLE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:2963:52: note: place parentheses around the '-' expression to silence this warning int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./xterm.h:562:39: note: expanded from macro 'VERTICAL_SCROLL_BAR_TOP_RANGE' (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (height) - VERTICAL_SCROLL_BAR_MIN_HANDLE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:2963:52: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./xterm.h:562:39: note: expanded from macro 'VERTICAL_SCROLL_BAR_TOP_RANGE' (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (height) - VERTICAL_SCROLL_BAR_MIN_HANDLE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:2963:52: note: place parentheses around the '-' expression to silence this warning int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./xterm.h:562:39: note: expanded from macro 'VERTICAL_SCROLL_BAR_TOP_RANGE' (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (height) - VERTICAL_SCROLL_BAR_MIN_HANDLE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3049:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (left != XINT (bar->left)) mask |= CWX; ^~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3049:17: note: place parentheses around the '-' expression to silence this warning if (left != XINT (bar->left)) mask |= CWX; ^~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3049:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (left != XINT (bar->left)) mask |= CWX; ^~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3049:17: note: place parentheses around the '-' expression to silence this warning if (left != XINT (bar->left)) mask |= CWX; ^~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3050:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (top != XINT (bar->top)) mask |= CWY; ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3050:16: note: place parentheses around the '-' expression to silence this warning if (top != XINT (bar->top)) mask |= CWY; ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3050:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (top != XINT (bar->top)) mask |= CWY; ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3050:16: note: place parentheses around the '-' expression to silence this warning if (top != XINT (bar->top)) mask |= CWY; ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3051:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (width != XINT (bar->width)) mask |= CWWidth; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3051:18: note: place parentheses around the '-' expression to silence this warning if (width != XINT (bar->width)) mask |= CWWidth; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3051:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (width != XINT (bar->width)) mask |= CWWidth; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3051:18: note: place parentheses around the '-' expression to silence this warning if (width != XINT (bar->width)) mask |= CWWidth; ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3052:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (height != XINT (bar->height)) mask |= CWHeight; ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3052:19: note: place parentheses around the '-' expression to silence this warning if (height != XINT (bar->height)) mask |= CWHeight; ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3052:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (height != XINT (bar->height)) mask |= CWHeight; ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3052:19: note: place parentheses around the '-' expression to silence this warning if (height != XINT (bar->height)) mask |= CWHeight; ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3055:44: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XConfigureWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3055:44: note: place parentheses around the '-' expression to silence this warning XConfigureWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3055:44: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XConfigureWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3055:44: note: place parentheses around the '-' expression to silence this warning XConfigureWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3055:44: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XConfigureWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3055:44: note: place parentheses around the '-' expression to silence this warning XConfigureWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3055:44: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XConfigureWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3055:44: note: place parentheses around the '-' expression to silence this warning XConfigureWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3078:38: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XDestroyWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3078:38: note: place parentheses around the '-' expression to silence this warning XDestroyWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3078:38: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XDestroyWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3078:38: note: place parentheses around the '-' expression to silence this warning XDestroyWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3078:38: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XDestroyWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3078:38: note: place parentheses around the '-' expression to silence this warning XDestroyWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3078:38: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XDestroyWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3078:38: note: place parentheses around the '-' expression to silence this warning XDestroyWindow (x_current_display, SCROLL_BAR_X_WINDOW (bar)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3096:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int top = XINT (window->top); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3096:13: note: place parentheses around the '-' expression to silence this warning int top = XINT (window->top); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3096:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int top = XINT (window->top); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3096:13: note: place parentheses around the '-' expression to silence this warning int top = XINT (window->top); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3097:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:570:6: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' (((XINT ((w)->left) + XINT ((w)->width)) \ ^~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3097:14: note: place parentheses around the '-' expression to silence this warning int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:570:6: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' (((XINT ((w)->left) + XINT ((w)->width)) \ ^~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3097:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:570:6: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' (((XINT ((w)->left) + XINT ((w)->width)) \ ^~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3097:14: note: place parentheses around the '-' expression to silence this warning int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:570:6: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' (((XINT ((w)->left) + XINT ((w)->width)) \ ^~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3097:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:570:25: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' (((XINT ((w)->left) + XINT ((w)->width)) \ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3097:14: note: place parentheses around the '-' expression to silence this warning int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:570:25: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' (((XINT ((w)->left) + XINT ((w)->width)) \ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3097:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:570:25: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' (((XINT ((w)->left) + XINT ((w)->width)) \ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3097:14: note: place parentheses around the '-' expression to silence this warning int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:570:25: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' (((XINT ((w)->left) + XINT ((w)->width)) \ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3097:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:572:6: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' ? XINT ((w)->left) + XINT ((w)->width) - VERTICAL_SCROLL_BAR_WIDTH \ ^~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3097:14: note: place parentheses around the '-' expression to silence this warning int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:572:6: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' ? XINT ((w)->left) + XINT ((w)->width) - VERTICAL_SCROLL_BAR_WIDTH \ ^~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3097:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:572:6: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' ? XINT ((w)->left) + XINT ((w)->width) - VERTICAL_SCROLL_BAR_WIDTH \ ^~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3097:14: note: place parentheses around the '-' expression to silence this warning int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:572:6: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' ? XINT ((w)->left) + XINT ((w)->width) - VERTICAL_SCROLL_BAR_WIDTH \ ^~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3097:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:572:25: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' ? XINT ((w)->left) + XINT ((w)->width) - VERTICAL_SCROLL_BAR_WIDTH \ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3097:14: note: place parentheses around the '-' expression to silence this warning int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:572:25: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' ? XINT ((w)->left) + XINT ((w)->width) - VERTICAL_SCROLL_BAR_WIDTH \ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3097:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:572:25: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' ? XINT ((w)->left) + XINT ((w)->width) - VERTICAL_SCROLL_BAR_WIDTH \ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3097:14: note: place parentheses around the '-' expression to silence this warning int left = WINDOW_VERTICAL_SCROLL_BAR_COLUMN (window); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./frame.h:572:25: note: expanded from macro 'WINDOW_VERTICAL_SCROLL_BAR_COLUMN' ? XINT ((w)->left) + XINT ((w)->width) - VERTICAL_SCROLL_BAR_WIDTH \ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3253:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3253:14: note: place parentheses around the '-' expression to silence this warning Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3253:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3253:14: note: place parentheses around the '-' expression to silence this warning Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3253:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3253:14: note: place parentheses around the '-' expression to silence this warning Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3253:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3253:14: note: place parentheses around the '-' expression to silence this warning Window w = SCROLL_BAR_X_WINDOW (bar); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3258:33: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_scroll_bar_set_handle (bar, XINT (bar->start), XINT (bar->end), 1); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3258:33: note: place parentheses around the '-' expression to silence this warning x_scroll_bar_set_handle (bar, XINT (bar->start), XINT (bar->end), 1); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3258:33: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_scroll_bar_set_handle (bar, XINT (bar->start), XINT (bar->end), 1); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3258:33: note: place parentheses around the '-' expression to silence this warning x_scroll_bar_set_handle (bar, XINT (bar->start), XINT (bar->end), 1); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3258:52: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_scroll_bar_set_handle (bar, XINT (bar->start), XINT (bar->end), 1); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3258:52: note: place parentheses around the '-' expression to silence this warning x_scroll_bar_set_handle (bar, XINT (bar->start), XINT (bar->end), 1); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3258:52: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_scroll_bar_set_handle (bar, XINT (bar->start), XINT (bar->end), 1); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3258:52: note: place parentheses around the '-' expression to silence this warning x_scroll_bar_set_handle (bar, XINT (bar->start), XINT (bar->end), 1); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3264:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 0, 0, XINT (bar->width) - 1, XINT (bar->height) - 1); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3264:11: note: place parentheses around the '-' expression to silence this warning 0, 0, XINT (bar->width) - 1, XINT (bar->height) - 1); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3264:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 0, 0, XINT (bar->width) - 1, XINT (bar->height) - 1); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3264:11: note: place parentheses around the '-' expression to silence this warning 0, 0, XINT (bar->width) - 1, XINT (bar->height) - 1); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3264:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 0, 0, XINT (bar->width) - 1, XINT (bar->height) - 1); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3264:34: note: place parentheses around the '-' expression to silence this warning 0, 0, XINT (bar->width) - 1, XINT (bar->height) - 1); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3264:34: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 0, 0, XINT (bar->width) - 1, XINT (bar->height) - 1); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3264:34: note: place parentheses around the '-' expression to silence this warning 0, 0, XINT (bar->width) - 1, XINT (bar->height) - 1); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3294:42: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3294:42: note: place parentheses around the '-' expression to silence this warning VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3294:42: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3294:42: note: place parentheses around the '-' expression to silence this warning VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3296:38: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] VERTICAL_SCROLL_BAR_TOP_RANGE (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./xterm.h:562:39: note: expanded from macro 'VERTICAL_SCROLL_BAR_TOP_RANGE' (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (height) - VERTICAL_SCROLL_BAR_MIN_HANDLE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3296:38: note: place parentheses around the '-' expression to silence this warning VERTICAL_SCROLL_BAR_TOP_RANGE (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./xterm.h:562:39: note: expanded from macro 'VERTICAL_SCROLL_BAR_TOP_RANGE' (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (height) - VERTICAL_SCROLL_BAR_MIN_HANDLE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3296:38: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] VERTICAL_SCROLL_BAR_TOP_RANGE (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./xterm.h:562:39: note: expanded from macro 'VERTICAL_SCROLL_BAR_TOP_RANGE' (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (height) - VERTICAL_SCROLL_BAR_MIN_HANDLE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3296:38: note: place parentheses around the '-' expression to silence this warning VERTICAL_SCROLL_BAR_TOP_RANGE (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./xterm.h:562:39: note: expanded from macro 'VERTICAL_SCROLL_BAR_TOP_RANGE' (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (height) - VERTICAL_SCROLL_BAR_MIN_HANDLE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3302:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (y < XINT (bar->start)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3302:13: note: place parentheses around the '-' expression to silence this warning if (y < XINT (bar->start)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3302:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (y < XINT (bar->start)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3302:13: note: place parentheses around the '-' expression to silence this warning if (y < XINT (bar->start)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3304:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (y < XINT (bar->end) + VERTICAL_SCROLL_BAR_MIN_HANDLE) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3304:18: note: place parentheses around the '-' expression to silence this warning else if (y < XINT (bar->end) + VERTICAL_SCROLL_BAR_MIN_HANDLE) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3304:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (y < XINT (bar->end) + VERTICAL_SCROLL_BAR_MIN_HANDLE) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3304:18: note: place parentheses around the '-' expression to silence this warning else if (y < XINT (bar->end) + VERTICAL_SCROLL_BAR_MIN_HANDLE) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3324:22: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_start = y - XINT (bar->dragging); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3324:22: note: place parentheses around the '-' expression to silence this warning int new_start = y - XINT (bar->dragging); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3324:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_start = y - XINT (bar->dragging); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3324:22: note: place parentheses around the '-' expression to silence this warning int new_start = y - XINT (bar->dragging); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3325:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3325:29: note: place parentheses around the '-' expression to silence this warning int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3325:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3325:29: note: place parentheses around the '-' expression to silence this warning int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3325:47: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3325:47: note: place parentheses around the '-' expression to silence this warning int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3325:47: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3325:47: note: place parentheses around the '-' expression to silence this warning int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3365:42: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_start = event->xmotion.y - XINT (bar->dragging); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3365:42: note: place parentheses around the '-' expression to silence this warning int new_start = event->xmotion.y - XINT (bar->dragging); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3365:42: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_start = event->xmotion.y - XINT (bar->dragging); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3365:42: note: place parentheses around the '-' expression to silence this warning int new_start = event->xmotion.y - XINT (bar->dragging); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3367:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (new_start != XINT (bar->start)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3367:24: note: place parentheses around the '-' expression to silence this warning if (new_start != XINT (bar->start)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3367:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (new_start != XINT (bar->start)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3367:24: note: place parentheses around the '-' expression to silence this warning if (new_start != XINT (bar->start)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3369:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3369:31: note: place parentheses around the '-' expression to silence this warning int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3369:31: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3369:31: note: place parentheses around the '-' expression to silence this warning int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3369:49: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3369:49: note: place parentheses around the '-' expression to silence this warning int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3369:49: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3369:49: note: place parentheses around the '-' expression to silence this warning int new_end = new_start + (XINT (bar->end) - XINT (bar->start)); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3409:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3409:10: note: place parentheses around the '-' expression to silence this warning SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3409:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3409:10: note: place parentheses around the '-' expression to silence this warning SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3409:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3409:10: note: place parentheses around the '-' expression to silence this warning SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3409:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3409:10: note: place parentheses around the '-' expression to silence this warning SCROLL_BAR_X_WINDOW (bar), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3424:39: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] = VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3424:39: note: place parentheses around the '-' expression to silence this warning = VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3424:39: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] = VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3424:39: note: place parentheses around the '-' expression to silence this warning = VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3426:39: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] = VERTICAL_SCROLL_BAR_TOP_RANGE (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./xterm.h:562:39: note: expanded from macro 'VERTICAL_SCROLL_BAR_TOP_RANGE' (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (height) - VERTICAL_SCROLL_BAR_MIN_HANDLE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3426:39: note: place parentheses around the '-' expression to silence this warning = VERTICAL_SCROLL_BAR_TOP_RANGE (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./xterm.h:562:39: note: expanded from macro 'VERTICAL_SCROLL_BAR_TOP_RANGE' (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (height) - VERTICAL_SCROLL_BAR_MIN_HANDLE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3426:39: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] = VERTICAL_SCROLL_BAR_TOP_RANGE (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./xterm.h:562:39: note: expanded from macro 'VERTICAL_SCROLL_BAR_TOP_RANGE' (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (height) - VERTICAL_SCROLL_BAR_MIN_HANDLE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3426:39: note: place parentheses around the '-' expression to silence this warning = VERTICAL_SCROLL_BAR_TOP_RANGE (XINT (bar->height)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./xterm.h:562:39: note: expanded from macro 'VERTICAL_SCROLL_BAR_TOP_RANGE' (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (height) - VERTICAL_SCROLL_BAR_MIN_HANDLE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./xterm.h:567:5: note: expanded from macro 'VERTICAL_SCROLL_BAR_INSIDE_HEIGHT' ((height) - VERTICAL_SCROLL_BAR_TOP_BORDER - VERTICAL_SCROLL_BAR_BOTTOM_BORDER) ^~~~~~ xterm.c:3431:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] win_y -= XINT (bar->dragging); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3431:11: note: place parentheses around the '-' expression to silence this warning win_y -= XINT (bar->dragging); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3431:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] win_y -= XINT (bar->dragging); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3431:11: note: place parentheses around the '-' expression to silence this warning win_y -= XINT (bar->dragging); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3443:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (win_y < XINT (bar->start)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3443:24: note: place parentheses around the '-' expression to silence this warning else if (win_y < XINT (bar->start)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3443:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (win_y < XINT (bar->start)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3443:24: note: place parentheses around the '-' expression to silence this warning else if (win_y < XINT (bar->start)) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3445:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (win_y < XINT (bar->end) + VERTICAL_SCROLL_BAR_MIN_HANDLE) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3445:24: note: place parentheses around the '-' expression to silence this warning else if (win_y < XINT (bar->end) + VERTICAL_SCROLL_BAR_MIN_HANDLE) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3445:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (win_y < XINT (bar->end) + VERTICAL_SCROLL_BAR_MIN_HANDLE) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3445:24: note: place parentheses around the '-' expression to silence this warning else if (win_y < XINT (bar->end) + VERTICAL_SCROLL_BAR_MIN_HANDLE) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3468:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_scroll_bar_clear (f) ^ xterm.c:3476:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XClearArea (x_current_display, SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3476:36: note: place parentheses around the '-' expression to silence this warning XClearArea (x_current_display, SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3476:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XClearArea (x_current_display, SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3476:36: note: place parentheses around the '-' expression to silence this warning XClearArea (x_current_display, SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3476:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XClearArea (x_current_display, SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3476:36: note: place parentheses around the '-' expression to silence this warning XClearArea (x_current_display, SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3476:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XClearArea (x_current_display, SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xterm.c:3476:36: note: place parentheses around the '-' expression to silence this warning XClearArea (x_current_display, SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xterm.c:3478:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:3788:4: warning: implicit declaration of function 'x_handle_selection_notify' is invalid in C99 [-Wimplicit-function-declaration] x_handle_selection_notify (&event); ^ xterm.c:3846:4: warning: implicit declaration of function 'x_handle_property_notify' is invalid in C99 [-Wimplicit-function-declaration] x_handle_property_notify (&event); ^ xterm.c:3855:8: warning: implicit declaration of function 'x_real_positions' is invalid in C99 [-Wimplicit-function-declaration] x_real_positions (f, &x, &y); ^ xterm.c:4035:31: warning: passing 'unsigned char [81]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] XLookupString (&event.xkey, copy_buffer, 80, &keysym, ^~~~~~~~~~~ /data/scratch/editors/mule/work/.buildlink/include/X11/Xutil.h:536:31: note: passing argument to parameter here char* /* buffer_return */, ^ xterm.c:4488:42: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XButtonEvent *' [-Wincompatible-pointer-types] construct_mouse_click (&emacs_event, &event, f); ^~~~~~ xterm.c:4503:10: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XButtonEvent *' [-Wincompatible-pointer-types] &event, f); ^~~~~~ xterm.c:4664:7: warning: implicit declaration of function 'x_raise_frame' is invalid in C99 [-Wimplicit-function-declaration] x_raise_frame (pending_autoraise_frame); ^ xterm.c:5009:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_display_cursor (f, on) ^ xterm.c:5024:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:5031:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] refreshicon (f) ^ xterm.c:5066:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:5084:9: warning: passing 'unsigned char [350]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] gnu_bits, gnu_width, gnu_height); ^~~~~~~~ /data/scratch/editors/mule/work/.buildlink/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ xterm.c:5085:3: warning: implicit declaration of function 'x_wm_set_icon_pixmap' is invalid in C99 [-Wimplicit-function-declaration] x_wm_set_icon_pixmap (f, icon_bitmap); ^ xterm.c:5236:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:5255:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:5271:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:5397:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = (char *)index(p, '-')) p++; ~~^~~~~~~~~~~~~~~~~~~~~~~ xterm.c:5397:8: note: place parentheses around the assignment to silence this warning if (p = (char *)index(p, '-')) p++; ^ ( ) xterm.c:5397:8: note: use '==' to turn this assignment into an equality comparison if (p = (char *)index(p, '-')) p++; ^ == xterm.c:5442:22: warning: equality comparison result unused [-Wunused-comparison] fontinfo->status == FONT_NOT_FOUND; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ xterm.c:5442:22: note: use '=' to turn this equality comparison into an assignment fontinfo->status == FONT_NOT_FOUND; ^~ = xterm.c:5481:14: warning: implicit declaration of function 'query_fontset' is invalid in C99 [-Wimplicit-function-declaration] int fsID = query_fontset(fontname); ^ xterm.c:5484:12: warning: implicit declaration of function 'find_fontset_from_font' is invalid in C99 [-Wimplicit-function-declaration] fsID = find_fontset_from_font(fontname, LCASCII); ^ xterm.c:5490:12: warning: implicit declaration of function 'load_query_fontset' is invalid in C99 [-Wimplicit-function-declaration] fsID = load_query_fontset(fontname, fontnames); ^ xterm.c:5507:7: warning: implicit declaration of function 'frame_update_line_height' is invalid in C99 [-Wimplicit-function-declaration] frame_update_line_height (f); ^ xterm.c:5508:7: warning: implicit declaration of function 'x_set_window_size' is invalid in C99 [-Wimplicit-function-declaration] x_set_window_size (f, 0, f->width, f->height); ^ xterm.c:5736:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_calc_absolute_position (f) ^ xterm.c:5793:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:5800:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_set_offset (f, xoff, yoff, change_gravity) ^ xterm.c:5819:3: warning: implicit declaration of function 'x_wm_set_size_hint' is invalid in C99 [-Wimplicit-function-declaration] x_wm_set_size_hint (f, 0, 0); ^ xterm.c:5829:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:5836:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_set_window_size (f, change_gravity, cols, rows) ^ xterm.c:5853:5: warning: implicit declaration of function 'EmacsFrameSetCharSize' is invalid in C99 [-Wimplicit-function-declaration] EmacsFrameSetCharSize (f->display.x->edit_widget, cols, rows); ^ xterm.c:5909:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:5961:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_focus_on_frame (f) ^ xterm.c:5974:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:5976:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_unfocus_frame (f) ^ xterm.c:5985:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:5991:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_raise_frame (f) ^ xterm.c:6005:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:6009:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_lower_frame (f) ^ xterm.c:6023:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:6040:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_make_frame_visible (f) ^ xterm.c:6056:2: warning: implicit declaration of function 'x_wm_set_window_state' is invalid in C99 [-Wimplicit-function-declaration] x_wm_set_window_state (f, NormalState); ^ xterm.c:6095:2: warning: implicit declaration of function 'x_sync' is invalid in C99 [-Wimplicit-function-declaration] x_sync (frame); ^ xterm.c:6101:6: warning: implicit declaration of function 'input_polling_used' is invalid in C99 [-Wimplicit-function-declaration] if (input_polling_used ()) ^ xterm.c:6105:6: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] alarm (0); ^ xterm.c:6106:6: warning: implicit declaration of function 'input_poll_signal' is invalid in C99 [-Wimplicit-function-declaration] input_poll_signal (); ^ xterm.c:6111:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:6115:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_make_frame_invisible (f) ^ xterm.c:6201:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:6311:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_destroy_window (f) ^ xterm.c:6342:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xterm.c:6428:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_wm_set_size_hint (f, flags, user_position) ^ xterm.c:6542:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:6545:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_wm_set_window_state (f, state) ^ xterm.c:6562:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:6564:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_wm_set_icon_pixmap (f, icon_pixmap) ^ xterm.c:6583:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:6585:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_wm_set_icon_position (f, icon_x, icon_y) ^ xterm.c:6600:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xterm.c:6669:5: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration] fatal ("X server %s not responding.\n\ ^ xterm.c:6699:5: warning: implicit declaration of function 'change_keyboard_wait_descriptor' is invalid in C99 [-Wimplicit-function-declaration] change_keyboard_wait_descriptor (ConnectionNumber (x_current_display)); ^ xterm.c:6700:3: warning: implicit declaration of function 'change_input_fd' is invalid in C99 [-Wimplicit-function-declaration] change_input_fd (ConnectionNumber (x_current_display)); ^ xterm.c:6711:58: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] fcntl (ConnectionNumber (x_current_display), F_SETOWN, getpid ()); ^ xterm.c:6717:3: warning: implicit declaration of function 'init_sigio' is invalid in C99 [-Wimplicit-function-declaration] init_sigio (); ^ xterm.c:6723:26: warning: incompatible pointer types assigning to 'int (*)()' from 'void (int)' [-Wincompatible-pointer-types] clear_end_of_line_hook = XTclear_end_of_line; ^ ~~~~~~~~~~~~~~~~~~~ xterm.c:6729:18: warning: incompatible pointer types assigning to 'int (*)()' from 'void (void)' [-Wincompatible-pointer-types] ring_bell_hook = XTring_bell; ^ ~~~~~~~~~~~ xterm.c:6762:3: warning: implicit declaration of function 'Fset_input_mode' is invalid in C99 [-Wimplicit-function-declaration] Fset_input_mode (Qt, Qnil, Qt, Qnil); ^ 224 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include xfns.c In file included from xfns.c:25: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from xfns.c:25: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from xfns.c:37: ./xterm.h:594:1: warning: '/*' within block comment [-Wcomment] /* Return the upper/left pixel position of the character cell on frame F ^ xfns.c:483:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_x_parm_symbols () ^ xfns.c:490:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xfns.c:559:16: warning: implicit declaration of function 'get_frame_param' is invalid in C99 [-Wimplicit-function-declaration] old_value = get_frame_param (f, prop); ^ xfns.c:560:4: warning: implicit declaration of function 'store_frame_param' is invalid in C99 [-Wimplicit-function-declaration] store_frame_param (f, prop, val); ^ xfns.c:562:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (param_index) >= 0 ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:562:11: note: place parentheses around the '-' expression to silence this warning && XINT (param_index) >= 0 ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:562:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (param_index) >= 0 ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:562:11: note: place parentheses around the '-' expression to silence this warning && XINT (param_index) >= 0 ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:563:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && (XINT (param_index) ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:563:12: note: place parentheses around the '-' expression to silence this warning && (XINT (param_index) ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:563:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && (XINT (param_index) ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:563:12: note: place parentheses around the '-' expression to silence this warning && (XINT (param_index) ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:565:22: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] (*x_frame_parms[XINT (param_index)].setter)(f, val, old_value); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:565:22: note: place parentheses around the '-' expression to silence this warning (*x_frame_parms[XINT (param_index)].setter)(f, val, old_value); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:565:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] (*x_frame_parms[XINT (param_index)].setter)(f, val, old_value); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:565:22: note: place parentheses around the '-' expression to silence this warning (*x_frame_parms[XINT (param_index)].setter)(f, val, old_value); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:596:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if ((NUMBERP (width) && XINT (width) != FRAME_WIDTH (f)) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:596:29: note: place parentheses around the '-' expression to silence this warning if ((NUMBERP (width) && XINT (width) != FRAME_WIDTH (f)) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:596:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if ((NUMBERP (width) && XINT (width) != FRAME_WIDTH (f)) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:596:29: note: place parentheses around the '-' expression to silence this warning if ((NUMBERP (width) && XINT (width) != FRAME_WIDTH (f)) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:597:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || (NUMBERP (height) && XINT (height) != FRAME_HEIGHT (f))) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:597:26: note: place parentheses around the '-' expression to silence this warning || (NUMBERP (height) && XINT (height) != FRAME_HEIGHT (f))) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:597:26: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || (NUMBERP (height) && XINT (height) != FRAME_HEIGHT (f))) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:597:26: note: place parentheses around the '-' expression to silence this warning || (NUMBERP (height) && XINT (height) != FRAME_HEIGHT (f))) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:601:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && ! (NUMBERP (left) && XINT (left) == f->display.x->left_pos ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:601:26: note: place parentheses around the '-' expression to silence this warning && ! (NUMBERP (left) && XINT (left) == f->display.x->left_pos ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:601:26: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && ! (NUMBERP (left) && XINT (left) == f->display.x->left_pos ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:601:26: note: place parentheses around the '-' expression to silence this warning && ! (NUMBERP (left) && XINT (left) == f->display.x->left_pos ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:602:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && NUMBERP (top) && XINT (top) == f->display.x->top_pos)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:602:28: note: place parentheses around the '-' expression to silence this warning && NUMBERP (top) && XINT (top) == f->display.x->top_pos)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:602:28: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && NUMBERP (top) && XINT (top) == f->display.x->top_pos)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:602:28: note: place parentheses around the '-' expression to silence this warning && NUMBERP (top) && XINT (top) == f->display.x->top_pos)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:604:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int leftpos = (NUMBERP (left) ? XINT (left) : 0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:604:34: note: place parentheses around the '-' expression to silence this warning int leftpos = (NUMBERP (left) ? XINT (left) : 0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:604:34: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int leftpos = (NUMBERP (left) ? XINT (left) : 0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:604:34: note: place parentheses around the '-' expression to silence this warning int leftpos = (NUMBERP (left) ? XINT (left) : 0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:605:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int toppos = (NUMBERP (top) ? XINT (top) : 0); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:605:32: note: place parentheses around the '-' expression to silence this warning int toppos = (NUMBERP (top) ? XINT (top) : 0); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:605:32: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int toppos = (NUMBERP (top) ? XINT (top) : 0); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:605:32: note: place parentheses around the '-' expression to silence this warning int toppos = (NUMBERP (top) ? XINT (top) : 0); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:613:46: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (EQ (left, Qminus) || (NUMBERP (left) && XINT (left) < 0)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:613:46: note: place parentheses around the '-' expression to silence this warning if (EQ (left, Qminus) || (NUMBERP (left) && XINT (left) < 0)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:613:46: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (EQ (left, Qminus) || (NUMBERP (left) && XINT (left) < 0)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:613:46: note: place parentheses around the '-' expression to silence this warning if (EQ (left, Qminus) || (NUMBERP (left) && XINT (left) < 0)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:615:44: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (EQ (top, Qminus) || (NUMBERP (top) && XINT (top) < 0)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:615:44: note: place parentheses around the '-' expression to silence this warning if (EQ (top, Qminus) || (NUMBERP (top) && XINT (top) < 0)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:615:44: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (EQ (top, Qminus) || (NUMBERP (top) && XINT (top) < 0)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:615:44: note: place parentheses around the '-' expression to silence this warning if (EQ (top, Qminus) || (NUMBERP (top) && XINT (top) < 0)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:620:2: warning: implicit declaration of function 'x_set_offset' is invalid in C99 [-Wimplicit-function-declaration] x_set_offset (f, leftpos, toppos, 0); ^ xfns.c:649:3: warning: implicit declaration of function 'x_catch_errors' is invalid in C99 [-Wimplicit-function-declaration] x_catch_errors (); ^ xfns.c:655:20: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &tmp_children, &tmp_nchildren); ^~~~~~~~~~~~~~ /data/scratch/editors/mule/work/.buildlink/include/X11/Xlib.h:3024:1: note: passing argument to parameter here ); ^ xfns.c:678:4: warning: implicit declaration of function 'reinvoke_input_signal' is invalid in C99 [-Wimplicit-function-declaration] UNBLOCK_INPUT; ^ ./blockinput.h:73:8: note: expanded from macro 'UNBLOCK_INPUT' ? (reinvoke_input_signal (), 0) \ ^ xfns.c:689:12: warning: implicit declaration of function 'x_had_errors_p' is invalid in C99 [-Wimplicit-function-declaration] if (!x_had_errors_p ()) ^ xfns.c:692:3: warning: implicit declaration of function 'x_uncatch_errors' is invalid in C99 [-Wimplicit-function-declaration] x_uncatch_errors (); ^ xfns.c:704:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_report_frame_params (f, alistptr) ^ xfns.c:710:3: warning: implicit declaration of function 'store_in_alist' is invalid in C99 [-Wimplicit-function-declaration] store_in_alist (alistptr, Qleft, make_number (f->display.x->left_pos)); ^ xfns.c:716:23: warning: format specifies type 'int' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] sprintf (buf, "%d", FRAME_X_WINDOW (f)); ~~ ^~~~~~~~~~~~~~~~~~ %lu ./xterm.h:427:27: note: expanded from macro 'FRAME_X_WINDOW' #define FRAME_X_WINDOW(f) ((f)->display.x->window_desc) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xfns.c:723:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xfns.c:773:15: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (XSTRING (arg)->data, "black") == 0) ^~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfns.c:775:20: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (strcmp (XSTRING (arg)->data, "white") == 0) ^~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfns.c:786:22: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (defined_color (XSTRING (arg)->data, &cdef, 1)) ^~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ xfns.c:790:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xfns.c:818:9: warning: implicit declaration of function 'redraw_frame' is invalid in C99 [-Wimplicit-function-declaration] redraw_frame (f); ^ xfns.c:850:5: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:850:5: note: place parentheses around the '-' expression to silence this warning SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:850:5: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:850:5: note: place parentheses around the '-' expression to silence this warning SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:37: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:850:5: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:850:5: note: place parentheses around the '-' expression to silence this warning SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:850:5: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:850:5: note: place parentheses around the '-' expression to silence this warning SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:534:13: note: expanded from macro 'SCROLL_BAR_X_WINDOW' ((Window) SCROLL_BAR_PACK ((ptr)->x_window_low, (ptr)->x_window_high)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./xterm.h:524:57: note: expanded from macro 'SCROLL_BAR_PACK' #define SCROLL_BAR_PACK(low, high) (XINT (high) << 16 | XINT (low)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:892:54: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] cursor = XCreateFontCursor (x_current_display, XINT (Vx_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:892:54: note: place parentheses around the '-' expression to silence this warning cursor = XCreateFontCursor (x_current_display, XINT (Vx_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:892:54: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] cursor = XCreateFontCursor (x_current_display, XINT (Vx_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:892:54: note: place parentheses around the '-' expression to silence this warning cursor = XCreateFontCursor (x_current_display, XINT (Vx_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:896:3: warning: implicit declaration of function 'x_check_errors' is invalid in C99 [-Wimplicit-function-declaration] x_check_errors ("bad text pointer cursor: %s"); ^ xfns.c:902:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (Vx_nontext_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:902:8: note: place parentheses around the '-' expression to silence this warning XINT (Vx_nontext_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:902:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (Vx_nontext_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:902:8: note: place parentheses around the '-' expression to silence this warning XINT (Vx_nontext_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:912:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (Vx_mode_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:912:8: note: place parentheses around the '-' expression to silence this warning XINT (Vx_mode_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:912:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (Vx_mode_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:912:8: note: place parentheses around the '-' expression to silence this warning XINT (Vx_mode_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:923:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (Vx_sensitive_text_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:923:9: note: place parentheses around the '-' expression to silence this warning XINT (Vx_sensitive_text_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:923:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (Vx_sensitive_text_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:923:9: note: place parentheses around the '-' expression to silence this warning XINT (Vx_sensitive_text_pointer_shape)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1025:4: warning: implicit declaration of function 'x_display_cursor' is invalid in C99 [-Wimplicit-function-declaration] x_display_cursor (f, 0); ^ xfns.c:1062:3: warning: implicit declaration of function 'x_set_border_pixel' is invalid in C99 [-Wimplicit-function-declaration] x_set_border_pixel (f, pix); ^ xfns.c:1069:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_set_border_pixel (f, pix) ^ xfns.c:1099:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xfns.c:1139:14: warning: implicit declaration of function 'x_text_icon' is invalid in C99 [-Wimplicit-function-declaration] result = x_text_icon (f, 0); ^ xfns.c:1141:14: warning: implicit declaration of function 'x_bitmap_icon' is invalid in C99 [-Wimplicit-function-declaration] result = x_bitmap_icon (f); ^ xfns.c:1208:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = (char *) index (s, '+')) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~ xfns.c:1208:11: note: place parentheses around the assignment to silence this warning if (p = (char *) index (s, '+')) { ^ ( ) xfns.c:1208:11: note: use '==' to turn this assignment into an equality comparison if (p = (char *) index (s, '+')) { ^ == xfns.c:1226:7: warning: implicit declaration of function 'x_set_window_size' is invalid in C99 [-Wimplicit-function-declaration] x_set_window_size (f, 0, f->width, f->height); ^ xfns.c:1241:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (arg) == f->display.x->border_width) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1241:7: note: place parentheses around the '-' expression to silence this warning if (XINT (arg) == f->display.x->border_width) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1241:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (arg) == f->display.x->border_width) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1241:7: note: place parentheses around the '-' expression to silence this warning if (XINT (arg) == f->display.x->border_width) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1247:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f->display.x->border_width = XINT (arg); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1247:32: note: place parentheses around the '-' expression to silence this warning f->display.x->border_width = XINT (arg); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1247:32: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f->display.x->border_width = XINT (arg); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1247:32: note: place parentheses around the '-' expression to silence this warning f->display.x->border_width = XINT (arg); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1259:41: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f->display.x->internal_border_width = XINT (arg); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1259:41: note: place parentheses around the '-' expression to silence this warning f->display.x->internal_border_width = XINT (arg); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1259:41: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f->display.x->internal_border_width = XINT (arg); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1259:41: note: place parentheses around the '-' expression to silence this warning f->display.x->internal_border_width = XINT (arg); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1333:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] nlines = XINT (value); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1333:14: note: place parentheses around the '-' expression to silence this warning nlines = XINT (value); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1333:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] nlines = XINT (value); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1333:14: note: place parentheses around the '-' expression to silence this warning nlines = XINT (value); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1390:31: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp (x_id_name, XSTRING (f->name)->data)) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfns.c:1705:34: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_number (atoi (XSTRING (tem)->data)); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ xfns.c:1709:21: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp (XSTRING (tem)->data, "on") ^~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfns.c:1710:17: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !strcmp (XSTRING (tem)->data, "true")) ^~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfns.c:1724:16: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp (XSTRING (lower)->data, "on") ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfns.c:1725:19: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !strcmp (XSTRING (lower)->data, "true")) ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfns.c:1727:21: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!strcmp (XSTRING (lower)->data, "off") ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfns.c:1728:21: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !strcmp (XSTRING (lower)->data, "false")) ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfns.c:1860:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f->height = XINT (tem0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1860:16: note: place parentheses around the '-' expression to silence this warning f->height = XINT (tem0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1860:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f->height = XINT (tem0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1860:16: note: place parentheses around the '-' expression to silence this warning f->height = XINT (tem0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1865:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f->width = XINT (tem1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1865:15: note: place parentheses around the '-' expression to silence this warning f->width = XINT (tem1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1865:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f->width = XINT (tem1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1865:15: note: place parentheses around the '-' expression to silence this warning f->width = XINT (tem1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1895:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f->display.x->top_pos = XINT (tem0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1895:28: note: place parentheses around the '-' expression to silence this warning f->display.x->top_pos = XINT (tem0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1895:28: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f->display.x->top_pos = XINT (tem0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1895:28: note: place parentheses around the '-' expression to silence this warning f->display.x->top_pos = XINT (tem0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1910:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f->display.x->left_pos = XINT (tem1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1910:29: note: place parentheses around the '-' expression to silence this warning f->display.x->left_pos = XINT (tem1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:1910:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f->display.x->left_pos = XINT (tem1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:1910:29: note: place parentheses around the '-' expression to silence this warning f->display.x->left_pos = XINT (tem1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:2042:5: warning: implicit declaration of function 'initialize_frame_menubar' is invalid in C99 [-Wimplicit-function-declaration] initialize_frame_menubar (f); ^ xfns.c:2107:3: warning: implicit declaration of function 'x_calc_absolute_position' is invalid in C99 [-Wimplicit-function-declaration] x_calc_absolute_position (f); ^ xfns.c:2273:5: warning: implicit declaration of function 'x_wm_set_icon_position' is invalid in C99 [-Wimplicit-function-declaration] x_wm_set_icon_position (f, XINT (icon_x), XINT (icon_y)); ^ xfns.c:2273:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_wm_set_icon_position (f, XINT (icon_x), XINT (icon_y)); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:2273:32: note: place parentheses around the '-' expression to silence this warning x_wm_set_icon_position (f, XINT (icon_x), XINT (icon_y)); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:2273:32: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_wm_set_icon_position (f, XINT (icon_x), XINT (icon_y)); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:2273:32: note: place parentheses around the '-' expression to silence this warning x_wm_set_icon_position (f, XINT (icon_x), XINT (icon_y)); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:2273:47: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_wm_set_icon_position (f, XINT (icon_x), XINT (icon_y)); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:2273:47: note: place parentheses around the '-' expression to silence this warning x_wm_set_icon_position (f, XINT (icon_x), XINT (icon_y)); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:2273:47: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x_wm_set_icon_position (f, XINT (icon_x), XINT (icon_y)); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfns.c:2273:47: note: place parentheses around the '-' expression to silence this warning x_wm_set_icon_position (f, XINT (icon_x), XINT (icon_y)); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfns.c:2276:3: warning: implicit declaration of function 'x_wm_set_window_state' is invalid in C99 [-Wimplicit-function-declaration] x_wm_set_window_state ^ xfns.c:2359:2: warning: passing 'unsigned char [2]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] gray_bits, gray_width, gray_height, ^~~~~~~~~ /data/scratch/editors/mule/work/.buildlink/include/X11/Xlib.h:1614:22: note: passing argument to parameter here char* /* data */, ^ xfns.c:2426:7: warning: implicit declaration of function 'specbind' is invalid in C99 [-Wimplicit-function-declaration] specbind (Qx_resource_name, name); ^ xfns.c:2601:7: warning: implicit declaration of function 'x_make_frame_visible' is invalid in C99 [-Wimplicit-function-declaration] x_make_frame_visible (f); ^ xfns.c:2872:7: warning: implicit declaration of function 'x_focus_on_frame' is invalid in C99 [-Wimplicit-function-declaration] x_focus_on_frame (XFRAME (frame)); ^ xfns.c:2887:7: warning: implicit declaration of function 'x_unfocus_frame' is invalid in C99 [-Wimplicit-function-declaration] x_unfocus_frame (x_focus_frame); ^ xfns.c:3038:10: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] XSTRING (pattern)->data, ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /data/scratch/editors/mule/work/.buildlink/include/X11/Xlib.h:1663:32: note: passing argument to parameter here _Xconst char* /* pattern */, ^ xfns.c:3095:22: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (defined_color (XSTRING (color)->data, &foo, 0)) ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ xfns.c:3113:22: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (defined_color (XSTRING (color)->data, &foo, 0)) ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ xfns.c:3283:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xfns.c:3306:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xfns.c:3322:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_pixel_width (f) ^ xfns.c:3328:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_pixel_height (f) ^ xfns.c:3334:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_char_width (f) ^ xfns.c:3340:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] x_char_height (f) ^ xfns.c:4331:5: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration] fatal ("Can't get proper X visual info"); ^ xfns.c:4377:3: warning: implicit declaration of function 'x_term_init' is invalid in C99 [-Wimplicit-function-declaration] x_term_init (XSTRING (display)->data, xrm_option, ^ xfns.c:4402:3: warning: implicit declaration of function 'Xatoms_of_xselect' is invalid in C99 [-Wimplicit-function-declaration] Xatoms_of_xselect (); ^ xfns.c:4488:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_xfns () ^ xfns.c:4673:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 120 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include xfaces.c In file included from xfaces.c:26: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from xfaces.c:26: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from xfaces.c:33: ./xterm.h:594:1: warning: '/*' within block comment [-Wcomment] /* Return the upper/left pixel position of the character cell on frame F ^ xfaces.c:375:3: warning: implicit declaration of function 'reinvoke_input_signal' is invalid in C99 [-Wimplicit-function-declaration] UNBLOCK_INPUT; ^ ./blockinput.h:73:8: note: expanded from macro 'UNBLOCK_INPUT' ? (reinvoke_input_signal (), 0) \ ^ xfaces.c:532:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return XINT (name); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfaces.c:532:12: note: place parentheses around the '-' expression to silence this warning return XINT (name); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfaces.c:532:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return XINT (name); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfaces.c:532:12: note: place parentheses around the '-' expression to silence this warning return XINT (name); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfaces.c:537:16: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp (XSTRING (name)->data, "black")) ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfaces.c:539:16: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp (XSTRING (name)->data, "white")) ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xfaces.c:972:10: warning: implicit declaration of function 'Fget_text_property' is invalid in C99 [-Wimplicit-function-declaration] prop = Fget_text_property (position, propname, w->buffer); ^ xfaces.c:980:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] endpos = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfaces.c:980:16: note: place parentheses around the '-' expression to silence this warning endpos = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfaces.c:980:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] endpos = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfaces.c:980:16: note: place parentheses around the '-' expression to silence this warning endpos = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfaces.c:991:17: warning: implicit declaration of function 'overlays_at' is invalid in C99 [-Wimplicit-function-declaration] noverlays = overlays_at (pos, 0, &overlay_vec, &len, &next_overlay); ^ xfaces.c:1023:15: warning: implicit declaration of function 'sort_overlays' is invalid in C99 [-Wimplicit-function-declaration] noverlays = sort_overlays (overlay_vec, noverlays, w); ^ xfaces.c:1040:14: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] oendpos = OVERLAY_POSITION (oend); ^ ./buffer.h:452:34: note: expanded from macro 'OVERLAY_POSITION' (XGCTYPE ((P)) == Lisp_Marker ? marker_position ((P)) : (abort (), 0)) ^ xfaces.c:1126:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int id = XINT (face_id); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfaces.c:1126:12: note: place parentheses around the '-' expression to silence this warning int id = XINT (face_id); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfaces.c:1126:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int id = XINT (face_id); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfaces.c:1126:12: note: place parentheses around the '-' expression to silence this warning int id = XINT (face_id); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfaces.c:1166:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] id = XINT (face_id); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfaces.c:1166:8: note: place parentheses around the '-' expression to silence this warning id = XINT (face_id); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfaces.c:1166:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] id = XINT (face_id); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfaces.c:1166:8: note: place parentheses around the '-' expression to silence this warning id = XINT (face_id); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfaces.c:1187:13: warning: implicit declaration of function 'query_fontset' is invalid in C99 [-Wimplicit-function-declaration] int fsID = query_fontset (XSTRING (attr_value)->data); ^ xfaces.c:1190:11: warning: implicit declaration of function 'find_fontset_from_font' is invalid in C99 [-Wimplicit-function-declaration] fsID = find_fontset_from_font(XSTRING (attr_value)->data, LCASCII); ^ xfaces.c:1196:11: warning: implicit declaration of function 'load_query_fontset' is invalid in C99 [-Wimplicit-function-declaration] fsID = load_query_fontset(fontnames[0], fontnames); ^ xfaces.c:1198:19: warning: implicit declaration of function 'fs_load_font' is invalid in C99 [-Wimplicit-function-declaration] if (fsID >= 0 && fs_load_font(fsID, LCASCII, 0) >= 0) { ^ xfaces.c:1210:2: warning: implicit declaration of function 'x_set_window_size' is invalid in C99 [-Wimplicit-function-declaration] x_set_window_size (f, 0, f->width, f->height); ^ xfaces.c:1323:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfaces.c:1323:10: note: place parentheses around the '-' expression to silence this warning return XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xfaces.c:1323:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xfaces.c:1323:10: note: place parentheses around the '-' expression to silence this warning return XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ 29 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include xmenu.c In file included from xmenu.c:34: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from xmenu.c:34: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from xmenu.c:47: ./xterm.h:594:1: warning: '/*' within block comment [-Wcomment] /* Return the upper/left pixel position of the character cell on frame F ^ xmenu.c:329:12: warning: implicit declaration of function 'Fkey_binding' is invalid in C99 [-Wimplicit-function-declaration] def1 = Fkey_binding (savedkey, Qnil); ^ xmenu.c:782:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] xpos += XINT (x); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xmenu.c:782:15: note: place parentheses around the '-' expression to silence this warning xpos += XINT (x); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xmenu.c:782:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] xpos += XINT (x); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xmenu.c:782:15: note: place parentheses around the '-' expression to silence this warning xpos += XINT (x); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xmenu.c:783:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ypos += XINT (y); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xmenu.c:783:15: note: place parentheses around the '-' expression to silence this warning ypos += XINT (y); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xmenu.c:783:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ypos += XINT (y); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xmenu.c:783:15: note: place parentheses around the '-' expression to silence this warning ypos += XINT (y); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xmenu.c:869:3: warning: implicit declaration of function 'reinvoke_input_signal' is invalid in C99 [-Wimplicit-function-declaration] UNBLOCK_INPUT; ^ ./blockinput.h:73:8: note: expanded from macro 'UNBLOCK_INPUT' ? (reinvoke_input_signal (), 0) \ ^ xmenu.c:1020:17: warning: implicit declaration of function 'string_width' is invalid in C99 [-Wimplicit-function-declaration] *string_w += (string_width (mw, name) ^ xmenu.c:1023:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return XINT (event->x) < *string_w; ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xmenu.c:1023:10: note: place parentheses around the '-' expression to silence this warning return XINT (event->x) < *string_w; ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xmenu.c:1023:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return XINT (event->x) < *string_w; ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xmenu.c:1023:10: note: place parentheses around the '-' expression to silence this warning return XINT (event->x) < *string_w; ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xmenu.c:1061:32: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp (val->name, XSTRING (string)->data)) ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ xmenu.c:1174:67: warning: missing sentinel in function call [-Wsentinel] XtVaSetValues (x->menubar_widget, XtNmappedWhenManaged, 1, 0); ^ , NULL /data/scratch/editors/mule/work/.buildlink/include/X11/Intrinsic.h:1592:13: note: function has been explicitly marked sentinel here extern void XtVaSetValues( ^ xmenu.c:1210:40: warning: implicit declaration of function 'menu_bar_items' is invalid in C99 [-Wimplicit-function-declaration] items = FRAME_MENU_BAR_ITEMS (f) = menu_bar_items (FRAME_MENU_BAR_ITEMS (f)); ^ xmenu.c:1245:9: warning: missing sentinel in function call [-Wsentinel] 0); ^ , NULL /data/scratch/editors/mule/work/.buildlink/include/X11/Intrinsic.h:1592:13: note: function has been explicitly marked sentinel here extern void XtVaSetValues( ^ xmenu.c:1694:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] < XINT (Vdouble_click_time)))) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xmenu.c:1694:12: note: place parentheses around the '-' expression to silence this warning < XINT (Vdouble_click_time)))) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xmenu.c:1694:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] < XINT (Vdouble_click_time)))) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xmenu.c:1694:12: note: place parentheses around the '-' expression to silence this warning < XINT (Vdouble_click_time)))) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xmenu.c:2356:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_xmenu () ^ xmenu.c:2364:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 24 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include xselect.c In file included from xselect.c:26: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from xselect.c:26: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from xselect.c:34: ./xterm.h:594:1: warning: '/*' within block comment [-Wcomment] /* Return the upper/left pixel position of the character cell on frame F ^ xselect.c:151:23: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Wimplicit-function-declaration] if (!SYMBOLP (sym)) abort (); ^ xselect.c:151:23: note: include the header or explicitly provide a declaration for 'abort' xselect.c:158:3: warning: implicit declaration of function 'reinvoke_input_signal' is invalid in C99 [-Wimplicit-function-declaration] UNBLOCK_INPUT; ^ ./blockinput.h:73:8: note: expanded from macro 'UNBLOCK_INPUT' ? (reinvoke_input_signal (), 0) \ ^ xselect.c:260:3: warning: implicit declaration of function 'x_catch_errors' is invalid in C99 [-Wimplicit-function-declaration] x_catch_errors (); ^ xselect.c:262:3: warning: implicit declaration of function 'x_check_errors' is invalid in C99 [-Wimplicit-function-declaration] x_check_errors ("Can't set selection: %s"); ^ xselect.c:263:3: warning: implicit declaration of function 'x_uncatch_errors' is invalid in C99 [-Wimplicit-function-declaration] x_uncatch_errors (); ^ xselect.c:365:7: warning: implicit declaration of function 'specbind' is invalid in C99 [-Wimplicit-function-declaration] specbind (Qinhibit_quit, Qt); ^ xselect.c:416:13: warning: declaration of 'struct input_event' will not be visible outside of this function [-Wvisibility] struct input_event *event; ^ xselect.c:447:34: warning: incompatible pointer types passing 'struct input_event *' to parameter of type 'struct input_event *' [-Wincompatible-pointer-types] x_decline_selection_request (x_selection_current_request); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xselect.c:637:36: warning: incompatible pointer types passing 'struct input_event *' to parameter of type 'struct input_event *' [-Wincompatible-pointer-types] x_decline_selection_request (event); ^~~~~ xselect.c:650:36: warning: incompatible pointer types passing 'struct input_event *' to parameter of type 'struct input_event *' [-Wincompatible-pointer-types] x_decline_selection_request (event); ^~~~~ xselect.c:656:3: warning: implicit declaration of function 'record_unwind_protect' is invalid in C99 [-Wimplicit-function-declaration] record_unwind_protect (x_selection_request_lisp_error, Qnil); ^ xselect.c:690:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] xfree (data); ^ xselect.c:37:15: note: expanded from macro 'xfree' #define xfree free ^ xselect.c:766:2: warning: implicit declaration of function 'prepare_menu_bars' is invalid in C99 [-Wimplicit-function-declaration] prepare_menu_bars (); ^ xselect.c:767:2: warning: implicit declaration of function 'redisplay_preserve_echo_area' is invalid in C99 [-Wimplicit-function-declaration] redisplay_preserve_echo_area (); ^ xselect.c:898:29: warning: incompatible integer to pointer conversion passing 'long' to parameter of type 'struct prop_location *' [-Wint-conversion] unexpect_property_change (XPNTR (identifierval)); ^~~~~~~~~~~~~~~~~~~~~ ./m/amd64.h:150:18: note: expanded from macro 'XPNTR' #define XPNTR(a) XUINT (a) ^~~~~~~~~ ./lisp.h:369:18: note: expanded from macro 'XUINT' #define XUINT(a) ((Lisp_Object_Int)(a) & VALMASK) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xselect.c:899:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xselect.c:924:7: warning: implicit declaration of function 'wait_reading_process_input' is invalid in C99 [-Wimplicit-function-declaration] wait_reading_process_input (secs, usecs, property_change_reply, 0); ^ xselect.c:1067:3: warning: implicit declaration of function 'x_start_queuing_selection_requests' is invalid in C99 [-Wimplicit-function-declaration] x_start_queuing_selection_requests (); ^ xselect.c:1078:3: warning: implicit declaration of function 'x_stop_queuing_selection_requests' is invalid in C99 [-Wimplicit-function-declaration] x_stop_queuing_selection_requests (); ^ xselect.c:1481:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (obj) < 0xFFFF ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1481:8: note: place parentheses around the '-' expression to silence this warning && XINT (obj) < 0xFFFF ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xselect.c:1481:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (obj) < 0xFFFF ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1481:8: note: place parentheses around the '-' expression to silence this warning && XINT (obj) < 0xFFFF ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xselect.c:1482:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (obj) > -0xFFFF) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1482:8: note: place parentheses around the '-' expression to silence this warning && XINT (obj) > -0xFFFF) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xselect.c:1482:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (obj) > -0xFFFF) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1482:8: note: place parentheses around the '-' expression to silence this warning && XINT (obj) > -0xFFFF) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xselect.c:1488:44: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] (*(short **) data_ret) [0] = (short) XINT (obj); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1488:44: note: place parentheses around the '-' expression to silence this warning (*(short **) data_ret) [0] = (short) XINT (obj); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xselect.c:1488:44: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] (*(short **) data_ret) [0] = (short) XINT (obj); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1488:44: note: place parentheses around the '-' expression to silence this warning (*(short **) data_ret) [0] = (short) XINT (obj); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xselect.c:1609:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (XCONS (obj)->car) == 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1609:11: note: place parentheses around the '-' expression to silence this warning if (XINT (XCONS (obj)->car) == 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xselect.c:1609:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (XCONS (obj)->car) == 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1609:11: note: place parentheses around the '-' expression to silence this warning if (XINT (XCONS (obj)->car) == 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xselect.c:1611:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (XCONS (obj)->car) == -1) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1611:11: note: place parentheses around the '-' expression to silence this warning if (XINT (XCONS (obj)->car) == -1) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xselect.c:1611:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (XCONS (obj)->car) == -1) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1611:11: note: place parentheses around the '-' expression to silence this warning if (XINT (XCONS (obj)->car) == -1) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xselect.c:1612:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return make_number (- XINT (XCONS (obj)->cdr)); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1612:24: note: place parentheses around the '-' expression to silence this warning return make_number (- XINT (XCONS (obj)->cdr)); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xselect.c:1612:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return make_number (- XINT (XCONS (obj)->cdr)); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1612:24: note: place parentheses around the '-' expression to silence this warning return make_number (- XINT (XCONS (obj)->cdr)); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xselect.c:1754:29: warning: incompatible pointer types passing 'XSelectionClearEvent *' to parameter of type 'struct input_event *' [-Wincompatible-pointer-types] x_handle_selection_clear (&event); ^~~~~~ xselect.c:1968:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (n) == 0) return n; ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1968:7: note: place parentheses around the '-' expression to silence this warning if (XINT (n) == 0) return n; ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xselect.c:1968:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (n) == 0) return n; ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1968:7: note: place parentheses around the '-' expression to silence this warning if (XINT (n) == 0) return n; ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xselect.c:1979:55: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XRotateWindowProperties (display, window, props, 8, XINT (n)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1979:55: note: place parentheses around the '-' expression to silence this warning XRotateWindowProperties (display, window, props, 8, XINT (n)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ xselect.c:1979:55: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XRotateWindowProperties (display, window, props, 8, XINT (n)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ xselect.c:1979:55: note: place parentheses around the '-' expression to silence this warning XRotateWindowProperties (display, window, props, 8, XINT (n)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ 43 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include xrdb.c In file included from xrdb.c:21: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from xrdb.c:21: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ xrdb.c:137:29: warning: implicit declaration of function 'xmalloc' is invalid in C99 [-Wimplicit-function-declaration] char *copy = (char *) malloc (strlen (result) + 1); ^ xrdb.c:89:16: note: expanded from macro 'malloc' #define malloc xmalloc ^ xrdb.c:137:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] char *copy = (char *) malloc (strlen (result) + 1); ^ xrdb.c:185:16: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] char *path = (char *) malloc (path_size); ^ xrdb.c:236:7: warning: implicit declaration of function 'xfree' is invalid in C99 [-Wimplicit-function-declaration] free (path); ^ xrdb.c:91:14: note: expanded from macro 'free' #define free xfree ^ xrdb.c:257:20: warning: implicit declaration of function 'xrealloc' is invalid in C99 [-Wimplicit-function-declaration] path = (char *) realloc (path, path_size); ^ xrdb.c:90:17: note: expanded from macro 'realloc' #define realloc xrealloc ^ xrdb.c:257:11: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] path = (char *) realloc (path, path_size); ^ xrdb.c:283:11: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] path = (char *) realloc (path, path_size); ^ xrdb.c:315:17: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] pw = getpwuid (getuid ()); ^ xrdb.c:324:10: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] copy = (char *) malloc (strlen (ptr) + 2); ^ xrdb.c:338:11: warning: implicit declaration of function 'mc_access' is invalid in C99 [-Wimplicit-function-declaration] return (access (path, 4) == 0 /* exists and is readable */ ^ ./mcpath.h:124:22: note: expanded from macro 'access' # define access mc_access ^ xrdb.c:473:18: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] xdefault = (char *) malloc (strlen (home) + sizeof (".Xdefaults")); ^ xrdb.c:505:14: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] path = (char *) malloc (strlen (home) ^ 18 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include mule.c In file included from mule.c:4: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from mule.c:4: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ mule.c:43:24: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] wordbuf[i]->buffer = (char *)xmalloc (s->size + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mule.c:45:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (s->data, wordbuf[i]->buffer, s->size + 1); ^ mule.c:78:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_mule () ^ mule.c:163:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MULE_DEBUG ^ // mule.c:104:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 11 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include charset.c In file included from charset.c:74: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from charset.c:74: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ charset.c:125:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mchar_to_string (c, str) ^ charset.c:151:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] string_to_mchar (str, size) ^ charset.c:160:13: warning: implicit declaration of function 'search_cmpchar' is invalid in C99 [-Wimplicit-function-declaration] return (search_cmpchar(str, i0) | 0x7C000); ^ charset.c:198:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_mc_table(lc, bytes, clm, type, graphic, final, direction, doc, reg) ^ charset.c:221:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charset.c:226:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] undefined_private_charset(bytes, width) ^ charset.c:290:3: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (XSTRING (args[7])->data, d, XSTRING (args[7])->size + 1); ^ charset.c:451:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] charbytes (c) ^ charset.c:478:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] charwidth (c) ^ charset.c:504:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strwidth (s) ^ charset.c:508:29: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] unsigned char *endp = s + strlen(s); ^ charset.c:508:29: note: include the header or explicitly provide a declaration for 'strlen' charset.c:508:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char *endp = s + strlen(s); ^ charset.c:674:5: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] CHECK_NUMBER_COERCE_MARKER (pos, 0); ^ ./lisp.h:880:55: note: expanded from macro 'CHECK_NUMBER_COERCE_MARKER' do { if (XTYPE ((x)) == Lisp_Marker) XFASTINT (x) = marker_position (x); \ ^ charset.c:675:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] n = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ charset.c:675:9: note: place parentheses around the '-' expression to silence this warning n = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ charset.c:675:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] n = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ charset.c:675:9: note: place parentheses around the '-' expression to silence this warning n = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ charset.c:704:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hash_cmpchar(str) ^ charset.c:714:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] search_cmpchar(str, len) ^ charset.c:731:8: warning: implicit declaration of function 'bcmp' is invalid in C99 [-Wimplicit-function-declaration] && !bcmp(buf, cmpchar_table[idx].data, len)) { ^ charset.c:788:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_charset_once() ^ charset.c:793:3: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero(char_description, sizeof (char *) * 128); ^ charset.c:793:3: note: include the header or explicitly provide a declaration for 'bzero' charset.c:832:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charset.c:836:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_charset () ^ charset.c:997:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 29 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include coding.c In file included from coding.c:129: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from coding.c:129: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from coding.c:133: ./coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ coding.c:238:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] code_detect_iso2022(buf, endp) ^ coding.c:292:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] code_detect_internal(buf, endp) ^ coding.c:312:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] code_detect_sjis(buf, endp) ^ coding.c:321:19: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c >= 0x80 && c < 0xA0 || c >= 0xE0) { ~~~~~~~~~~^~~~~~~~~~~ ~~ coding.c:321:19: note: place parentheses around the '&&' expression to silence this warning if (c >= 0x80 && c < 0xA0 || c >= 0xE0) { ^ ( ) coding.c:330:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] code_detect_big5(buf, endp) ^ coding.c:352:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] code_detect(buf, n) ^ coding.c:395:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] eol_detect(buf, n) ^ coding.c:429:3: warning: implicit declaration of function 'specbind' is invalid in C99 [-Wimplicit-function-declaration] specbind (intern ("mc-flag"), Qnil); ^ coding.c:432:3: warning: implicit declaration of function 'validate_region' is invalid in C99 [-Wimplicit-function-declaration] validate_region(&b, &e); ^ coding.c:433:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] beg = XINT (b); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:433:9: note: place parentheses around the '-' expression to silence this warning beg = XINT (b); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:433:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] beg = XINT (b); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:433:9: note: place parentheses around the '-' expression to silence this warning beg = XINT (b); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:434:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] end = XINT (e); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:434:9: note: place parentheses around the '-' expression to silence this warning end = XINT (e); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:434:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] end = XINT (e); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:434:9: note: place parentheses around the '-' expression to silence this warning end = XINT (e); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:435:32: warning: implicit declaration of function 'move_gap' is invalid in C99 [-Wimplicit-function-declaration] if (beg < GPT && end >= GPT) move_gap (end); ^ coding.c:617:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] i2g(src, dst, n, mccode) ^ coding.c:724:25: warning: '&&' within '||' [-Wlogical-op-parentheses] if (cntl & CC_R2L && !char_direction[lc] ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ coding.c:724:25: note: place parentheses around the '&&' expression to silence this warning if (cntl & CC_R2L && !char_direction[lc] ^ ( ) coding.c:725:24: warning: '&&' within '||' [-Wlogical-op-parentheses] || !(cntl & CC_R2L) && char_direction[lc]) ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ coding.c:725:24: note: place parentheses around the '&&' expression to silence this warning || !(cntl & CC_R2L) && char_direction[lc]) ^ ( ) coding.c:802:7: warning: implicit declaration of function 'encode_code' is invalid in C99 [-Wimplicit-function-declaration] encode_code(*found, mccode); ^ coding.c:835:11: warning: implicit declaration of function 'ccl_driver' is invalid in C99 [-Wimplicit-function-declaration] len = ccl_driver(&CODE_CCL_ENCODE (mccode), src, dst, n, ^ coding.c:1055:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] g2i(src, dst, n, mccode) ^ coding.c:1323:7: warning: implicit declaration of function 'memory_full' is invalid in C99 [-Wimplicit-function-declaration] memory_full (); ^ coding.c:1402:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] encode_code(code, mccode) ^ coding.c:1446:42: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] lcg0 = NILP (flags[0]) ? LCASCII : XINT (flags[0]); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:1446:42: note: place parentheses around the '-' expression to silence this warning lcg0 = NILP (flags[0]) ? LCASCII : XINT (flags[0]); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:1446:42: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] lcg0 = NILP (flags[0]) ? LCASCII : XINT (flags[0]); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:1446:42: note: place parentheses around the '-' expression to silence this warning lcg0 = NILP (flags[0]) ? LCASCII : XINT (flags[0]); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:1447:42: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] lcg1 = NILP (flags[1]) ? LCASCII : XINT (flags[1]); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:1447:42: note: place parentheses around the '-' expression to silence this warning lcg1 = NILP (flags[1]) ? LCASCII : XINT (flags[1]); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:1447:42: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] lcg1 = NILP (flags[1]) ? LCASCII : XINT (flags[1]); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:1447:42: note: place parentheses around the '-' expression to silence this warning lcg1 = NILP (flags[1]) ? LCASCII : XINT (flags[1]); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:1448:42: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] lcg2 = NILP (flags[2]) ? LCASCII : XINT (flags[2]); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:1448:42: note: place parentheses around the '-' expression to silence this warning lcg2 = NILP (flags[2]) ? LCASCII : XINT (flags[2]); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:1448:42: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] lcg2 = NILP (flags[2]) ? LCASCII : XINT (flags[2]); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:1448:42: note: place parentheses around the '-' expression to silence this warning lcg2 = NILP (flags[2]) ? LCASCII : XINT (flags[2]); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:1449:42: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] lcg3 = NILP (flags[3]) ? LCASCII : XINT (flags[3]); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:1449:42: note: place parentheses around the '-' expression to silence this warning lcg3 = NILP (flags[3]) ? LCASCII : XINT (flags[3]); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:1449:42: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] lcg3 = NILP (flags[3]) ? LCASCII : XINT (flags[3]); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:1449:42: note: place parentheses around the '-' expression to silence this warning lcg3 = NILP (flags[3]) ? LCASCII : XINT (flags[3]); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:1464:2: warning: implicit declaration of function 'set_ccl_program' is invalid in C99 [-Wimplicit-function-declaration] set_ccl_program (&CODE_CCL_ENCODE (mccode), Fcar (prop)); ^ coding.c:1477:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ coding.c:1520:3: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] CHECK_NUMBER_COERCE_MARKER (b, 0); ^ ./lisp.h:880:55: note: expanded from macro 'CHECK_NUMBER_COERCE_MARKER' do { if (XTYPE ((x)) == Lisp_Marker) XFASTINT (x) = marker_position (x); \ ^ coding.c:1526:3: warning: implicit declaration of function 'prepare_to_modify_buffer' is invalid in C99 [-Wimplicit-function-declaration] prepare_to_modify_buffer (b, e); ^ coding.c:1530:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] beg = XINT (b); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:1530:9: note: place parentheses around the '-' expression to silence this warning beg = XINT (b); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:1530:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] beg = XINT (b); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:1530:9: note: place parentheses around the '-' expression to silence this warning beg = XINT (b); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:1531:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] end = XINT (e); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:1531:9: note: place parentheses around the '-' expression to silence this warning end = XINT (e); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:1531:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] end = XINT (e); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:1531:9: note: place parentheses around the '-' expression to silence this warning end = XINT (e); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:1533:22: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] beg = end, end = XINT (b); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:1533:22: note: place parentheses around the '-' expression to silence this warning beg = end, end = XINT (b); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:1533:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] beg = end, end = XINT (b); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ coding.c:1533:22: note: place parentheses around the '-' expression to silence this warning beg = end, end = XINT (b); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ coding.c:1546:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = decode(&tcode, &FETCH_CHAR (beg), buf, len); ^~~ coding.c:1552:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = encode(&scode, &FETCH_CHAR (beg), buf, len, &code); ^~~ coding.c:1559:5: warning: implicit declaration of function 'set_point' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (beg); ^ ./buffer.h:46:27: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^ coding.c:1560:5: warning: implicit declaration of function 'insert' is invalid in C99 [-Wimplicit-function-declaration] insert (buf, len); ^ coding.c:1561:5: warning: implicit declaration of function 'del_range' is invalid in C99 [-Wimplicit-function-declaration] del_range(beg + len, end + len); ^ coding.c:1605:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_coding() ^ coding.c:1608:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ coding.c:1610:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_coding () ^ coding.c:1701:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 56 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include fontset.c In file included from fontset.c:1: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from fontset.c:1: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ fontset.c:30:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fs_new_font(requested, lc) ^ fontset.c:57:9: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] len = strlen(requested) + 1; ^ fontset.c:57:9: note: include the header or explicitly provide a declaration for 'strlen' fontset.c:59:3: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy(requested, font_table[n_fonts].requested, len); ^ fontset.c:63:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fs_query_font(fontname, lc, size) ^ fontset.c:74:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] && (!STRcasecmp(fontname, font_table[i].requested) ^~~~~~~~ fontset.c:74:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] && (!STRcasecmp(fontname, font_table[i].requested) ^~~~~~~~~~~~~~~~~~~~~~~ fontset.c:76:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] && !STRcasecmp(fontname, font_table[i].name)))) ^~~~~~~~ fontset.c:76:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] && !STRcasecmp(fontname, font_table[i].name)))) ^~~~~~~~~~~~~~~~~~ fontset.c:82:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] load_query_font(fontname, lc, size) ^ fontset.c:92:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fs_copy_font(from, to) ^ fontset.c:103:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fontset.c:105:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fs_load_font(fsID, lc, size) ^ fontset.c:165:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] new_fontset(name, fontnames) ^ fontset.c:209:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] query_fontset(name) ^ fontset.c:219:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] && !STRcasecmp(name, fontset_table[fsID].name)) ^~~~ fontset.c:219:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] && !STRcasecmp(name, fontset_table[fsID].name)) ^~~~~~~~~~~~~~~~~~~~~~~~ fontset.c:231:26: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (query_fontset (XSTRING (name)->data) >= 0 ? Qt : Qnil); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ fontset.c:234:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] load_query_fontset(name, fontnames) ^ fontset.c:242:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] find_fontset_from_font(fontname, lc) ^ fontset.c:252:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!STRcasecmp(fontinfo->requested, fontname) ^~~~~~~~~~~~~~~~~~~ fontset.c:252:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!STRcasecmp(fontinfo->requested, fontname) ^~~~~~~~ fontset.c:253:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || (fontinfo->name && !STRcasecmp(fontinfo->name, fontname))) ^~~~~~~~~~~~~~ fontset.c:253:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] || (fontinfo->name && !STRcasecmp(fontinfo->name, fontname))) ^~~~~~~~ fontset.c:281:29: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fsID = load_query_fontset(XSTRING(name)->data, fonts); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ fontset.c:301:30: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((fsID = query_fontset (XSTRING (fontset)->data)) < 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ fontset.c:305:24: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] = load_query_font (XSTRING (fontname)->data, XFASTINT (lc), 0); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ fontset.c:374:30: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((fsID = query_fontset (XSTRING (fontset)->data)) < 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ fontset.c:409:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_fontset() ^ fontset.c:417:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fontset.c:419:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_fontset() ^ fontset.c:428:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 37 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include category.c In file included from category.c:37: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from category.c:37: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ category.c:95:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_category(category) ^ category.c:99:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ category.c:111:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_category(src, mask) ^ category.c:118:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ category.c:227:3: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (XVECTOR (table)->contents, ^ category.c:275:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] check_category(category, mnemonic, not) ^ category.c:330:9: warning: implicit declaration of function 'mchar_to_string' is invalid in C99 [-Wimplicit-function-declaration] len = CHARtoSTR (c, str); ^ ./charset.h:221:34: note: expanded from macro 'CHARtoSTR' *(s) = (unsigned int)(c), 1 : mchar_to_string(c, s)) ^ category.c:343:3: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] CHECK_NUMBER_COERCE_MARKER (pos, 0); ^ ./lisp.h:880:55: note: expanded from macro 'CHECK_NUMBER_COERCE_MARKER' do { if (XTYPE ((x)) == Lisp_Marker) XFASTINT (x) = marker_position (x); \ ^ category.c:373:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pack_mnemonic_string(category, str) ^ category.c:381:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = category->data[k]) { ~~^~~~~~~~~~~~~~~~~~~ category.c:381:11: note: place parentheses around the assignment to silence this warning if (c = category->data[k]) { ^ ( ) category.c:381:11: note: use '==' to turn this assignment into an equality comparison if (c = category->data[k]) { ^ == category.c:390:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ category.c:410:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] modify_category_entry(c, maskbit, ctbl, reset) ^ category.c:431:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ category.c:463:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insert_character_description(i) /* 94.2.23 by K.Handa */ ^ category.c:471:5: warning: implicit declaration of function 'insert' is invalid in C99 [-Wimplicit-function-declaration] insert (str, p - str); ^ category.c:483:15: warning: passing 'unsigned char [5]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(str, "[%02x]", str[k]); ^~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ category.c:487:10: warning: passing 'unsigned char [5]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(str, "\\%03o", str[k]); ^~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ category.c:489:10: warning: passing 'unsigned char [5]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(str, "\\x%02x", str[k]); ^~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ category.c:493:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ category.c:495:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] describe_category (ctbl, parent) /* 94.2.23 by K.Handae */ ^ category.c:529:7: warning: implicit declaration of function 'insert_string' is invalid in C99 [-Wimplicit-function-declaration] insert_string ("invalid"); ^ category.c:532:11: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] if (strlen(str)) ^ category.c:532:11: note: include the header or explicitly provide a declaration for 'strlen' category.c:533:2: warning: implicit declaration of function 'insert1' is invalid in C99 [-Wimplicit-function-declaration] insert1 (build_string(str)); ^ category.c:543:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ category.c:545:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] describe_mnemonic(description) ^ category.c:562:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ category.c:569:3: warning: implicit declaration of function 'set_buffer_internal' is invalid in C99 [-Wimplicit-function-declaration] set_buffer_internal (XBUFFER (Vstandard_output)); ^ category.c:581:3: warning: implicit declaration of function 'internal_with_output_to_temp_buffer' is invalid in C99 [-Wimplicit-function-declaration] internal_with_output_to_temp_buffer ^ category.c:587:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_category_once () ^ category.c:595:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ category.c:597:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_category () ^ category.c:617:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 38 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include ccl.c In file included from ccl.c:33: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from ccl.c:33: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from ccl.c:36: ./coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ ccl.c:155:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ccl_driver(ccl, src, dst, n, end_flag) ^ ccl.c:200:7: warning: implicit declaration of function 'mchar_to_string' is invalid in C99 [-Wimplicit-function-declaration] CCL_WRITE_CHAR (reg[rrr]); ^ ccl.c:124:10: note: expanded from macro 'CCL_WRITE_CHAR' d += CHARtoSTR (ch, d);\ ^ ./charset.h:221:34: note: expanded from macro 'CHARtoSTR' *(s) = (unsigned int)(c), 1 : mchar_to_string(c, s)) ^ ccl.c:382:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(d, "CCL: Invalid command (%x).\n", op); ^ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ ccl.c:385:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(d, "CCL: Conversion buffer too short.\n"); ^ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ ccl.c:388:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(d, "CCL: Unknown error type (%d).\n", ccl->status); ^ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ ccl.c:390:10: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] d += strlen(d); ^ ccl.c:390:10: note: include the header or explicitly provide a declaration for 'strlen' ccl.c:390:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] d += strlen(d); ^ ccl.c:397:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_ccl_program (ccl, val) ^ ccl.c:413:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ccl.c:437:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ccl.reg[i] = XINT (XVECTOR (reg)->contents[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ ccl.c:437:20: note: place parentheses around the '-' expression to silence this warning ccl.reg[i] = XINT (XVECTOR (reg)->contents[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ ccl.c:437:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ccl.reg[i] = XINT (XVECTOR (reg)->contents[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ ccl.c:437:20: note: place parentheses around the '-' expression to silence this warning ccl.reg[i] = XINT (XVECTOR (reg)->contents[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ ccl.c:438:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ccl_driver (&ccl, (char *)0, (char *)0, 0, 0); ^~~~~~~~~ ccl.c:438:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ccl_driver (&ccl, (char *)0, (char *)0, 0, 0); ^~~~~~~~~ ccl.c:473:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ccl.reg[i] = XINT (XVECTOR (status)->contents[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ ccl.c:473:20: note: place parentheses around the '-' expression to silence this warning ccl.reg[i] = XINT (XVECTOR (status)->contents[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ ccl.c:473:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ccl.reg[i] = XINT (XVECTOR (status)->contents[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ ccl.c:473:20: note: place parentheses around the '-' expression to silence this warning ccl.reg[i] = XINT (XVECTOR (status)->contents[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ ccl.c:478:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] i = XINT (XVECTOR (status)->contents[8]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ ccl.c:478:9: note: place parentheses around the '-' expression to silence this warning i = XINT (XVECTOR (status)->contents[8]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ ccl.c:478:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] i = XINT (XVECTOR (status)->contents[8]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ ccl.c:478:9: note: place parentheses around the '-' expression to silence this warning i = XINT (XVECTOR (status)->contents[8]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ ccl.c:488:48: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = ccl_driver (&ccl, XSTRING (str)->data, outbuf, XSTRING (str)->size, 0); ^~~~~~ ccl.c:489:21: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ccl_driver (&ccl, "", outbuf + len, 0, 1); ^~ ccl.c:489:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ccl_driver (&ccl, "", outbuf + len, 0, 1); ^~~~~~~~~~~~ ccl.c:495:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free (outbuf); ^ ccl.c:511:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int lc = XINT (leading_char); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ ccl.c:511:12: note: place parentheses around the '-' expression to silence this warning int lc = XINT (leading_char); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ ccl.c:511:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int lc = XINT (leading_char); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ ccl.c:511:12: note: place parentheses around the '-' expression to silence this warning int lc = XINT (leading_char); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ ccl.c:538:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int lc = XINT (leading_char); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ ccl.c:538:12: note: place parentheses around the '-' expression to silence this warning int lc = XINT (leading_char); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ ccl.c:538:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int lc = XINT (leading_char); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ ccl.c:538:12: note: place parentheses around the '-' expression to silence this warning int lc = XINT (leading_char); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ ccl.c:572:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_ccl () ^ ccl.c:589:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 34 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include mcpath.c In file included from mcpath.c:39: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from mcpath.c:39: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from mcpath.c:51: ./coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ mcpath.c:65:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ mcpath.c:74:3: warning: implicit declaration of function 'encode_code' is invalid in C99 [-Wimplicit-function-declaration] encode_code (coding_system, cp); ^ mcpath.c:100:8: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (buf, dst, len); ^ mcpath.c:120:13: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] len = strlen (src) + 1; /* + 1 for '\0' */ ^ mcpath.c:120:13: note: include the header or explicitly provide a declaration for 'strlen' mcpath.c:120:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = strlen (src) + 1; /* + 1 for '\0' */ ^~~ mcpath.c:157:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = encode_path_1 (path, strlen (path) + 1, encode_buffer, size); ^~~~ mcpath.c:205:10: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] return creat (decode_path (path, buffer), mode); ^ mcpath.c:216:10: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] return open (decode_path (path, buffer), flag, mode); ^ mcpath.c:224:10: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] return access (decode_path (path, buffer), mode); ^ mcpath.c:232:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return chmod (decode_path (path, buffer), mode); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:243:23: note: passing argument to parameter here int chmod(const char *, mode_t); ^ mcpath.c:244:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return lstat (decode_path (path, buffer), st_addr); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:254:23: note: passing argument to parameter here int lstat(const char *, struct stat *) __RENAME(__lstat50); ^ mcpath.c:256:11: warning: implicit declaration of function 'readlink' is invalid in C99 [-Wimplicit-function-declaration] nread = readlink (decode_path (path, buffer), buffer2, MAXPATHLEN); ^ mcpath.c:291:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return stat (decode_path (path, buffer), st_addr); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ mcpath.c:301:10: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] return unlink (decode_path (path, buffer)); ^ mcpath.c:309:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return rename (decode_path (path, buffer), decode_path (newpath, buffer2)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:279:26: note: passing argument to parameter here int rename (const char *, const char *); ^ mcpath.c:309:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return rename (decode_path (path, buffer), decode_path (newpath, buffer2)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:279:40: note: passing argument to parameter here int rename (const char *, const char *); ^ mcpath.c:317:10: warning: implicit declaration of function 'link' is invalid in C99 [-Wimplicit-function-declaration] return link (decode_path (path, buffer), decode_path (newpath, buffer2)); ^ mcpath.c:325:10: warning: implicit declaration of function 'symlink' is invalid in C99 [-Wimplicit-function-declaration] return symlink (decode_path (path, buffer), decode_path (newpath, buffer2)); ^ mcpath.c:361:10: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] return chdir (path); ^ mcpath.c:426:3: warning: implicit declaration of function 'execvp' is invalid in C99 [-Wimplicit-function-declaration] execvp (path, argv); ^ mcpath.c:434:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return opendir (decode_path (path, buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dirent.h:98:26: note: passing argument to parameter here DIR *opendir(const char *) __RENAME(__opendir30); ^ mcpath.c:453:26: warning: passing 'char [512]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = encode_path_1 (sp->d_name, NAMLEN (sp), ^~~~~~~~~~ mcpath.c:474:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return mkdir (decode_path (path, buffer), mode); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:244:23: note: passing argument to parameter here int mkdir(const char *, mode_t); ^ mcpath.c:483:10: warning: implicit declaration of function 'rmdir' is invalid in C99 [-Wimplicit-function-declaration] return rmdir (decode_path (path, buffer)); ^ mcpath.c:487:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_mcpath () ^ mcpath.c:496:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 33 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include -I/usr/pkg/include/wnn wnnfns.c In file included from wnnfns.c:298: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from wnnfns.c:298: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ wnnfns.c:361:10: warning: implicit declaration of function 'check_wnn_server_type' is invalid in C99 [-Wimplicit-function-declaration] snum = check_wnn_server_type(); ^ wnnfns.c:364:5: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(langname, "ja_JP"); ^ wnnfns.c:364:5: note: include the header or explicitly provide a declaration for 'strcpy' wnnfns.c:378:3: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(envname, XSTRING(lname)->data, 32); ^ wnnfns.c:378:3: note: include the header or explicitly provide a declaration for 'strncpy' wnnfns.c:378:20: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(envname, XSTRING(lname)->data, 32); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ wnnfns.c:382:23: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(hostname, XSTRING(hname)->data, 32); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ wnnfns.c:393:3: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(envname, "R"); ^ wnnfns.c:393:3: note: include the header or explicitly provide a declaration for 'strcat' wnnfns.c:452:3: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT(args[2]), ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:172:54: note: expanded from macro 'jl_dic_add' jl_dic_add_e(jl_env(buf),dic_name,hindo_name,rev,prio,rw, hrw, pwd_dic,\ ^~~~ wnnfns.c:452:3: note: place parentheses around the '-' expression to silence this warning XINT(args[2]), ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:172:54: note: expanded from macro 'jl_dic_add' jl_dic_add_e(jl_env(buf),dic_name,hindo_name,rev,prio,rw, hrw, pwd_dic,\ ^~~~ wnnfns.c:452:3: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT(args[2]), ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:172:54: note: expanded from macro 'jl_dic_add' jl_dic_add_e(jl_env(buf),dic_name,hindo_name,rev,prio,rw, hrw, pwd_dic,\ ^~~~ wnnfns.c:452:3: note: place parentheses around the '-' expression to silence this warning XINT(args[2]), ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:172:54: note: expanded from macro 'jl_dic_add' jl_dic_add_e(jl_env(buf),dic_name,hindo_name,rev,prio,rw, hrw, pwd_dic,\ ^~~~ wnnfns.c:449:3: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] XSTRING(args[0])->data, ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:172:30: note: expanded from macro 'jl_dic_add' jl_dic_add_e(jl_env(buf),dic_name,hindo_name,rev,prio,rw, hrw, pwd_dic,\ ^~~~~~~~ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:263:75: note: passing argument to parameter 'dic_name' here extern int jl_dic_add_e FRWNN_PARAMS((register struct wnn_env *env, char *dic_name, char *hindo_name, int rev, int prio, int rw, int hrw, char *pwd_dic, char *pwd_hindo, int (*error_handler) (), int (*message_handler) () )); ^ wnnfns.c:450:3: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] XSTRING(args[1])->data, ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:172:39: note: expanded from macro 'jl_dic_add' jl_dic_add_e(jl_env(buf),dic_name,hindo_name,rev,prio,rw, hrw, pwd_dic,\ ^~~~~~~~~~ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:263:91: note: passing argument to parameter 'hindo_name' here extern int jl_dic_add_e FRWNN_PARAMS((register struct wnn_env *env, char *dic_name, char *hindo_name, int rev, int prio, int rw, int hrw, char *pwd_dic, char *pwd_hindo, int (*error_handler) (), int (*message_handler) () )); ^ wnnfns.c:455:3: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] (args[5] == Qnil) ? 0 : XSTRING(args[5])->data, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:172:68: note: expanded from macro 'jl_dic_add' jl_dic_add_e(jl_env(buf),dic_name,hindo_name,rev,prio,rw, hrw, pwd_dic,\ ^~~~~~~ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:263:145: note: passing argument to parameter 'pwd_dic' here extern int jl_dic_add_e FRWNN_PARAMS((register struct wnn_env *env, char *dic_name, char *hindo_name, int rev, int prio, int rw, int hrw, char *pwd_dic, char *pwd_hindo, int (*error_handler) (), int (*message_handler) () )); ^ wnnfns.c:456:3: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] (args[6] == Qnil) ? 0 : XSTRING(args[6])->data, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:173:23: note: expanded from macro 'jl_dic_add' pwd_hindo, error_handler, message_handler) ^~~~~~~~~ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:263:160: note: passing argument to parameter 'pwd_hindo' here extern int jl_dic_add_e FRWNN_PARAMS((register struct wnn_env *env, char *dic_name, char *hindo_name, int rev, int prio, int rw, int hrw, char *pwd_dic, char *pwd_hindo, int (*error_handler) (), int (*message_handler) () )); ^ wnnfns.c:458:3: warning: incompatible pointer types passing 'void ()' to parameter of type 'int (*)()' [-Wincompatible-pointer-types] puts2 ) < 0) { ^~~~~ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:173:49: note: expanded from macro 'jl_dic_add' pwd_hindo, error_handler, message_handler) ^~~~~~~~~~~~~~~ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:263:202: note: passing argument to parameter 'message_handler' here extern int jl_dic_add_e FRWNN_PARAMS((register struct wnn_env *env, char *dic_name, char *hindo_name, int rev, int prio, int rw, int hrw, char *pwd_dic, char *pwd_hindo, int (*error_handler) (), int (*message_handler) () )); ^ wnnfns.c:476:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] no = XINT(dicno); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:476:8: note: place parentheses around the '-' expression to silence this warning no = XINT(dicno); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:476:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] no = XINT(dicno); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:476:8: note: place parentheses around the '-' expression to silence this warning no = XINT(dicno); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:505:5: warning: implicit declaration of function 'w2m' is invalid in C99 [-Wimplicit-function-declaration] w2m(dicinfo->comment, comment, lc); ^ wnnfns.c:507:37: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] Fcons(make_string(dicinfo->fname, strlen(dicinfo->fname)), ^ wnnfns.c:507:37: note: include the header or explicitly provide a declaration for 'strlen' wnnfns.c:508:37: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Fcons(make_string(comment, strlen(comment)), ^~~~~~~ wnnfns.c:528:3: warning: implicit declaration of function 'm2w' is invalid in C99 [-Wimplicit-function-declaration] m2w(XSTRING(comment)->data, wbuf); ^ wnnfns.c:529:43: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_dic_comment_set(wnnfns_buf[snum], XINT(dicno), wbuf) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:224:38: note: expanded from macro 'jl_dic_comment_set' jl_dic_comment_set_e((buf)->env, dic, comm) ^~~ wnnfns.c:529:43: note: place parentheses around the '-' expression to silence this warning if(jl_dic_comment_set(wnnfns_buf[snum], XINT(dicno), wbuf) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:224:38: note: expanded from macro 'jl_dic_comment_set' jl_dic_comment_set_e((buf)->env, dic, comm) ^~~ wnnfns.c:529:43: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_dic_comment_set(wnnfns_buf[snum], XINT(dicno), wbuf) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:224:38: note: expanded from macro 'jl_dic_comment_set' jl_dic_comment_set_e((buf)->env, dic, comm) ^~~ wnnfns.c:529:43: note: place parentheses around the '-' expression to silence this warning if(jl_dic_comment_set(wnnfns_buf[snum], XINT(dicno), wbuf) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:224:38: note: expanded from macro 'jl_dic_comment_set' jl_dic_comment_set_e((buf)->env, dic, comm) ^~~ wnnfns.c:553:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ wnnfns.c:593:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:593:8: note: place parentheses around the '-' expression to silence this warning no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:593:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:593:8: note: place parentheses around the '-' expression to silence this warning no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:598:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (offset = jl_zenkouho(wnnfns_buf[snum],no,WNN_USE_MAE, uniq_level) < 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wnnfns.c:598:16: note: place parentheses around the assignment to silence this warning if (offset = jl_zenkouho(wnnfns_buf[snum],no,WNN_USE_MAE, uniq_level) < 0) ^ ( ) wnnfns.c:598:16: note: use '==' to turn this assignment into an equality comparison if (offset = jl_zenkouho(wnnfns_buf[snum],no,WNN_USE_MAE, uniq_level) < 0) ^ == wnnfns.c:602:56: warning: implicit declaration of function 'dai_end' is invalid in C99 [-Wimplicit-function-declaration] if (offset = jl_zenkouho_dai(wnnfns_buf[snum], no, dai_end(no, snum), ^ wnnfns.c:602:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (offset = jl_zenkouho_dai(wnnfns_buf[snum], no, dai_end(no, snum), ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wnnfns.c:602:16: note: place parentheses around the assignment to silence this warning if (offset = jl_zenkouho_dai(wnnfns_buf[snum], no, dai_end(no, snum), ^ wnnfns.c:602:16: note: use '==' to turn this assignment into an equality comparison if (offset = jl_zenkouho_dai(wnnfns_buf[snum], no, dai_end(no, snum), ^ == wnnfns.c:623:43: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] jl_get_zenkouho_kanji(wnnfns_buf[snum], XINT(kouhoNo), wbuf); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:623:43: note: place parentheses around the '-' expression to silence this warning jl_get_zenkouho_kanji(wnnfns_buf[snum], XINT(kouhoNo), wbuf); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:623:43: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] jl_get_zenkouho_kanji(wnnfns_buf[snum], XINT(kouhoNo), wbuf); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:623:43: note: place parentheses around the '-' expression to silence this warning jl_get_zenkouho_kanji(wnnfns_buf[snum], XINT(kouhoNo), wbuf); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:625:40: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_string(kanji_buf, strlen(kanji_buf)); ^~~~~~~~~ wnnfns.c:657:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (jl_dai_top(wnnfns_buf[snum], XINT(bunNo)) == 1) return Qt; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:157:40: note: expanded from macro 'jl_dai_top' #define jl_dai_top(buf, k) ((buf)->bun[k]->dai_top) ^ wnnfns.c:657:36: note: place parentheses around the '-' expression to silence this warning if (jl_dai_top(wnnfns_buf[snum], XINT(bunNo)) == 1) return Qt; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:157:40: note: expanded from macro 'jl_dai_top' #define jl_dai_top(buf, k) ((buf)->bun[k]->dai_top) ^ wnnfns.c:657:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (jl_dai_top(wnnfns_buf[snum], XINT(bunNo)) == 1) return Qt; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:157:40: note: expanded from macro 'jl_dai_top' #define jl_dai_top(buf, k) ((buf)->bun[k]->dai_top) ^ wnnfns.c:657:36: note: place parentheses around the '-' expression to silence this warning if (jl_dai_top(wnnfns_buf[snum], XINT(bunNo)) == 1) return Qt; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:157:40: note: expanded from macro 'jl_dai_top' #define jl_dai_top(buf, k) ((buf)->bun[k]->dai_top) ^ wnnfns.c:670:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return make_number(dai_end(XINT(bunNo), snum)); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:670:30: note: place parentheses around the '-' expression to silence this warning return make_number(dai_end(XINT(bunNo), snum)); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:670:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return make_number(dai_end(XINT(bunNo), snum)); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:670:30: note: place parentheses around the '-' expression to silence this warning return make_number(dai_end(XINT(bunNo), snum)); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:683:41: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_set_jikouho(wnnfns_buf[snum], XINT(offset)) < 0) return Qnil; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:683:41: note: place parentheses around the '-' expression to silence this warning if(jl_set_jikouho(wnnfns_buf[snum], XINT(offset)) < 0) return Qnil; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:683:41: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_set_jikouho(wnnfns_buf[snum], XINT(offset)) < 0) return Qnil; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:683:41: note: place parentheses around the '-' expression to silence this warning if(jl_set_jikouho(wnnfns_buf[snum], XINT(offset)) < 0) return Qnil; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:686:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_set_jikouho_dai(wnnfns_buf[snum], XINT(offset)) < 0) return Qnil; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:686:45: note: place parentheses around the '-' expression to silence this warning if(jl_set_jikouho_dai(wnnfns_buf[snum], XINT(offset)) < 0) return Qnil; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:686:45: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_set_jikouho_dai(wnnfns_buf[snum], XINT(offset)) < 0) return Qnil; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:686:45: note: place parentheses around the '-' expression to silence this warning if(jl_set_jikouho_dai(wnnfns_buf[snum], XINT(offset)) < 0) return Qnil; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:704:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:704:8: note: place parentheses around the '-' expression to silence this warning no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:704:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:704:8: note: place parentheses around the '-' expression to silence this warning no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:710:48: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if((cnt = jl_nobi_conv(wnnfns_buf[snum], no, XINT(len), -1, WNN_USE_MAE, ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:710:48: note: place parentheses around the '-' expression to silence this warning if((cnt = jl_nobi_conv(wnnfns_buf[snum], no, XINT(len), -1, WNN_USE_MAE, ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:710:48: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if((cnt = jl_nobi_conv(wnnfns_buf[snum], no, XINT(len), -1, WNN_USE_MAE, ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:710:48: note: place parentheses around the '-' expression to silence this warning if((cnt = jl_nobi_conv(wnnfns_buf[snum], no, XINT(len), -1, WNN_USE_MAE, ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:733:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] bun_no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:733:12: note: place parentheses around the '-' expression to silence this warning bun_no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:733:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] bun_no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:733:12: note: place parentheses around the '-' expression to silence this warning bun_no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:748:40: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = Fcons(make_string(cbuf, strlen(cbuf)), val); ^~~~ wnnfns.c:751:40: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = Fcons(make_string(cbuf, strlen(cbuf)), val); ^~~~ wnnfns.c:782:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:782:8: note: place parentheses around the '-' expression to silence this warning no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:782:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:782:8: note: place parentheses around the '-' expression to silence this warning no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:785:46: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return Fcons(make_string(kanji_buf, strlen(kanji_buf)), ^~~~~~~~~ wnnfns.c:805:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:805:8: note: place parentheses around the '-' expression to silence this warning no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:805:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:805:8: note: place parentheses around the '-' expression to silence this warning no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:808:45: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return Fcons(make_string(yomi_buf, strlen(yomi_buf)), ^~~~~~~~ wnnfns.c:836:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:836:10: note: place parentheses around the '-' expression to silence this warning no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:836:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:836:10: note: place parentheses around the '-' expression to silence this warning no = XINT(bunNo); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:868:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_word_add(wnnfns_buf[snum], XINT(dicno), yomi_buf, kanji_buf, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:205:32: note: expanded from macro 'jl_word_add' jl_word_add_e(jl_env(buf), dic, yomi, kanji, com, hinsi, hindo) ^~~ wnnfns.c:868:36: note: place parentheses around the '-' expression to silence this warning if(jl_word_add(wnnfns_buf[snum], XINT(dicno), yomi_buf, kanji_buf, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:205:32: note: expanded from macro 'jl_word_add' jl_word_add_e(jl_env(buf), dic, yomi, kanji, com, hinsi, hindo) ^~~ wnnfns.c:868:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_word_add(wnnfns_buf[snum], XINT(dicno), yomi_buf, kanji_buf, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:205:32: note: expanded from macro 'jl_word_add' jl_word_add_e(jl_env(buf), dic, yomi, kanji, com, hinsi, hindo) ^~~ wnnfns.c:868:36: note: place parentheses around the '-' expression to silence this warning if(jl_word_add(wnnfns_buf[snum], XINT(dicno), yomi_buf, kanji_buf, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:205:32: note: expanded from macro 'jl_word_add' jl_word_add_e(jl_env(buf), dic, yomi, kanji, com, hinsi, hindo) ^~~ wnnfns.c:869:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] comment_buf, XINT(hinsi), 0) < 0) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:205:55: note: expanded from macro 'jl_word_add' jl_word_add_e(jl_env(buf), dic, yomi, kanji, com, hinsi, hindo) ^~~~~ wnnfns.c:869:17: note: place parentheses around the '-' expression to silence this warning comment_buf, XINT(hinsi), 0) < 0) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:205:55: note: expanded from macro 'jl_word_add' jl_word_add_e(jl_env(buf), dic, yomi, kanji, com, hinsi, hindo) ^~~~~ wnnfns.c:869:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] comment_buf, XINT(hinsi), 0) < 0) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:205:55: note: expanded from macro 'jl_word_add' jl_word_add_e(jl_env(buf), dic, yomi, kanji, com, hinsi, hindo) ^~~~~ wnnfns.c:869:17: note: place parentheses around the '-' expression to silence this warning comment_buf, XINT(hinsi), 0) < 0) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:205:55: note: expanded from macro 'jl_word_add' jl_word_add_e(jl_env(buf), dic, yomi, kanji, com, hinsi, hindo) ^~~~~ wnnfns.c:885:39: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_word_delete(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:208:35: note: expanded from macro 'jl_word_delete' jl_word_delete_e(jl_env(buf), dic, entry) ^~~ wnnfns.c:885:39: note: place parentheses around the '-' expression to silence this warning if(jl_word_delete(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:208:35: note: expanded from macro 'jl_word_delete' jl_word_delete_e(jl_env(buf), dic, entry) ^~~ wnnfns.c:885:39: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_word_delete(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:208:35: note: expanded from macro 'jl_word_delete' jl_word_delete_e(jl_env(buf), dic, entry) ^~~ wnnfns.c:885:39: note: place parentheses around the '-' expression to silence this warning if(jl_word_delete(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:208:35: note: expanded from macro 'jl_word_delete' jl_word_delete_e(jl_env(buf), dic, entry) ^~~ wnnfns.c:885:49: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_word_delete(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:208:40: note: expanded from macro 'jl_word_delete' jl_word_delete_e(jl_env(buf), dic, entry) ^~~~~ wnnfns.c:885:49: note: place parentheses around the '-' expression to silence this warning if(jl_word_delete(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:208:40: note: expanded from macro 'jl_word_delete' jl_word_delete_e(jl_env(buf), dic, entry) ^~~~~ wnnfns.c:885:49: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_word_delete(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:208:40: note: expanded from macro 'jl_word_delete' jl_word_delete_e(jl_env(buf), dic, entry) ^~~~~ wnnfns.c:885:49: note: place parentheses around the '-' expression to silence this warning if(jl_word_delete(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:208:40: note: expanded from macro 'jl_word_delete' jl_word_delete_e(jl_env(buf), dic, entry) ^~~~~ wnnfns.c:901:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_word_use(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:193:32: note: expanded from macro 'jl_word_use' jl_word_use_e(jl_env(buf), dic_no, entry) ^~~~~~ wnnfns.c:901:36: note: place parentheses around the '-' expression to silence this warning if(jl_word_use(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:193:32: note: expanded from macro 'jl_word_use' jl_word_use_e(jl_env(buf), dic_no, entry) ^~~~~~ wnnfns.c:901:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_word_use(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:193:32: note: expanded from macro 'jl_word_use' jl_word_use_e(jl_env(buf), dic_no, entry) ^~~~~~ wnnfns.c:901:36: note: place parentheses around the '-' expression to silence this warning if(jl_word_use(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:193:32: note: expanded from macro 'jl_word_use' jl_word_use_e(jl_env(buf), dic_no, entry) ^~~~~~ wnnfns.c:901:46: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_word_use(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:193:40: note: expanded from macro 'jl_word_use' jl_word_use_e(jl_env(buf), dic_no, entry) ^~~~~ wnnfns.c:901:46: note: place parentheses around the '-' expression to silence this warning if(jl_word_use(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:193:40: note: expanded from macro 'jl_word_use' jl_word_use_e(jl_env(buf), dic_no, entry) ^~~~~ wnnfns.c:901:46: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if(jl_word_use(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:193:40: note: expanded from macro 'jl_word_use' jl_word_use_e(jl_env(buf), dic_no, entry) ^~~~~ wnnfns.c:901:46: note: place parentheses around the '-' expression to silence this warning if(jl_word_use(wnnfns_buf[snum], XINT(no), XINT(serial)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:193:40: note: expanded from macro 'jl_word_use' jl_word_use_e(jl_env(buf), dic_no, entry) ^~~~~ wnnfns.c:924:6: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT(no), XINT(serial))) <= 0) { ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:211:33: note: expanded from macro 'jl_word_info' jl_word_info_e(jl_env(buf), dic_no, entry) ^~~~~~ wnnfns.c:924:6: note: place parentheses around the '-' expression to silence this warning XINT(no), XINT(serial))) <= 0) { ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:211:33: note: expanded from macro 'jl_word_info' jl_word_info_e(jl_env(buf), dic_no, entry) ^~~~~~ wnnfns.c:924:6: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT(no), XINT(serial))) <= 0) { ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:211:33: note: expanded from macro 'jl_word_info' jl_word_info_e(jl_env(buf), dic_no, entry) ^~~~~~ wnnfns.c:924:6: note: place parentheses around the '-' expression to silence this warning XINT(no), XINT(serial))) <= 0) { ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:211:33: note: expanded from macro 'jl_word_info' jl_word_info_e(jl_env(buf), dic_no, entry) ^~~~~~ wnnfns.c:924:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT(no), XINT(serial))) <= 0) { ~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:211:41: note: expanded from macro 'jl_word_info' jl_word_info_e(jl_env(buf), dic_no, entry) ^~~~~ wnnfns.c:924:16: note: place parentheses around the '-' expression to silence this warning XINT(no), XINT(serial))) <= 0) { ~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:211:41: note: expanded from macro 'jl_word_info' jl_word_info_e(jl_env(buf), dic_no, entry) ^~~~~ wnnfns.c:924:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT(no), XINT(serial))) <= 0) { ~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:211:41: note: expanded from macro 'jl_word_info' jl_word_info_e(jl_env(buf), dic_no, entry) ^~~~~ wnnfns.c:924:16: note: place parentheses around the '-' expression to silence this warning XINT(no), XINT(serial))) <= 0) { ~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:211:41: note: expanded from macro 'jl_word_info' jl_word_info_e(jl_env(buf), dic_no, entry) ^~~~~ wnnfns.c:931:42: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = Fcons(make_string(cbuf, strlen(cbuf)), val); ^~~~ wnnfns.c:933:42: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = Fcons(make_string(cbuf, strlen(cbuf)), val); ^~~~ wnnfns.c:935:42: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = Fcons(make_string(cbuf, strlen(cbuf)), val); ^~~~ wnnfns.c:953:5: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT(no), ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:953:5: note: place parentheses around the '-' expression to silence this warning XINT(no), ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:953:5: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT(no), ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:953:5: note: place parentheses around the '-' expression to silence this warning XINT(no), ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:954:5: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT(serial), ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:954:5: note: place parentheses around the '-' expression to silence this warning XINT(serial), ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:954:5: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT(serial), ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:954:5: note: place parentheses around the '-' expression to silence this warning XINT(serial), ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:956:5: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT(hindo)) < 0) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:956:5: note: place parentheses around the '-' expression to silence this warning XINT(hindo)) < 0) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:956:5: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT(hindo)) < 0) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:956:5: note: place parentheses around the '-' expression to silence this warning XINT(hindo)) < 0) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:990:53: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = Fcons(Fcons(make_string(kanji_buf, strlen(kanji_buf)), ^~~~~~~~~ wnnfns.c:1055:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.n = XINT(args[0]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1055:13: note: place parentheses around the '-' expression to silence this warning param.n = XINT(args[0]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1055:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.n = XINT(args[0]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1055:13: note: place parentheses around the '-' expression to silence this warning param.n = XINT(args[0]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1056:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.nsho = XINT(args[1]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1056:16: note: place parentheses around the '-' expression to silence this warning param.nsho = XINT(args[1]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1056:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.nsho = XINT(args[1]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1056:16: note: place parentheses around the '-' expression to silence this warning param.nsho = XINT(args[1]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1057:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p1 = XINT(args[2]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1057:14: note: place parentheses around the '-' expression to silence this warning param.p1 = XINT(args[2]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1057:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p1 = XINT(args[2]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1057:14: note: place parentheses around the '-' expression to silence this warning param.p1 = XINT(args[2]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1058:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p2 = XINT(args[3]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1058:14: note: place parentheses around the '-' expression to silence this warning param.p2 = XINT(args[3]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1058:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p2 = XINT(args[3]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1058:14: note: place parentheses around the '-' expression to silence this warning param.p2 = XINT(args[3]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1059:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p3 = XINT(args[4]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1059:14: note: place parentheses around the '-' expression to silence this warning param.p3 = XINT(args[4]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1059:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p3 = XINT(args[4]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1059:14: note: place parentheses around the '-' expression to silence this warning param.p3 = XINT(args[4]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1060:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p4 = XINT(args[5]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1060:14: note: place parentheses around the '-' expression to silence this warning param.p4 = XINT(args[5]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1060:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p4 = XINT(args[5]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1060:14: note: place parentheses around the '-' expression to silence this warning param.p4 = XINT(args[5]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1061:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p5 = XINT(args[6]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1061:14: note: place parentheses around the '-' expression to silence this warning param.p5 = XINT(args[6]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1061:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p5 = XINT(args[6]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1061:14: note: place parentheses around the '-' expression to silence this warning param.p5 = XINT(args[6]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1062:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p6 = XINT(args[7]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1062:14: note: place parentheses around the '-' expression to silence this warning param.p6 = XINT(args[7]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1062:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p6 = XINT(args[7]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1062:14: note: place parentheses around the '-' expression to silence this warning param.p6 = XINT(args[7]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1063:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p7 = XINT(args[8]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1063:14: note: place parentheses around the '-' expression to silence this warning param.p7 = XINT(args[8]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1063:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p7 = XINT(args[8]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1063:14: note: place parentheses around the '-' expression to silence this warning param.p7 = XINT(args[8]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1064:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p8 = XINT(args[9]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1064:14: note: place parentheses around the '-' expression to silence this warning param.p8 = XINT(args[9]); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1064:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p8 = XINT(args[9]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1064:14: note: place parentheses around the '-' expression to silence this warning param.p8 = XINT(args[9]); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1065:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p9 = XINT(args[10]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1065:14: note: place parentheses around the '-' expression to silence this warning param.p9 = XINT(args[10]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1065:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p9 = XINT(args[10]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1065:14: note: place parentheses around the '-' expression to silence this warning param.p9 = XINT(args[10]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1066:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p10 = XINT(args[11]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1066:15: note: place parentheses around the '-' expression to silence this warning param.p10 = XINT(args[11]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1066:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p10 = XINT(args[11]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1066:15: note: place parentheses around the '-' expression to silence this warning param.p10 = XINT(args[11]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1067:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p11 = XINT(args[12]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1067:15: note: place parentheses around the '-' expression to silence this warning param.p11 = XINT(args[12]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1067:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p11 = XINT(args[12]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1067:15: note: place parentheses around the '-' expression to silence this warning param.p11 = XINT(args[12]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1068:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p12 = XINT(args[13]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1068:15: note: place parentheses around the '-' expression to silence this warning param.p12 = XINT(args[13]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1068:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p12 = XINT(args[13]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1068:15: note: place parentheses around the '-' expression to silence this warning param.p12 = XINT(args[13]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1069:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p13 = XINT(args[14]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1069:15: note: place parentheses around the '-' expression to silence this warning param.p13 = XINT(args[14]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1069:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p13 = XINT(args[14]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1069:15: note: place parentheses around the '-' expression to silence this warning param.p13 = XINT(args[14]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1070:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p14 = XINT(args[15]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1070:15: note: place parentheses around the '-' expression to silence this warning param.p14 = XINT(args[15]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1070:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p14 = XINT(args[15]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1070:15: note: place parentheses around the '-' expression to silence this warning param.p14 = XINT(args[15]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1071:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p15 = XINT(args[16]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1071:15: note: place parentheses around the '-' expression to silence this warning param.p15 = XINT(args[16]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1071:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] param.p15 = XINT(args[16]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ wnnfns.c:1071:15: note: place parentheses around the '-' expression to silence this warning param.p15 = XINT(args[16]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ wnnfns.c:1109:3: warning: implicit declaration of function 'c2m' is invalid in C99 [-Wimplicit-function-declaration] c2m(msgp, mbuf, lc); ^ wnnfns.c:1123:40: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(jl_fuzokugo_set(wnnfns_buf[snum], XSTRING(file)->data) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:175:69: note: expanded from macro 'jl_fuzokugo_set' #define jl_fuzokugo_set(buf, fname) jl_fuzokugo_set_e(jl_env(buf), fname) ^~~~~ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:274:71: note: passing argument to parameter 'fname' here extern int jl_fuzokugo_set_e FRWNN_PARAMS((struct wnn_env *env, char *fname)); ^ wnnfns.c:1164:46: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if((cnt = jl_hinsi_dicts(wnnfns_buf[snum], XINT(hinsi), &area)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:230:35: note: expanded from macro 'jl_hinsi_dicts' jl_hinsi_dicts_e(jl_env(buf), no, area) ^~ wnnfns.c:1164:46: note: place parentheses around the '-' expression to silence this warning if((cnt = jl_hinsi_dicts(wnnfns_buf[snum], XINT(hinsi), &area)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:230:35: note: expanded from macro 'jl_hinsi_dicts' jl_hinsi_dicts_e(jl_env(buf), no, area) ^~ wnnfns.c:1164:46: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if((cnt = jl_hinsi_dicts(wnnfns_buf[snum], XINT(hinsi), &area)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:230:35: note: expanded from macro 'jl_hinsi_dicts' jl_hinsi_dicts_e(jl_env(buf), no, area) ^~ wnnfns.c:1164:46: note: place parentheses around the '-' expression to silence this warning if((cnt = jl_hinsi_dicts(wnnfns_buf[snum], XINT(hinsi), &area)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:230:35: note: expanded from macro 'jl_hinsi_dicts' jl_hinsi_dicts_e(jl_env(buf), no, area) ^~ wnnfns.c:1192:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if((cnt = jl_hinsi_list(wnnfns_buf[snum], XINT(dicno), wbuf, &area)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:227:34: note: expanded from macro 'jl_hinsi_list' jl_hinsi_list_e(jl_env(buf), dic_no, name, area) ^~~~~~ wnnfns.c:1192:45: note: place parentheses around the '-' expression to silence this warning if((cnt = jl_hinsi_list(wnnfns_buf[snum], XINT(dicno), wbuf, &area)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:227:34: note: expanded from macro 'jl_hinsi_list' jl_hinsi_list_e(jl_env(buf), dic_no, name, area) ^~~~~~ wnnfns.c:1192:45: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if((cnt = jl_hinsi_list(wnnfns_buf[snum], XINT(dicno), wbuf, &area)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:227:34: note: expanded from macro 'jl_hinsi_list' jl_hinsi_list_e(jl_env(buf), dic_no, name, area) ^~~~~~ wnnfns.c:1192:45: note: place parentheses around the '-' expression to silence this warning if((cnt = jl_hinsi_list(wnnfns_buf[snum], XINT(dicno), wbuf, &area)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:227:34: note: expanded from macro 'jl_hinsi_list' jl_hinsi_list_e(jl_env(buf), dic_no, name, area) ^~~~~~ wnnfns.c:1199:42: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = Fcons(make_string(cbuf, strlen(cbuf)), val); ^~~~ wnnfns.c:1217:47: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if((wname = jl_hinsi_name(wnnfns_buf[snum], XINT(no))) == 0) return Qnil; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:218:61: note: expanded from macro 'jl_hinsi_name' #define jl_hinsi_name(buf, no) jl_hinsi_name_e(jl_env(buf), no) ^~ wnnfns.c:1217:47: note: place parentheses around the '-' expression to silence this warning if((wname = jl_hinsi_name(wnnfns_buf[snum], XINT(no))) == 0) return Qnil; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:218:61: note: expanded from macro 'jl_hinsi_name' #define jl_hinsi_name(buf, no) jl_hinsi_name_e(jl_env(buf), no) ^~ wnnfns.c:1217:47: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if((wname = jl_hinsi_name(wnnfns_buf[snum], XINT(no))) == 0) return Qnil; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:218:61: note: expanded from macro 'jl_hinsi_name' #define jl_hinsi_name(buf, no) jl_hinsi_name_e(jl_env(buf), no) ^~ wnnfns.c:1217:47: note: place parentheses around the '-' expression to silence this warning if((wname = jl_hinsi_name(wnnfns_buf[snum], XINT(no))) == 0) return Qnil; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /data/scratch/editors/mule/work/.buildlink/include/wnn/jllib.h:218:61: note: expanded from macro 'jl_hinsi_name' #define jl_hinsi_name(buf, no) jl_hinsi_name_e(jl_env(buf), no) ^~ wnnfns.c:1219:35: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_string(name, strlen(name)); ^~~~ wnnfns.c:1724:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_wnn() ^ wnnfns.c:1816:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ wnnfns.c:1818:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] w2m(wp, mp, lc) ^ wnnfns.c:1827:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(wc = *wp++) { ~~~^~~~~~~ wnnfns.c:1827:12: note: place parentheses around the assignment to silence this warning while(wc = *wp++) { ^ ( ) wnnfns.c:1827:12: note: use '==' to turn this assignment into an equality comparison while(wc = *wp++) { ^ == wnnfns.c:1831:8: warning: implicit declaration of function 'cwnn_yincod_pzy' is invalid in C99 [-Wimplicit-function-declaration] len = cwnn_yincod_pzy(pzy, wc, ^ wnnfns.c:1861:18: warning: '&' within '|' [-Wbitwise-op-parentheses] *mp++ = wc & 0x00ff | 0x80; ~~~^~~~~~~~ ~ wnnfns.c:1861:18: note: place parentheses around the '&' expression to silence this warning *mp++ = wc & 0x00ff | 0x80; ^ ( ) wnnfns.c:1869:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ wnnfns.c:1871:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] m2w(mp, wp) ^ wnnfns.c:1877:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (ch = *mp++) { ~~~^~~~~~~ wnnfns.c:1877:13: note: place parentheses around the assignment to silence this warning while (ch = *mp++) { ^ ( ) wnnfns.c:1877:13: note: use '==' to turn this assignment into an equality comparison while (ch = *mp++) { ^ == wnnfns.c:1906:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ wnnfns.c:1908:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] _xp(x) ^ wnnfns.c:1912:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ wnnfns.c:1929:9: warning: implicit declaration of function 'cwnn_pzy_yincod' is invalid in C99 [-Wimplicit-function-declaration] len = cwnn_pzy_yincod(ybuf, pbuf, ^ wnnfns.c:1942:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c2m(cp, mp, lc) ^ wnnfns.c:1948:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(ch = *cp) { ~~~^~~~~ wnnfns.c:1948:12: note: place parentheses around the assignment to silence this warning while(ch = *cp) { ^ ( ) wnnfns.c:1948:12: note: use '==' to turn this assignment into an equality comparison while(ch = *cp) { ^ == wnnfns.c:1956:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ wnnfns.c:2001:7: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] c2m(s, mbuf, lc); ^ wnnfns.c:2001:10: warning: passing 'char [512]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] c2m(s, mbuf, lc); ^~~~ 148 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include -I/usr/pkg/include canna.c In file included from canna.c:149: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from canna.c:149: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ canna.c:199:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static m2c(unsigned char *, int, unsigned char *); ~~~~~~ ^ canna.c:201:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static mule_strlen(unsigned char *, int); ~~~~~~ ^ canna.c:202:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static count_char(unsigned char *,int, int, int, int *, int *, int *); ~~~~~~ ^ canna.c:227:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] len = jrKanjiString(0, XINT (ch), buf, KEYTOSTRSIZE, &ks); ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:227:26: note: place parentheses around the '-' expression to silence this warning len = jrKanjiString(0, XINT (ch), buf, KEYTOSTRSIZE, &ks); ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:227:26: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] len = jrKanjiString(0, XINT (ch), buf, KEYTOSTRSIZE, &ks); ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:227:26: note: place parentheses around the '-' expression to silence this warning len = jrKanjiString(0, XINT (ch), buf, KEYTOSTRSIZE, &ks); ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:227:37: warning: passing 'unsigned char [2048]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = jrKanjiString(0, XINT (ch), buf, KEYTOSTRSIZE, &ks); ^~~ /data/scratch/editors/mule/work/.buildlink/include/canna/jrkanji.h:288:52: note: passing argument to parameter here int jrKanjiString pro((const int, const int, char *, const int, ^ canna.c:241:53: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] val = make_string((unsigned char*)jrKanjiError, strlen(jrKanjiError)); ^ canna.c:241:53: note: include the header or explicitly provide a declaration for 'strlen' canna.c:251:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int yomilen = strlen(p); ^ canna.c:258:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] yomilen2 = strlen(p); ^ canna.c:306:57: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Vcanna_mode_string = make_string(ks->mode, strlen(ks->mode)); ^~~~~~~~ canna.c:329:43: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] jrKanjiControl(0, KC_SETBUNSETSUKUGIRI, (char *)kugiri); ^ canna.c:330:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ canna.c:356:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] kugiri = XINT(num); ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:356:14: note: place parentheses around the '-' expression to silence this warning kugiri = XINT(num); ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:356:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] kugiri = XINT(num); ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:356:14: note: place parentheses around the '-' expression to silence this warning kugiri = XINT(num); ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:367:5: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(servername, XSTRING(server)->data, XSTRING(server)->size); ^ canna.c:367:5: note: include the header or explicitly provide a declaration for 'strncpy' canna.c:367:25: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(servername, XSTRING(server)->data, XSTRING(server)->size); ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ canna.c:379:21: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(rcname, XSTRING(rcfile)->data, XSTRING(rcfile)->size); ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ canna.c:398:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = Fcons(make_string(*q, strlen(*q)), val); ^~ canna.c:410:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern (*jrBeepFunc)(); ~~~~~~ ^ canna.c:413:16: warning: incompatible pointer types assigning to 'int (*)()' from 'long ()' [-Wincompatible-pointer-types] jrBeepFunc = Fding; ^ ~~~~~ canna.c:419:5: warning: implicit declaration of function 'wcKanjiControl' is invalid in C99 [-Wimplicit-function-declaration] wcKanjiControl(0, KC_SETAPPNAME, "mule"); ^ canna.c:423:45: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] jrKanjiControl(0, KC_SETBUNSETSUKUGIRI, (char *)kugiri); ^ canna.c:451:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = Fcons(make_string(*p, strlen(*p)), val); ^~ canna.c:482:22: warning: passing 'unsigned char [4096]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ks.length = strlen(cbuf); ^~~~ canna.c:499:43: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] jrKanjiControl(0, KC_SETWIDTH, (char *)XINT (num)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:499:43: note: place parentheses around the '-' expression to silence this warning jrKanjiControl(0, KC_SETWIDTH, (char *)XINT (num)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:499:43: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] jrKanjiControl(0, KC_SETWIDTH, (char *)XINT (num)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:499:43: note: place parentheses around the '-' expression to silence this warning jrKanjiControl(0, KC_SETWIDTH, (char *)XINT (num)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:518:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ksv.val = XINT (num); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:518:13: note: place parentheses around the '-' expression to silence this warning ksv.val = XINT (num); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:518:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ksv.val = XINT (num); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:518:13: note: place parentheses around the '-' expression to silence this warning ksv.val = XINT (num); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:557:22: warning: passing 'unsigned char [2048]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ks.length = strlen(buf); ^~~ canna.c:604:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] *buf = XINT (ch); ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:604:12: note: place parentheses around the '-' expression to silence this warning *buf = XINT (ch); ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:604:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] *buf = XINT (ch); ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:604:12: note: place parentheses around the '-' expression to silence this warning *buf = XINT (ch); ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:610:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ksv.val = XINT (num); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:610:13: note: place parentheses around the '-' expression to silence this warning ksv.val = XINT (num); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:610:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ksv.val = XINT (num); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:610:13: note: place parentheses around the '-' expression to silence this warning ksv.val = XINT (num); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:641:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = Fcons(make_string(p[n], strlen(p[n])), val); ^~~~ canna.c:653:35: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] jrKanjiControl(0, KC_QUERYMODE, buf); ^~~ /data/scratch/editors/mule/work/.buildlink/include/canna/jrkanji.h:290:53: note: passing argument to parameter here int jrKanjiControl pro((const int, const int, char *)); ^ canna.c:654:34: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_string(buf, strlen(buf)); ^~~ canna.c:667:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static confirmContext() ~~~~~~ ^ canna.c:680:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static byteLen(bun, len) ~~~~~~ ^ canna.c:718:57: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] nbun = RkBgnBun(IRCP_context, (char *)yomibuf, strlen(yomibuf), ^~~~~~~ canna.c:765:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] RkGoTo(IRCP_context, XINT (bunsetsu)); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:765:24: note: place parentheses around the '-' expression to silence this warning RkGoTo(IRCP_context, XINT (bunsetsu)); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:765:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] RkGoTo(IRCP_context, XINT (bunsetsu)); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:765:24: note: place parentheses around the '-' expression to silence this warning RkGoTo(IRCP_context, XINT (bunsetsu)); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:769:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] slen = strlen(p); ^ canna.c:792:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] nbun = XINT (bunsetsu); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:792:10: note: place parentheses around the '-' expression to silence this warning nbun = XINT (bunsetsu); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:792:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] nbun = XINT (bunsetsu); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:792:10: note: place parentheses around the '-' expression to silence this warning nbun = XINT (bunsetsu); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:797:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] len = byteLen(nbun, XINT(bunlen)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:797:23: note: place parentheses around the '-' expression to silence this warning len = byteLen(nbun, XINT(bunlen)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:797:23: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] len = byteLen(nbun, XINT(bunlen)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ canna.c:797:23: note: place parentheses around the '-' expression to silence this warning len = byteLen(nbun, XINT(bunlen)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ canna.c:988:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_canna () ^ canna.c:1202:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ canna.c:1211:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c2mu(cp, l, mp) ^ canna.c:1235:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ canna.c:1240:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] m2c(mp, l, cp) ^ canna.c:1265:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ canna.c:1278:8: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] c2mu(p,l,cbuf); ^ canna.c:1278:12: warning: passing 'unsigned char [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] c2mu(p,l,cbuf); ^~~~ canna.c:1279:35: warning: passing 'unsigned char [4096]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (make_string(cbuf,strlen(cbuf))); ^~~~ canna.c:1284:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mule_strlen(p,l) ^ canna.c:1314:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] count_char(p,len,pos,rev,clen,cpos,crev) ^ canna.c:1336:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 64 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include emacs.c In file included from emacs.c:61: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from emacs.c:61: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ emacs.c:227:9: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] kill (getpid (), fatal_error_code); ^ emacs.c:250:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_cmdargs (argc, argv, skip_args) ^ emacs.c:268:17: warning: implicit declaration of function 'openp' is invalid in C99 [-Wimplicit-function-declaration] int yes = openp (Vexec_path, Vinvocation_name, ^ emacs.c:339:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ emacs.c:418:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv, envp) ^ emacs.c:471:12: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (!strcmp (argv[i], "-d") || !strcmp (argv[i], "-display")) ^ emacs.c:471:12: note: include the header or explicitly provide a declaration for 'strcmp' emacs.c:535:7: warning: implicit declaration of function 'memory_warnings' is invalid in C99 [-Wimplicit-function-declaration] memory_warnings (0, malloc_warning); ^ emacs.c:539:7: warning: implicit declaration of function 'uninterrupt_malloc' is invalid in C99 [-Wimplicit-function-declaration] uninterrupt_malloc (); ^ emacs.c:569:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (0); ^ emacs.c:576:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (1); ^ emacs.c:576:4: note: include the header or explicitly provide a declaration for 'exit' emacs.c:578:7: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] dup (0); ^ emacs.c:579:13: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] if (! isatty (0)) ^ emacs.c:687:7: warning: implicit declaration of function 'init_alloc_once' is invalid in C99 [-Wimplicit-function-declaration] init_alloc_once (); ^ emacs.c:688:7: warning: implicit declaration of function 'init_obarray' is invalid in C99 [-Wimplicit-function-declaration] init_obarray (); ^ emacs.c:689:7: warning: implicit declaration of function 'init_eval_once' is invalid in C99 [-Wimplicit-function-declaration] init_eval_once (); ^ emacs.c:690:7: warning: implicit declaration of function 'init_charset_once' is invalid in C99 [-Wimplicit-function-declaration] init_charset_once (); /* 89.7.26, 91.10.19 by K.Handa */ ^ emacs.c:691:7: warning: implicit declaration of function 'init_syntax_once' is invalid in C99 [-Wimplicit-function-declaration] init_syntax_once (); /* Create standard syntax table. */ ^ emacs.c:692:7: warning: implicit declaration of function 'init_category_once' is invalid in C99 [-Wimplicit-function-declaration] init_category_once (); /* 91.12.7 by K.Handa */ ^ emacs.c:694:7: warning: implicit declaration of function 'init_casetab_once' is invalid in C99 [-Wimplicit-function-declaration] init_casetab_once (); ^ emacs.c:695:7: warning: implicit declaration of function 'init_buffer_once' is invalid in C99 [-Wimplicit-function-declaration] init_buffer_once (); /* Create buffer table and some buffers */ ^ emacs.c:696:7: warning: implicit declaration of function 'init_minibuf_once' is invalid in C99 [-Wimplicit-function-declaration] init_minibuf_once (); /* Create list of minibuffers */ ^ emacs.c:698:7: warning: implicit declaration of function 'init_window_once' is invalid in C99 [-Wimplicit-function-declaration] init_window_once (); /* Init the window system */ ^ emacs.c:706:3: warning: implicit declaration of function 'init_alloc' is invalid in C99 [-Wimplicit-function-declaration] init_alloc (); ^ emacs.c:707:3: warning: implicit declaration of function 'init_coding' is invalid in C99 [-Wimplicit-function-declaration] init_coding (); /* 92.1.7 by K.Handa */ ^ emacs.c:708:3: warning: implicit declaration of function 'init_eval' is invalid in C99 [-Wimplicit-function-declaration] init_eval (); ^ emacs.c:711:3: warning: implicit declaration of function 'init_fontset' is invalid in C99 [-Wimplicit-function-declaration] init_fontset (); ^ emacs.c:724:3: warning: implicit declaration of function 'set_process_environment' is invalid in C99 [-Wimplicit-function-declaration] set_process_environment (); ^ emacs.c:732:3: warning: implicit declaration of function 'init_buffer' is invalid in C99 [-Wimplicit-function-declaration] init_buffer (); /* Init default directory of main buffer */ ^ emacs.c:734:3: warning: implicit declaration of function 'init_callproc_1' is invalid in C99 [-Wimplicit-function-declaration] init_callproc_1 (); /* Must precede init_cmdargs and init_sys_modes. */ ^ emacs.c:736:3: warning: implicit declaration of function 'init_callproc' is invalid in C99 [-Wimplicit-function-declaration] init_callproc (); /* Must follow init_cmdargs but not init_sys_modes. */ ^ emacs.c:737:3: warning: implicit declaration of function 'init_lread' is invalid in C99 [-Wimplicit-function-declaration] init_lread (); ^ emacs.c:746:3: warning: implicit declaration of function 'init_keyboard' is invalid in C99 [-Wimplicit-function-declaration] init_keyboard (); /* This too must precede init_sys_modes */ ^ emacs.c:750:3: warning: implicit declaration of function 'init_sys_modes' is invalid in C99 [-Wimplicit-function-declaration] init_sys_modes (); /* Init system terminal modes (RAW or CBREAK, etc.) */ ^ emacs.c:751:3: warning: implicit declaration of function 'init_xdisp' is invalid in C99 [-Wimplicit-function-declaration] init_xdisp (); ^ emacs.c:752:3: warning: implicit declaration of function 'init_macros' is invalid in C99 [-Wimplicit-function-declaration] init_macros (); ^ emacs.c:753:3: warning: implicit declaration of function 'init_editfns' is invalid in C99 [-Wimplicit-function-declaration] init_editfns (); ^ emacs.c:755:3: warning: implicit declaration of function 'init_floatfns' is invalid in C99 [-Wimplicit-function-declaration] init_floatfns (); ^ emacs.c:760:3: warning: implicit declaration of function 'init_process' is invalid in C99 [-Wimplicit-function-declaration] init_process (); ^ emacs.c:762:3: warning: implicit declaration of function 'init_filelock' is invalid in C99 [-Wimplicit-function-declaration] init_filelock (); ^ emacs.c:772:7: warning: implicit declaration of function 'syms_of_data' is invalid in C99 [-Wimplicit-function-declaration] syms_of_data (); ^ emacs.c:773:7: warning: implicit declaration of function 'syms_of_alloc' is invalid in C99 [-Wimplicit-function-declaration] syms_of_alloc (); ^ emacs.c:774:7: warning: implicit declaration of function 'syms_of_lread' is invalid in C99 [-Wimplicit-function-declaration] syms_of_lread (); ^ emacs.c:775:7: warning: implicit declaration of function 'syms_of_print' is invalid in C99 [-Wimplicit-function-declaration] syms_of_print (); ^ emacs.c:776:7: warning: implicit declaration of function 'syms_of_eval' is invalid in C99 [-Wimplicit-function-declaration] syms_of_eval (); ^ emacs.c:777:7: warning: implicit declaration of function 'syms_of_fns' is invalid in C99 [-Wimplicit-function-declaration] syms_of_fns (); ^ emacs.c:778:7: warning: implicit declaration of function 'syms_of_floatfns' is invalid in C99 [-Wimplicit-function-declaration] syms_of_floatfns (); ^ emacs.c:780:7: warning: implicit declaration of function 'syms_of_abbrev' is invalid in C99 [-Wimplicit-function-declaration] syms_of_abbrev (); ^ emacs.c:781:7: warning: implicit declaration of function 'syms_of_buffer' is invalid in C99 [-Wimplicit-function-declaration] syms_of_buffer (); ^ emacs.c:782:7: warning: implicit declaration of function 'syms_of_bytecode' is invalid in C99 [-Wimplicit-function-declaration] syms_of_bytecode (); ^ emacs.c:783:7: warning: implicit declaration of function 'syms_of_callint' is invalid in C99 [-Wimplicit-function-declaration] syms_of_callint (); ^ emacs.c:784:7: warning: implicit declaration of function 'syms_of_casefiddle' is invalid in C99 [-Wimplicit-function-declaration] syms_of_casefiddle (); ^ emacs.c:785:7: warning: implicit declaration of function 'syms_of_casetab' is invalid in C99 [-Wimplicit-function-declaration] syms_of_casetab (); ^ emacs.c:786:7: warning: implicit declaration of function 'syms_of_callproc' is invalid in C99 [-Wimplicit-function-declaration] syms_of_callproc (); ^ emacs.c:787:7: warning: implicit declaration of function 'syms_of_category' is invalid in C99 [-Wimplicit-function-declaration] syms_of_category (); /* 91.11.11 by K.Handa */ ^ emacs.c:788:7: warning: implicit declaration of function 'syms_of_coding' is invalid in C99 [-Wimplicit-function-declaration] syms_of_coding (); /* 92.1.7 by K.Handa */ ^ emacs.c:789:7: warning: implicit declaration of function 'syms_of_cmds' is invalid in C99 [-Wimplicit-function-declaration] syms_of_cmds (); ^ emacs.c:791:7: warning: implicit declaration of function 'syms_of_dired' is invalid in C99 [-Wimplicit-function-declaration] syms_of_dired (); ^ emacs.c:793:7: warning: implicit declaration of function 'syms_of_display' is invalid in C99 [-Wimplicit-function-declaration] syms_of_display (); ^ emacs.c:794:7: warning: implicit declaration of function 'syms_of_doc' is invalid in C99 [-Wimplicit-function-declaration] syms_of_doc (); ^ emacs.c:795:7: warning: implicit declaration of function 'syms_of_editfns' is invalid in C99 [-Wimplicit-function-declaration] syms_of_editfns (); ^ emacs.c:796:7: warning: implicit declaration of function 'syms_of_emacs' is invalid in C99 [-Wimplicit-function-declaration] syms_of_emacs (); ^ emacs.c:797:7: warning: implicit declaration of function 'syms_of_fileio' is invalid in C99 [-Wimplicit-function-declaration] syms_of_fileio (); ^ emacs.c:799:7: warning: implicit declaration of function 'syms_of_filelock' is invalid in C99 [-Wimplicit-function-declaration] syms_of_filelock (); ^ emacs.c:802:7: warning: implicit declaration of function 'syms_of_fontset' is invalid in C99 [-Wimplicit-function-declaration] syms_of_fontset (); ^ emacs.c:809:7: warning: implicit declaration of function 'syms_of_indent' is invalid in C99 [-Wimplicit-function-declaration] syms_of_indent (); ^ emacs.c:810:7: warning: implicit declaration of function 'syms_of_keyboard' is invalid in C99 [-Wimplicit-function-declaration] syms_of_keyboard (); ^ emacs.c:811:7: warning: implicit declaration of function 'syms_of_keymap' is invalid in C99 [-Wimplicit-function-declaration] syms_of_keymap (); ^ emacs.c:812:7: warning: implicit declaration of function 'syms_of_macros' is invalid in C99 [-Wimplicit-function-declaration] syms_of_macros (); ^ emacs.c:813:7: warning: implicit declaration of function 'syms_of_marker' is invalid in C99 [-Wimplicit-function-declaration] syms_of_marker (); ^ emacs.c:814:7: warning: implicit declaration of function 'syms_of_minibuf' is invalid in C99 [-Wimplicit-function-declaration] syms_of_minibuf (); ^ emacs.c:815:7: warning: implicit declaration of function 'syms_of_mocklisp' is invalid in C99 [-Wimplicit-function-declaration] syms_of_mocklisp (); ^ emacs.c:816:7: warning: implicit declaration of function 'syms_of_process' is invalid in C99 [-Wimplicit-function-declaration] syms_of_process (); ^ emacs.c:817:7: warning: implicit declaration of function 'syms_of_search' is invalid in C99 [-Wimplicit-function-declaration] syms_of_search (); ^ emacs.c:818:7: warning: implicit declaration of function 'syms_of_frame' is invalid in C99 [-Wimplicit-function-declaration] syms_of_frame (); ^ emacs.c:819:7: warning: implicit declaration of function 'syms_of_syntax' is invalid in C99 [-Wimplicit-function-declaration] syms_of_syntax (); ^ emacs.c:820:7: warning: implicit declaration of function 'syms_of_term' is invalid in C99 [-Wimplicit-function-declaration] syms_of_term (); ^ emacs.c:821:7: warning: implicit declaration of function 'syms_of_undo' is invalid in C99 [-Wimplicit-function-declaration] syms_of_undo (); ^ emacs.c:828:7: warning: implicit declaration of function 'syms_of_window' is invalid in C99 [-Wimplicit-function-declaration] syms_of_window (); ^ emacs.c:829:7: warning: implicit declaration of function 'syms_of_xdisp' is invalid in C99 [-Wimplicit-function-declaration] syms_of_xdisp (); ^ emacs.c:831:7: warning: implicit declaration of function 'syms_of_xterm' is invalid in C99 [-Wimplicit-function-declaration] syms_of_xterm (); ^ emacs.c:832:7: warning: implicit declaration of function 'syms_of_xfns' is invalid in C99 [-Wimplicit-function-declaration] syms_of_xfns (); ^ emacs.c:834:7: warning: implicit declaration of function 'syms_of_xselect' is invalid in C99 [-Wimplicit-function-declaration] syms_of_xselect (); ^ emacs.c:837:7: warning: implicit declaration of function 'syms_of_xmenu' is invalid in C99 [-Wimplicit-function-declaration] syms_of_xmenu (); ^ emacs.c:842:7: warning: implicit declaration of function 'syms_of_xfaces' is invalid in C99 [-Wimplicit-function-declaration] syms_of_xfaces (); ^ emacs.c:855:7: warning: implicit declaration of function 'syms_of_mule' is invalid in C99 [-Wimplicit-function-declaration] syms_of_mule (); /* 94.7.15 by K.Handa */ ^ emacs.c:856:7: warning: implicit declaration of function 'syms_of_charset' is invalid in C99 [-Wimplicit-function-declaration] syms_of_charset (); ^ emacs.c:857:7: warning: implicit declaration of function 'syms_of_ccl' is invalid in C99 [-Wimplicit-function-declaration] syms_of_ccl (); /* 93.5.14 by K.Handa */ ^ emacs.c:859:7: warning: implicit declaration of function 'syms_of_wnn' is invalid in C99 [-Wimplicit-function-declaration] syms_of_wnn (); ^ emacs.c:862:7: warning: implicit declaration of function 'syms_of_canna' is invalid in C99 [-Wimplicit-function-declaration] syms_of_canna (); ^ emacs.c:867:7: warning: implicit declaration of function 'syms_of_mcpath' is invalid in C99 [-Wimplicit-function-declaration] syms_of_mcpath (); ^ emacs.c:878:7: warning: implicit declaration of function 'keys_of_casefiddle' is invalid in C99 [-Wimplicit-function-declaration] keys_of_casefiddle (); ^ emacs.c:879:7: warning: implicit declaration of function 'keys_of_cmds' is invalid in C99 [-Wimplicit-function-declaration] keys_of_cmds (); ^ emacs.c:880:7: warning: implicit declaration of function 'keys_of_buffer' is invalid in C99 [-Wimplicit-function-declaration] keys_of_buffer (); ^ emacs.c:881:7: warning: implicit declaration of function 'keys_of_keyboard' is invalid in C99 [-Wimplicit-function-declaration] keys_of_keyboard (); ^ emacs.c:882:7: warning: implicit declaration of function 'keys_of_keymap' is invalid in C99 [-Wimplicit-function-declaration] keys_of_keymap (); ^ emacs.c:883:7: warning: implicit declaration of function 'keys_of_macros' is invalid in C99 [-Wimplicit-function-declaration] keys_of_macros (); ^ emacs.c:884:7: warning: implicit declaration of function 'keys_of_minibuf' is invalid in C99 [-Wimplicit-function-declaration] keys_of_minibuf (); ^ emacs.c:885:7: warning: implicit declaration of function 'keys_of_window' is invalid in C99 [-Wimplicit-function-declaration] keys_of_window (); ^ emacs.c:886:7: warning: implicit declaration of function 'keys_of_frame' is invalid in C99 [-Wimplicit-function-declaration] keys_of_frame (); ^ emacs.c:953:37: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] exit ((XTYPE (arg) == Lisp_Int) ? XINT (arg) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ emacs.c:953:37: note: place parentheses around the '-' expression to silence this warning exit ((XTYPE (arg) == Lisp_Int) ? XINT (arg) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ emacs.c:953:37: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] exit ((XTYPE (arg) == Lisp_Int) ? XINT (arg) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ emacs.c:953:37: note: place parentheses around the '-' expression to silence this warning exit ((XTYPE (arg) == Lisp_Int) ? XINT (arg) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ emacs.c:986:16: warning: implicit declaration of function 'getpgrp' is invalid in C99 [-Wimplicit-function-declaration] int pgrp = EMACS_GETPGRP (0); ^ ./systty.h:311:28: note: expanded from macro 'EMACS_GETPGRP' # define EMACS_GETPGRP(x) getpgrp() ^ emacs.c:989:9: warning: implicit declaration of function 'tcgetpgrp' is invalid in C99 [-Wimplicit-function-declaration] if (EMACS_GET_TTY_PGRP (0, &tpgrp) != -1 ^ ./systty.h:282:49: note: expanded from macro 'EMACS_GET_TTY_PGRP' #define EMACS_GET_TTY_PGRP(fd, pgid) (*(pgid) = tcgetpgrp ((fd))) ^ emacs.c:993:2: warning: implicit declaration of function 'reset_sys_modes' is invalid in C99 [-Wimplicit-function-declaration] reset_sys_modes (); ^ emacs.c:1003:3: warning: implicit declaration of function 'stuff_buffered_input' is invalid in C99 [-Wimplicit-function-declaration] stuff_buffered_input (stuff); ^ emacs.c:1005:3: warning: implicit declaration of function 'kill_buffer_processes' is invalid in C99 [-Wimplicit-function-declaration] kill_buffer_processes (Qnil); ^ emacs.c:1006:3: warning: implicit declaration of function 'Fdo_auto_save' is invalid in C99 [-Wimplicit-function-declaration] Fdo_auto_save (Qt, Qnil); ^ emacs.c:1009:3: warning: implicit declaration of function 'unlock_all_files' is invalid in C99 [-Wimplicit-function-declaration] unlock_all_files (); ^ emacs.c:1030:3: warning: implicit declaration of function 'unrequest_sigio' is invalid in C99 [-Wimplicit-function-declaration] unrequest_sigio (); ^ emacs.c:1121:3: warning: implicit declaration of function 'unexec' is invalid in C99 [-Wimplicit-function-declaration] unexec (XSTRING (intoname)->data, ^ emacs.c:1168:26: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] if (!p) p = path + strlen (path); ^ emacs.c:1168:26: note: include the header or explicitly provide a declaration for 'strlen' emacs.c:1169:31: warning: operator '?:' has lower precedence than '-'; '-' will be evaluated first [-Wparentheses] lpath = Fcons (p - path ? make_string (path, p - path) : Qnil, ~~~~~~~~ ^ emacs.c:1169:31: note: place parentheses around the '-' expression to silence this warning lpath = Fcons (p - path ? make_string (path, p - path) : Qnil, ^ ( ) emacs.c:1169:31: note: place parentheses around the '?:' expression to evaluate it first lpath = Fcons (p - path ? make_string (path, p - path) : Qnil, ^ ( ) emacs.c:1179:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_emacs () ^ emacs.c:1238:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 120 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include keyboard.c In file included from keyboard.c:54: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from keyboard.c:54: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from keyboard.c:98: ./xterm.h:594:1: warning: '/*' within block comment [-Wcomment] /* Return the upper/left pixel position of the character cell on frame F ^ keyboard.c:564:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] echo_prompt (str) ^ keyboard.c:577:3: warning: implicit declaration of function 'echo' is invalid in C99 [-Wimplicit-function-declaration] echo (); ^ keyboard.c:578:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:603:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ptr = push_key_description (XINT (c), ptr); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:603:32: note: place parentheses around the '-' expression to silence this warning ptr = push_key_description (XINT (c), ptr); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:603:32: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ptr = push_key_description (XINT (c), ptr); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:603:32: note: place parentheses around the '-' expression to silence this warning ptr = push_key_description (XINT (c), ptr); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:652:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] echo () ^ keyboard.c:671:3: warning: implicit declaration of function 'message1' is invalid in C99 [-Wimplicit-function-declaration] message1 (echobuf); ^ keyboard.c:675:5: warning: implicit declaration of function 'quit_throw_to_read_char' is invalid in C99 [-Wimplicit-function-declaration] quit_throw_to_read_char (); ^ keyboard.c:676:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:680:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cancel_echoing () ^ keyboard.c:685:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:705:3: warning: implicit declaration of function 'truncate_echo_area' is invalid in C99 [-Wimplicit-function-declaration] truncate_echo_area (len); ^ keyboard.c:739:7: warning: implicit declaration of function 'specbind' is invalid in C99 [-Wimplicit-function-declaration] specbind (Qstandard_output, Qt); ^ keyboard.c:752:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] record_auto_save () ^ keyboard.c:755:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:759:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] force_auto_save_soon () ^ keyboard.c:764:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:780:3: warning: implicit declaration of function 'record_unwind_protect' is invalid in C99 [-Wimplicit-function-declaration] record_unwind_protect (recursive_edit_unwind, ^ keyboard.c:826:7: warning: implicit declaration of function 'bitch_at_user' is invalid in C99 [-Wimplicit-function-declaration] bitch_at_user (); ^ keyboard.c:862:5: warning: implicit declaration of function 'write_string_1' is invalid in C99 [-Wimplicit-function-declaration] write_string_1 ("peculiar error", -1, stream); ^ keyboard.c:880:7: warning: implicit declaration of function 'Fkill_emacs' is invalid in C99 [-Wimplicit-function-declaration] Fkill_emacs (make_number (-1)); ^ keyboard.c:947:5: warning: implicit declaration of function 'message' is invalid in C99 [-Wimplicit-function-declaration] message ("Bare impure Emacs (standard Lisp code not loaded)"); ^ keyboard.c:958:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:968:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:978:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:1027:2: warning: implicit declaration of function 'finalize_kbd_macro_chars' is invalid in C99 [-Wimplicit-function-declaration] finalize_kbd_macro_chars (); ^ keyboard.c:1031:2: warning: implicit declaration of function 'set_buffer_internal' is invalid in C99 [-Wimplicit-function-declaration] set_buffer_internal (XBUFFER (XWINDOW (selected_window)->buffer)); ^ keyboard.c:1037:2: warning: implicit declaration of function 'display_malloc_warning' is invalid in C99 [-Wimplicit-function-declaration] display_malloc_warning (); ^ keyboard.c:1052:4: warning: implicit declaration of function 'Fsit_for' is invalid in C99 [-Wimplicit-function-declaration] Fsit_for (make_number (2), Qnil, Qnil); ^ keyboard.c:1163:13: warning: implicit declaration of function 'forward_point' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (forward_point(1)); /* 91.10.29 by K.Handa */ ^ keyboard.c:1176:13: warning: implicit declaration of function 'detect_input_pending' is invalid in C99 [-Wimplicit-function-declaration] && !detect_input_pending () ^ keyboard.c:1178:22: warning: implicit declaration of function 'direct_output_forward_char' is invalid in C99 [-Wimplicit-function-declaration] no_redisplay = direct_output_forward_char (1, PT); ^ keyboard.c:1210:22: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] unsigned int c = XINT (last_command_char); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1210:22: note: place parentheses around the '-' expression to silence this warning unsigned int c = XINT (last_command_char); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1210:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] unsigned int c = XINT (last_command_char); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1210:22: note: place parentheses around the '-' expression to silence this warning unsigned int c = XINT (last_command_char); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1233:13: warning: implicit declaration of function 'internal_self_insert' is invalid in C99 [-Wimplicit-function-declaration] value = internal_self_insert (c, 0); ^ keyboard.c:1256:20: warning: implicit declaration of function 'direct_output_for_insert' is invalid in C99 [-Wimplicit-function-declaration] no_redisplay = direct_output_for_insert (lose); ^ keyboard.c:1263:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && (XINT (obj) & ((-1) << 8)) == 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1263:12: note: place parentheses around the '-' expression to silence this warning && (XINT (obj) & ((-1) << 8)) == 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1263:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && (XINT (obj) & ((-1) << 8)) == 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1263:12: note: place parentheses around the '-' expression to silence this warning && (XINT (obj) & ((-1) << 8)) == 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1265:38: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] = direct_output_for_insert (XINT (obj)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1265:38: note: place parentheses around the '-' expression to silence this warning = direct_output_for_insert (XINT (obj)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1265:38: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] = direct_output_for_insert (XINT (obj)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1265:38: note: place parentheses around the '-' expression to silence this warning = direct_output_for_insert (XINT (obj)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1263:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value] && (XINT (obj) & ((-1) << 8)) == 0) ~~~~ ^ keyboard.c:1366:3: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] alarm (polling_period); ^ keyboard.c:1374:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] start_polling () ^ keyboard.c:1388:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:1404:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] stop_polling () ^ keyboard.c:1417:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:1443:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bind_polling_period (n) ^ keyboard.c:1457:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:1583:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && (XINT (c) & 0x80)) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1583:8: note: place parentheses around the '-' expression to silence this warning && (XINT (c) & 0x80)) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1583:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && (XINT (c) & 0x80)) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1583:8: note: place parentheses around the '-' expression to silence this warning && (XINT (c) & 0x80)) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1584:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (c) = CHAR_META | (XINT (c) & ~0x80); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1584:30: note: place parentheses around the '-' expression to silence this warning XFASTINT (c) = CHAR_META | (XINT (c) & ~0x80); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1584:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (c) = CHAR_META | (XINT (c) & ~0x80); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1584:30: note: place parentheses around the '-' expression to silence this warning XFASTINT (c) = CHAR_META | (XINT (c) & ~0x80); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1605:5: warning: implicit declaration of function 'prepare_menu_bars' is invalid in C99 [-Wimplicit-function-declaration] prepare_menu_bars (); ^ keyboard.c:1608:3: warning: implicit declaration of function 'save_getcjmp' is invalid in C99 [-Wimplicit-function-declaration] save_getcjmp (save_jump); ^ keyboard.c:1613:5: warning: implicit declaration of function 'redisplay' is invalid in C99 [-Wimplicit-function-declaration] redisplay (); ^ keyboard.c:1689:7: warning: implicit declaration of function 'Fdo_auto_save' is invalid in C99 [-Wimplicit-function-declaration] Fdo_auto_save (Qnil, Qnil); ^ keyboard.c:1690:7: warning: implicit declaration of function 'restore_getcjmp' is invalid in C99 [-Wimplicit-function-declaration] restore_getcjmp (temp); ^ keyboard.c:1724:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (Vauto_save_timeout) > 0) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1724:7: note: place parentheses around the '-' expression to silence this warning && XINT (Vauto_save_timeout) > 0) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1724:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (Vauto_save_timeout) > 0) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1724:7: note: place parentheses around the '-' expression to silence this warning && XINT (Vauto_save_timeout) > 0) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1765:50: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (noninteractive && XTYPE (c) == Lisp_Int && XINT (c) < 0) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1765:50: note: place parentheses around the '-' expression to silence this warning if (noninteractive && XTYPE (c) == Lisp_Int && XINT (c) < 0) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1765:50: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (noninteractive && XTYPE (c) == Lisp_Int && XINT (c) < 0) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1765:50: note: place parentheses around the '-' expression to silence this warning if (noninteractive && XTYPE (c) == Lisp_Int && XINT (c) < 0) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1774:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (c, make_ctrl_char (XINT (c))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:1774:30: note: place parentheses around the '-' expression to silence this warning XSETINT (c, make_ctrl_char (XINT (c))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:1774:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (c, make_ctrl_char (XINT (c))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:1774:30: note: place parentheses around the '-' expression to silence this warning XSETINT (c, make_ctrl_char (XINT (c))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:1779:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (c, XINT (c) | (extra_keyboard_modifiers & ~0xff7f & ~CHAR_CTL)); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:1779:19: note: place parentheses around the '-' expression to silence this warning XSETINT (c, XINT (c) | (extra_keyboard_modifiers & ~0xff7f & ~CHAR_CTL)); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:1779:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (c, XINT (c) | (extra_keyboard_modifiers & ~0xff7f & ~CHAR_CTL)); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:1779:19: note: place parentheses around the '-' expression to silence this warning XSETINT (c, XINT (c) | (extra_keyboard_modifiers & ~0xff7f & ~CHAR_CTL)); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:1803:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (c) == -1) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1803:11: note: place parentheses around the '-' expression to silence this warning if (XINT (c) == -1) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1803:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (c) == -1) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:1803:11: note: place parentheses around the '-' expression to silence this warning if (XINT (c) == -1) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:1813:26: warning: '&' within '|' [-Wbitwise-op-parentheses] int mc = XFASTINT (c) & ~CHAR_META | 0x80; ~~~~~~~~~~~~~^~~~~~~~~~~~ ~ keyboard.c:1813:26: note: place parentheses around the '&' expression to silence this warning int mc = XFASTINT (c) & ~CHAR_META | 0x80; ~~~~~~~~~~~~~^~~~~~~~~~~~ keyboard.c:1833:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] putc (XINT (c), dribble); ~~~~~~^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/stdio.h:497:29: note: expanded from macro 'putc' #define putc(x, fp) __sputc(x, fp) ^ keyboard.c:1833:12: note: place parentheses around the '-' expression to silence this warning putc (XINT (c), dribble); ~~~~~~^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/stdio.h:497:29: note: expanded from macro 'putc' #define putc(x, fp) __sputc(x, fp) ^ keyboard.c:1833:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] putc (XINT (c), dribble); ~~~~~~^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/stdio.h:497:29: note: expanded from macro 'putc' #define putc(x, fp) __sputc(x, fp) ^ keyboard.c:1833:12: note: place parentheses around the '-' expression to silence this warning putc (XINT (c), dribble); ~~~~~~^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/stdio.h:497:29: note: expanded from macro 'putc' #define putc(x, fp) __sputc(x, fp) ^ keyboard.c:1835:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] fprintf (dribble, " 0x%x", XUINT (c)); ~~ ^~~~~~~~~ %lx ./lisp.h:369:18: note: expanded from macro 'XUINT' #define XUINT(a) ((Lisp_Object_Int)(a) & VALMASK) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:1857:3: warning: implicit declaration of function 'store_kbd_macro_char' is invalid in C99 [-Wimplicit-function-declaration] store_kbd_macro_char (c); ^ keyboard.c:1889:2: warning: implicit declaration of function 'internal_with_output_to_temp_buffer' is invalid in C99 [-Wimplicit-function-declaration] internal_with_output_to_temp_buffer ("*Help*", print_help, tem0); ^ keyboard.c:1924:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] save_getcjmp (temp) ^ keyboard.c:1928:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:1930:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] restore_getcjmp (temp) ^ keyboard.c:1934:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:1955:4: warning: implicit declaration of function 'redisplay_preserve_echo_area' is invalid in C99 [-Wimplicit-function-declaration] redisplay_preserve_echo_area (); ^ keyboard.c:1959:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:2049:4: warning: implicit declaration of function 'sys_suspend' is invalid in C99 [-Wimplicit-function-declaration] sys_suspend (); ^ keyboard.c:2069:18: warning: passing 'volatile struct input_event *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bcopy (event, kbd_store_ptr, sizeof (*event)); ^~~~~~~~~~~~~ /usr/include/strings.h:53:33: note: passing argument to parameter here void bcopy(const void *, void *, size_t); ^ keyboard.c:2127:7: warning: implicit declaration of function 'gobble_input' is invalid in C99 [-Wimplicit-function-declaration] gobble_input (0); ^ keyboard.c:2134:4: warning: implicit declaration of function 'wait_reading_process_input' is invalid in C99 [-Wimplicit-function-declaration] wait_reading_process_input (0, 0, minus_one, 1); ^ keyboard.c:2164:4: warning: implicit declaration of function 'x_handle_selection_request' is invalid in C99 [-Wimplicit-function-declaration] x_handle_selection_request (event); ^ keyboard.c:2176:4: warning: implicit declaration of function 'x_handle_selection_clear' is invalid in C99 [-Wimplicit-function-declaration] x_handle_selection_clear (event); ^ keyboard.c:2763:6: warning: implicit declaration of function 'pixel_to_glyph_coords' is invalid in C99 [-Wimplicit-function-declaration] pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y), ^ keyboard.c:2763:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y), ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2763:32: note: place parentheses around the '-' expression to silence this warning pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y), ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2763:32: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y), ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2763:32: note: place parentheses around the '-' expression to silence this warning pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y), ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2763:49: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y), ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2763:49: note: place parentheses around the '-' expression to silence this warning pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y), ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2763:49: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y), ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2763:49: note: place parentheses around the '-' expression to silence this warning pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y), ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2767:41: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (FRAME_EXTERNAL_MENU_BAR (f) && XINT (event->y) == -1) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2767:41: note: place parentheses around the '-' expression to silence this warning if (FRAME_EXTERNAL_MENU_BAR (f) && XINT (event->y) == -1) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2767:41: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (FRAME_EXTERNAL_MENU_BAR (f) && XINT (event->y) == -1) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2767:41: note: place parentheses around the '-' expression to silence this warning if (FRAME_EXTERNAL_MENU_BAR (f) && XINT (event->y) == -1) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2827:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] column -= XINT (XWINDOW (window)->left); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2827:13: note: place parentheses around the '-' expression to silence this warning column -= XINT (XWINDOW (window)->left); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2827:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] column -= XINT (XWINDOW (window)->left); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2827:13: note: place parentheses around the '-' expression to silence this warning column -= XINT (XWINDOW (window)->left); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2828:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] row -= XINT (XWINDOW (window)->top); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2828:10: note: place parentheses around the '-' expression to silence this warning row -= XINT (XWINDOW (window)->top); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2828:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] row -= XINT (XWINDOW (window)->top); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2828:10: note: place parentheses around the '-' expression to silence this warning row -= XINT (XWINDOW (window)->top); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2829:3: warning: implicit declaration of function 'glyph_to_pixel_coords' is invalid in C99 [-Wimplicit-function-declaration] glyph_to_pixel_coords (f, column, row, &pixcolumn, &pixrow); ^ keyboard.c:2839:4: warning: implicit declaration of function 'buffer_posn_from_coords' is invalid in C99 [-Wimplicit-function-declaration] buffer_posn_from_coords (XWINDOW (window), ^ keyboard.c:2874:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (event->x) == last_mouse_x ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2874:11: note: place parentheses around the '-' expression to silence this warning && XINT (event->x) == last_mouse_x ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2874:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (event->x) == last_mouse_x ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2874:11: note: place parentheses around the '-' expression to silence this warning && XINT (event->x) == last_mouse_x ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2875:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (event->y) == last_mouse_y ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2875:11: note: place parentheses around the '-' expression to silence this warning && XINT (event->y) == last_mouse_y ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2875:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (event->y) == last_mouse_y ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2875:11: note: place parentheses around the '-' expression to silence this warning && XINT (event->y) == last_mouse_y ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2880:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] < XINT (Vdouble_click_time))))); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2880:8: note: place parentheses around the '-' expression to silence this warning < XINT (Vdouble_click_time))))); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2880:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] < XINT (Vdouble_click_time))))); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2880:8: note: place parentheses around the '-' expression to silence this warning < XINT (Vdouble_click_time))))); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2882:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] last_mouse_x = XINT (event->x); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2882:17: note: place parentheses around the '-' expression to silence this warning last_mouse_x = XINT (event->x); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2882:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] last_mouse_x = XINT (event->x); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2882:17: note: place parentheses around the '-' expression to silence this warning last_mouse_x = XINT (event->x); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2883:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] last_mouse_y = XINT (event->y); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2883:17: note: place parentheses around the '-' expression to silence this warning last_mouse_y = XINT (event->y); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:2883:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] last_mouse_y = XINT (event->y); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:2883:17: note: place parentheses around the '-' expression to silence this warning last_mouse_y = XINT (event->y); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:3027:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pixel_to_glyph_coords (frame, XINT (x), XINT (y), &column, &row, 0, 1); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:3027:34: note: place parentheses around the '-' expression to silence this warning pixel_to_glyph_coords (frame, XINT (x), XINT (y), &column, &row, 0, 1); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:3027:34: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pixel_to_glyph_coords (frame, XINT (x), XINT (y), &column, &row, 0, 1); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:3027:34: note: place parentheses around the '-' expression to silence this warning pixel_to_glyph_coords (frame, XINT (x), XINT (y), &column, &row, 0, 1); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:3027:44: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pixel_to_glyph_coords (frame, XINT (x), XINT (y), &column, &row, 0, 1); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:3027:44: note: place parentheses around the '-' expression to silence this warning pixel_to_glyph_coords (frame, XINT (x), XINT (y), &column, &row, 0, 1); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:3027:44: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pixel_to_glyph_coords (frame, XINT (x), XINT (y), &column, &row, 0, 1); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:3027:44: note: place parentheses around the '-' expression to silence this warning pixel_to_glyph_coords (frame, XINT (x), XINT (y), &column, &row, 0, 1); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:3036:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] column -= XINT (XWINDOW (window)->left); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:3036:14: note: place parentheses around the '-' expression to silence this warning column -= XINT (XWINDOW (window)->left); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:3036:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] column -= XINT (XWINDOW (window)->left); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:3036:14: note: place parentheses around the '-' expression to silence this warning column -= XINT (XWINDOW (window)->left); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:3037:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] row -= XINT (XWINDOW (window)->top); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:3037:11: note: place parentheses around the '-' expression to silence this warning row -= XINT (XWINDOW (window)->top); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:3037:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] row -= XINT (XWINDOW (window)->top); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:3037:11: note: place parentheses around the '-' expression to silence this warning row -= XINT (XWINDOW (window)->top); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:3145:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (! strncmp (name->data + i, "drag-", 5)) ^~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:3150: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 (name->data + i, "down-", 5)) ^~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:3156:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && ! strncmp (name->data + i, "double-", 7)) ^~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:3168:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (! strncmp (name->data + i, "triple-", 7)) ^~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:3188:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && strncmp (name->data + i, "mouse-", 6) == 0 ^~~~~~~~~~~~~~ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ keyboard.c:3356:11: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] XSYMBOL (base)->name->data, ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:489:20: note: expanded from macro 'XSYMBOL' #define XSYMBOL(a) ((struct Lisp_Symbol *) XPNTR(a)) ^ keyboard.c:3566:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:3584:9: warning: implicit declaration of function 'Fwaiting_for_user_input_p' is invalid in C99 [-Wimplicit-function-declaration] tem = Fwaiting_for_user_input_p (); ^ keyboard.c:3658:8: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] kill (getpid (), SIGHUP); ^ keyboard.c:3682:12: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] nread = read (fileno (stdin), cbuf, n_to_read); ^ keyboard.c:3742:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT(buf[i].code) == quit_char) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:3742:7: note: place parentheses around the '-' expression to silence this warning && XINT(buf[i].code) == quit_char) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:3742:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT(buf[i].code) == quit_char) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:3742:7: note: place parentheses around the '-' expression to silence this warning && XINT(buf[i].code) == quit_char) ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:3904:10: warning: implicit declaration of function 'current_minor_maps' is invalid in C99 [-Wimplicit-function-declaration] nmaps = current_minor_maps (0, &tmaps) + 2; ^ keyboard.c:4191:15: warning: implicit declaration of function 'Fx_popup_menu' is invalid in C99 [-Wimplicit-function-declaration] value = Fx_popup_menu (prev_event, Flist (nmaps1, realmaps)); ^ keyboard.c:4243:17: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (menu, XSTRING (name)->data); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ keyboard.c:4365:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ch = XINT (obj); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:4365:7: note: place parentheses around the '-' expression to silence this warning ch = XINT (obj); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:4365:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ch = XINT (obj); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:4365:7: note: place parentheses around the '-' expression to silence this warning ch = XINT (obj); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:4369:40: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || ! EQ (obj, make_number (Ctl (XINT (menu_prompt_more_char)))))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./commands.h:21:18: note: expanded from macro 'Ctl' #define Ctl(c) ((c)&037) ^ ./lisp.h:824:45: note: expanded from macro 'EQ' #define EQ(x, y) (XFASTINT (x) == XFASTINT (y)) ~~~~~~~~~~^~ ./lisp.h:353:22: note: expanded from macro 'XFASTINT' #define XFASTINT(a) (a) ^ keyboard.c:4369:40: note: place parentheses around the '-' expression to silence this warning || ! EQ (obj, make_number (Ctl (XINT (menu_prompt_more_char)))))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./commands.h:21:18: note: expanded from macro 'Ctl' #define Ctl(c) ((c)&037) ^ ./lisp.h:824:45: note: expanded from macro 'EQ' #define EQ(x, y) (XFASTINT (x) == XFASTINT (y)) ~~~~~~~~~~^~ ./lisp.h:353:22: note: expanded from macro 'XFASTINT' #define XFASTINT(a) (a) ^ keyboard.c:4369:40: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || ! EQ (obj, make_number (Ctl (XINT (menu_prompt_more_char)))))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./commands.h:21:18: note: expanded from macro 'Ctl' #define Ctl(c) ((c)&037) ^ ./lisp.h:824:45: note: expanded from macro 'EQ' #define EQ(x, y) (XFASTINT (x) == XFASTINT (y)) ~~~~~~~~~~^~ ./lisp.h:353:22: note: expanded from macro 'XFASTINT' #define XFASTINT(a) (a) ^ keyboard.c:4369:40: note: place parentheses around the '-' expression to silence this warning || ! EQ (obj, make_number (Ctl (XINT (menu_prompt_more_char)))))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./commands.h:21:18: note: expanded from macro 'Ctl' #define Ctl(c) ((c)&037) ^ ./lisp.h:824:45: note: expanded from macro 'EQ' #define EQ(x, y) (XFASTINT (x) == XFASTINT (y)) ~~~~~~~~~~^~ ./lisp.h:353:22: note: expanded from macro 'XFASTINT' #define XFASTINT(a) (a) ^ keyboard.c:4406:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (key) == Lisp_Int && (XINT (key) & CHAR_META)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:4406:35: note: place parentheses around the '-' expression to silence this warning if (XTYPE (key) == Lisp_Int && (XINT (key) & CHAR_META)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:4406:35: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (key) == Lisp_Int && (XINT (key) & CHAR_META)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:4406:35: note: place parentheses around the '-' expression to silence this warning if (XTYPE (key) == Lisp_Int && (XINT (key) & CHAR_META)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:4579:15: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] echo_prompt (XSTRING (prompt)->data); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ keyboard.c:4744:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (key) == Lisp_Int && XINT (key) == -1) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:4744:35: note: place parentheses around the '-' expression to silence this warning if (XTYPE (key) == Lisp_Int && XINT (key) == -1) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:4744:35: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (key) == Lisp_Int && XINT (key) == -1) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:4744:35: note: place parentheses around the '-' expression to silence this warning if (XTYPE (key) == Lisp_Int && XINT (key) == -1) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:4933:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] modifiers = XINT (XCONS (XCONS (breakdown)->cdr)->car); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:4933:20: note: place parentheses around the '-' expression to silence this warning modifiers = XINT (XCONS (XCONS (breakdown)->cdr)->car); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:4933:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] modifiers = XINT (XCONS (XCONS (breakdown)->cdr)->car); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:4933:20: note: place parentheses around the '-' expression to silence this warning modifiers = XINT (XCONS (XCONS (breakdown)->cdr)->car); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5054:39: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (key) == Lisp_Int && XINT (key) & meta_modifier) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5054:39: note: place parentheses around the '-' expression to silence this warning if (XTYPE (key) == Lisp_Int && XINT (key) & meta_modifier) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5054:39: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (key) == Lisp_Int && XINT (key) & meta_modifier) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5054:39: note: place parentheses around the '-' expression to silence this warning if (XTYPE (key) == Lisp_Int && XINT (key) & meta_modifier) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5158:37: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (key) == Lisp_Int && XINT (key) & meta_modifier) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5158:37: note: place parentheses around the '-' expression to silence this warning if (XTYPE (key) == Lisp_Int && XINT (key) & meta_modifier) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5158:37: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (key) == Lisp_Int && XINT (key) & meta_modifier) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5158:37: note: place parentheses around the '-' expression to silence this warning if (XTYPE (key) == Lisp_Int && XINT (key) & meta_modifier) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5245:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && ((((XINT (key) & 0x3ffff) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5245:11: note: place parentheses around the '-' expression to silence this warning && ((((XINT (key) & 0x3ffff) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5245:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && ((((XINT (key) & 0x3ffff) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5245:11: note: place parentheses around the '-' expression to silence this warning && ((((XINT (key) & 0x3ffff) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5247:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && UPPERCASEP (XINT (key) & 0x3ffff)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:1083:51: note: expanded from macro 'UPPERCASEP' (XSTRING (current_buffer->downcase_table)->data[CH] != (CH)) ^~ keyboard.c:5247:24: note: place parentheses around the '-' expression to silence this warning && UPPERCASEP (XINT (key) & 0x3ffff)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:1083:51: note: expanded from macro 'UPPERCASEP' (XSTRING (current_buffer->downcase_table)->data[CH] != (CH)) ^~ keyboard.c:5247:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && UPPERCASEP (XINT (key) & 0x3ffff)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:1083:51: note: expanded from macro 'UPPERCASEP' (XSTRING (current_buffer->downcase_table)->data[CH] != (CH)) ^~ keyboard.c:5247:24: note: place parentheses around the '-' expression to silence this warning && UPPERCASEP (XINT (key) & 0x3ffff)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:1083:51: note: expanded from macro 'UPPERCASEP' (XSTRING (current_buffer->downcase_table)->data[CH] != (CH)) ^~ keyboard.c:5247:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && UPPERCASEP (XINT (key) & 0x3ffff)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:1083:59: note: expanded from macro 'UPPERCASEP' (XSTRING (current_buffer->downcase_table)->data[CH] != (CH)) ^~ keyboard.c:5247:24: note: place parentheses around the '-' expression to silence this warning && UPPERCASEP (XINT (key) & 0x3ffff)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:1083:59: note: expanded from macro 'UPPERCASEP' (XSTRING (current_buffer->downcase_table)->data[CH] != (CH)) ^~ keyboard.c:5247:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && UPPERCASEP (XINT (key) & 0x3ffff)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:1083:59: note: expanded from macro 'UPPERCASEP' (XSTRING (current_buffer->downcase_table)->data[CH] != (CH)) ^~ keyboard.c:5247:24: note: place parentheses around the '-' expression to silence this warning && UPPERCASEP (XINT (key) & 0x3ffff)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:1083:59: note: expanded from macro 'UPPERCASEP' (XSTRING (current_buffer->downcase_table)->data[CH] != (CH)) ^~ keyboard.c:5248:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || (XINT (key) & shift_modifier))) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5248:12: note: place parentheses around the '-' expression to silence this warning || (XINT (key) & shift_modifier))) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5248:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || (XINT (key) & shift_modifier))) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5248:12: note: place parentheses around the '-' expression to silence this warning || (XINT (key) & shift_modifier))) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5250:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (key) & shift_modifier) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5250:8: note: place parentheses around the '-' expression to silence this warning if (XINT (key) & shift_modifier) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5250:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (key) & shift_modifier) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5250:8: note: place parentheses around the '-' expression to silence this warning if (XINT (key) & shift_modifier) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5251:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (key, XINT (key) & ~shift_modifier); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:5251:20: note: place parentheses around the '-' expression to silence this warning XSETINT (key, XINT (key) & ~shift_modifier); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:5251:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (key, XINT (key) & ~shift_modifier); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:5251:20: note: place parentheses around the '-' expression to silence this warning XSETINT (key, XINT (key) & ~shift_modifier); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:5253:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (key, (DOWNCASE (XINT (key) & 0x3ffff) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:1107:70: note: expanded from macro 'DOWNCASE' #define DOWNCASE(CH) (XSTRING (current_buffer->downcase_table)->data[CH]) ^~ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:5253:31: note: place parentheses around the '-' expression to silence this warning XSETINT (key, (DOWNCASE (XINT (key) & 0x3ffff) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:1107:70: note: expanded from macro 'DOWNCASE' #define DOWNCASE(CH) (XSTRING (current_buffer->downcase_table)->data[CH]) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:5253:31: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (key, (DOWNCASE (XINT (key) & 0x3ffff) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:1107:70: note: expanded from macro 'DOWNCASE' #define DOWNCASE(CH) (XSTRING (current_buffer->downcase_table)->data[CH]) ^~ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:5253:31: note: place parentheses around the '-' expression to silence this warning XSETINT (key, (DOWNCASE (XINT (key) & 0x3ffff) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:1107:70: note: expanded from macro 'DOWNCASE' #define DOWNCASE(CH) (XSTRING (current_buffer->downcase_table)->data[CH]) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:5254:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] | (XINT (key) & ~0x3ffff))); ~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:5254:10: note: place parentheses around the '-' expression to silence this warning | (XINT (key) & ~0x3ffff))); ~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:5254:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] | (XINT (key) & ~0x3ffff))); ~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:5254:10: note: place parentheses around the '-' expression to silence this warning | (XINT (key) & ~0x3ffff))); ~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keyboard.c:5389:2: warning: implicit declaration of function 'do_autoload' is invalid in C99 [-Wimplicit-function-declaration] do_autoload (final, cmd); ^ keyboard.c:5444:33: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (CONSP (prefixarg) && XINT (XCONS (prefixarg)->car) == 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5444:33: note: place parentheses around the '-' expression to silence this warning else if (CONSP (prefixarg) && XINT (XCONS (prefixarg)->car) == 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5444:33: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (CONSP (prefixarg) && XINT (XCONS (prefixarg)->car) == 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5444:33: note: place parentheses around the '-' expression to silence this warning else if (CONSP (prefixarg) && XINT (XCONS (prefixarg)->car) == 4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5447:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] sprintf (buf, "%d ", XINT (XCONS (prefixarg)->car)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5447:26: note: place parentheses around the '-' expression to silence this warning sprintf (buf, "%d ", XINT (XCONS (prefixarg)->car)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5447:26: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] sprintf (buf, "%d ", XINT (XCONS (prefixarg)->car)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5447:26: note: place parentheses around the '-' expression to silence this warning sprintf (buf, "%d ", XINT (XCONS (prefixarg)->car)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5447:26: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf (buf, "%d ", XINT (XCONS (prefixarg)->car)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld ./lisp.h:359:17: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:5449:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] sprintf (buf, "%d ", XINT (prefixarg)); ^~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5449:26: note: place parentheses around the '-' expression to silence this warning sprintf (buf, "%d ", XINT (prefixarg)); ^~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5449:26: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] sprintf (buf, "%d ", XINT (prefixarg)); ^~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5449:26: note: place parentheses around the '-' expression to silence this warning sprintf (buf, "%d ", XINT (prefixarg)); ^~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5449:26: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf (buf, "%d ", XINT (prefixarg)); ~~ ^~~~~~~~~~~~~~~~ %ld ./lisp.h:359:17: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:5499:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] detect_input_pending () ^ keyboard.c:5510:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clear_input_pending () ^ keyboard.c:5513:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:5584:24: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] dribble = fopen (XSTRING (file)->data, "w"); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/stdio.h:230:37: note: passing argument to parameter here FILE *fopen(const char * __restrict , const char * __restrict); ^ keyboard.c:5643:3: warning: implicit declaration of function 'get_frame_size' is invalid in C99 [-Wimplicit-function-declaration] get_frame_size (&old_width, &old_height); ^ keyboard.c:5648:3: warning: implicit declaration of function 'stuff_buffered_input' is invalid in C99 [-Wimplicit-function-declaration] stuff_buffered_input (stuffstring); ^ keyboard.c:5650:5: warning: implicit declaration of function 'sys_subshell' is invalid in C99 [-Wimplicit-function-declaration] sys_subshell (); ^ keyboard.c:5673:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] stuff_buffered_input (stuffstring) ^ keyboard.c:5688:2: warning: implicit declaration of function 'stuff_char' is invalid in C99 [-Wimplicit-function-declaration] stuff_char (*p++); ^ keyboard.c:5707:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:5709:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_waiting_for_input (time_to_clear) ^ keyboard.c:5721:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:5723:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clear_waiting_for_input () ^ keyboard.c:5728:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:5852:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] quit_throw_to_read_char () ^ keyboard.c:5854:3: warning: implicit declaration of function 'quit_error_check' is invalid in C99 [-Wimplicit-function-declaration] quit_error_check (); ^ keyboard.c:5871:5: warning: implicit declaration of function 'Fhandle_switch_frame' is invalid in C99 [-Wimplicit-function-declaration] Fhandle_switch_frame (make_lispy_switch_frame (internal_last_event_frame)); ^ keyboard.c:5893:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || XINT (quit) < 0 || XINT (quit) > 0400)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5893:7: note: place parentheses around the '-' expression to silence this warning || XINT (quit) < 0 || XINT (quit) > 0400)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5893:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || XINT (quit) < 0 || XINT (quit) > 0400)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5893:7: note: place parentheses around the '-' expression to silence this warning || XINT (quit) < 0 || XINT (quit) > 0400)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5893:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || XINT (quit) < 0 || XINT (quit) > 0400)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5893:26: note: place parentheses around the '-' expression to silence this warning || XINT (quit) < 0 || XINT (quit) > 0400)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5893:26: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || XINT (quit) < 0 || XINT (quit) > 0400)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5893:26: note: place parentheses around the '-' expression to silence this warning || XINT (quit) < 0 || XINT (quit) > 0400)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5925:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] quit_char = XINT (quit) & (meta_key ? 0377 : 0177); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5925:17: note: place parentheses around the '-' expression to silence this warning quit_char = XINT (quit) & (meta_key ? 0377 : 0177); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5925:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] quit_char = XINT (quit) & (meta_key ? 0377 : 0177); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keyboard.c:5925:17: note: place parentheses around the '-' expression to silence this warning quit_char = XINT (quit) & (meta_key ? 0377 : 0177); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keyboard.c:5963:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_keyboard () ^ keyboard.c:6033:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:6049:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_keyboard () ^ keyboard.c:6211:3: warning: implicit declaration of function 'defvar_lisp_nopro' is invalid in C99 [-Wimplicit-function-declaration] DEFVAR_LISP_NOPRO ("last-command-event", &last_command_char, ^ ./lisp.h:1011:46: note: expanded from macro 'DEFVAR_LISP_NOPRO' #define DEFVAR_LISP_NOPRO(lname, vname, doc) defvar_lisp_nopro (lname, vname) ^ keyboard.c:6420:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keyboard.c:6422:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] keys_of_keyboard () ^ keyboard.c:6424:3: warning: implicit declaration of function 'initial_define_key' is invalid in C99 [-Wimplicit-function-declaration] initial_define_key (global_map, Ctl ('Z'), "suspend-emacs"); ^ keyboard.c:6429:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 209 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include macros.c In file included from macros.c:22: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from macros.c:22: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ macros.c:72:7: warning: implicit declaration of function 'message' is invalid in C99 [-Wimplicit-function-declaration] message("Defining kbd macro..."); ^ macros.c:119:21: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (arg, XINT (arg)-1); ~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ macros.c:119:21: note: place parentheses around the '-' expression to silence this warning XSETINT (arg, XINT (arg)-1); ~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ macros.c:119:21: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (arg, XINT (arg)-1); ~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ macros.c:119:21: note: place parentheses around the '-' expression to silence this warning XSETINT (arg, XINT (arg)-1); ~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ macros.c:120:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (arg) > 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ macros.c:120:11: note: place parentheses around the '-' expression to silence this warning if (XINT (arg) > 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ macros.c:120:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (arg) > 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ macros.c:120:11: note: place parentheses around the '-' expression to silence this warning if (XINT (arg) > 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ macros.c:128:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] store_kbd_macro_char (c) ^ macros.c:145:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ macros.c:150:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] finalize_kbd_macro_chars () ^ macros.c:153:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ macros.c:184:27: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] executing_macro_index = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ macros.c:184:27: note: place parentheses around the '-' expression to silence this warning executing_macro_index = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ macros.c:184:27: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] executing_macro_index = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ macros.c:184:27: note: place parentheses around the '-' expression to silence this warning executing_macro_index = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ macros.c:203:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] repeat = XINT (prefixarg); ^~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ macros.c:203:14: note: place parentheses around the '-' expression to silence this warning repeat = XINT (prefixarg); ^~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ macros.c:203:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] repeat = XINT (prefixarg); ^~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ macros.c:203:14: note: place parentheses around the '-' expression to silence this warning repeat = XINT (prefixarg); ^~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ macros.c:212:3: warning: implicit declaration of function 'record_unwind_protect' is invalid in C99 [-Wimplicit-function-declaration] record_unwind_protect (pop_kbd_macro, tem); ^ macros.c:220:7: warning: implicit declaration of function 'command_loop_1' is invalid in C99 [-Wimplicit-function-declaration] command_loop_1 (); ^ macros.c:231:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_macros () ^ macros.c:237:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ macros.c:239:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_macros () ^ macros.c:259:3: warning: implicit declaration of function 'defvar_lisp_nopro' is invalid in C99 [-Wimplicit-function-declaration] DEFVAR_LISP_NOPRO ("executing-kbd-macro", &Vexecuting_macro, ^ ./lisp.h:1011:46: note: expanded from macro 'DEFVAR_LISP_NOPRO' #define DEFVAR_LISP_NOPRO(lname, vname, doc) defvar_lisp_nopro (lname, vname) ^ macros.c:264:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ macros.c:266:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] keys_of_macros () ^ macros.c:268:3: warning: implicit declaration of function 'initial_define_key' is invalid in C99 [-Wimplicit-function-declaration] initial_define_key (control_x_map, ('e'), "call-last-kbd-macro"); ^ macros.c:271:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 29 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include keymap.c In file included from keymap.c:32: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from keymap.c:32: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ keymap.c:242:4: warning: implicit declaration of function 'do_autoload' is invalid in C99 [-Wimplicit-function-declaration] do_autoload (tem, object); ^ keymap.c:253:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ keymap.c:300:22: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (idx) = XINT (idx) & (CHAR_META | (CHAR_META - 1)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:300:22: note: place parentheses around the '-' expression to silence this warning XFASTINT (idx) = XINT (idx) & (CHAR_META | (CHAR_META - 1)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:300:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (idx) = XINT (idx) & (CHAR_META | (CHAR_META - 1)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:300:22: note: place parentheses around the '-' expression to silence this warning XFASTINT (idx) = XINT (idx) & (CHAR_META | (CHAR_META - 1)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:335:6: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (idx) >= 0 ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:335:6: note: place parentheses around the '-' expression to silence this warning && XINT (idx) >= 0 ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:335:6: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (idx) >= 0 ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:335:6: note: place parentheses around the '-' expression to silence this warning && XINT (idx) >= 0 ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:336:6: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (idx) < XVECTOR (binding)->size) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:336:6: note: place parentheses around the '-' expression to silence this warning && XINT (idx) < XVECTOR (binding)->size) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:336:6: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (idx) < XVECTOR (binding)->size) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:336:6: note: place parentheses around the '-' expression to silence this warning && XINT (idx) < XVECTOR (binding)->size) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:338:37: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val = XVECTOR (binding)->contents[XINT (idx)]; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:338:37: note: place parentheses around the '-' expression to silence this warning val = XVECTOR (binding)->contents[XINT (idx)]; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:338:37: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val = XVECTOR (binding)->contents[XINT (idx)]; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:338:37: note: place parentheses around the '-' expression to silence this warning val = XVECTOR (binding)->contents[XINT (idx)]; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:312:10: warning: 21 enumeration values not handled in switch: 'Lisp_Int', 'Lisp_Marker', 'Lisp_String'... [-Wswitch] switch (XTYPE (binding)) ^ ./lisp.h:344:18: note: expanded from macro 'XTYPE' #define XTYPE(a) ((enum Lisp_Type) ((a) >> VALBITS)) ^ keymap.c:432:22: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (idx) = XINT (idx) & (CHAR_META | (CHAR_META - 1)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:432:22: note: place parentheses around the '-' expression to silence this warning XFASTINT (idx) = XINT (idx) & (CHAR_META | (CHAR_META - 1)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:432:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (idx) = XINT (idx) & (CHAR_META | (CHAR_META - 1)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:432:22: note: place parentheses around the '-' expression to silence this warning XFASTINT (idx) = XINT (idx) & (CHAR_META | (CHAR_META - 1)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:456:6: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (idx) >= 0 && XINT (idx) < XVECTOR (elt)->size) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:456:6: note: place parentheses around the '-' expression to silence this warning && XINT (idx) >= 0 && XINT (idx) < XVECTOR (elt)->size) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:456:6: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (idx) >= 0 && XINT (idx) < XVECTOR (elt)->size) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:456:6: note: place parentheses around the '-' expression to silence this warning && XINT (idx) >= 0 && XINT (idx) < XVECTOR (elt)->size) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:456:25: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (idx) >= 0 && XINT (idx) < XVECTOR (elt)->size) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:456:25: note: place parentheses around the '-' expression to silence this warning && XINT (idx) >= 0 && XINT (idx) < XVECTOR (elt)->size) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:456:25: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (idx) >= 0 && XINT (idx) < XVECTOR (elt)->size) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:456:25: note: place parentheses around the '-' expression to silence this warning && XINT (idx) >= 0 && XINT (idx) < XVECTOR (elt)->size) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:452:10: warning: 21 enumeration values not handled in switch: 'Lisp_Int', 'Lisp_Marker', 'Lisp_String'... [-Wswitch] switch (XTYPE (elt)) ^ ./lisp.h:344:18: note: expanded from macro 'XTYPE' #define XTYPE(a) ((enum Lisp_Type) ((a) >> VALBITS)) ^ keymap.c:632:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && (XINT (c) & meta_bit) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:632:8: note: place parentheses around the '-' expression to silence this warning && (XINT (c) & meta_bit) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:632:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && (XINT (c) & meta_bit) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:632:8: note: place parentheses around the '-' expression to silence this warning && (XINT (c) & meta_bit) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:642:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (c, XINT (c) & ~meta_bit); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keymap.c:642:18: note: place parentheses around the '-' expression to silence this warning XSETINT (c, XINT (c) & ~meta_bit); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keymap.c:642:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (c, XINT (c) & ~meta_bit); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keymap.c:642:18: note: place parentheses around the '-' expression to silence this warning XSETINT (c, XINT (c) & ~meta_bit); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keymap.c:743:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && (XINT (c) & meta_bit) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:743:8: note: place parentheses around the '-' expression to silence this warning && (XINT (c) & meta_bit) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:743:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && (XINT (c) & meta_bit) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:743:8: note: place parentheses around the '-' expression to silence this warning && (XINT (c) & meta_bit) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:752:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (c, XINT (c) & ~meta_bit); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keymap.c:752:18: note: place parentheses around the '-' expression to silence this warning XSETINT (c, XINT (c) & ~meta_bit); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keymap.c:752:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (c, XINT (c) & ~meta_bit); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keymap.c:752:18: note: place parentheses around the '-' expression to silence this warning XSETINT (c, XINT (c) & ~meta_bit); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ keymap.c:877:3: warning: implicit declaration of function 'reinvoke_input_signal' is invalid in C99 [-Wimplicit-function-declaration] UNBLOCK_INPUT; ^ ./blockinput.h:73:8: note: expanded from macro 'UNBLOCK_INPUT' ? (reinvoke_input_signal (), 0) \ ^ keymap.c:1207:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] prefixlen = XINT (Flength (prefix)); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1207:17: note: place parentheses around the '-' expression to silence this warning prefixlen = XINT (Flength (prefix)); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1207:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] prefixlen = XINT (Flength (prefix)); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1207:17: note: place parentheses around the '-' expression to silence this warning prefixlen = XINT (Flength (prefix)); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1245:27: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] last = make_number (XINT (Flength (thisseq)) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1245:27: note: place parentheses around the '-' expression to silence this warning last = make_number (XINT (Flength (thisseq)) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1245:27: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] last = make_number (XINT (Flength (thisseq)) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1245:27: note: place parentheses around the '-' expression to silence this warning last = make_number (XINT (Flength (thisseq)) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1246:21: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] is_metized = (XINT (last) >= 0 ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1246:21: note: place parentheses around the '-' expression to silence this warning is_metized = (XINT (last) >= 0 ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1246:21: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] is_metized = (XINT (last) >= 0 ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1246:21: note: place parentheses around the '-' expression to silence this warning is_metized = (XINT (last) >= 0 ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1328:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] make_number (XINT (elt) | meta_modifier)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1328:19: note: place parentheses around the '-' expression to silence this warning make_number (XINT (elt) | meta_modifier)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1328:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] make_number (XINT (elt) | meta_modifier)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1328:19: note: place parentheses around the '-' expression to silence this warning make_number (XINT (elt) | meta_modifier)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1359:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (Flength (thisseq)) >= prefixlen) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1359:11: note: place parentheses around the '-' expression to silence this warning if (XINT (Flength (thisseq)) >= prefixlen) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1359:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (Flength (thisseq)) >= prefixlen) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1359:11: note: place parentheses around the '-' expression to silence this warning if (XINT (Flength (thisseq)) >= prefixlen) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1563:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ keymap.c:1572:12: warning: implicit declaration of function 'mchar_to_string' is invalid in C99 [-Wimplicit-function-declaration] p += CHARtoSTR (c, p); ^ ./charset.h:221:34: note: expanded from macro 'CHARtoSTR' *(s) = (unsigned int)(c), 1 : mchar_to_string(c, s)) ^ keymap.c:1621:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int len = XINT (Flength (seq)); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1621:13: note: place parentheses around the '-' expression to silence this warning int len = XINT (Flength (seq)); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1621:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int len = XINT (Flength (seq)); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1621:13: note: place parentheses around the '-' expression to silence this warning int len = XINT (Flength (seq)); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1669:16: warning: implicit declaration of function 'get_local_map' is invalid in C99 [-Wimplicit-function-declaration] keymap = get_local_map (PT, current_buffer); ^ keymap.c:1716:27: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] last = make_number (XINT (Flength (this)) - 1); ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1716:27: note: place parentheses around the '-' expression to silence this warning last = make_number (XINT (Flength (this)) - 1); ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1716:27: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] last = make_number (XINT (Flength (this)) - 1); ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1716:27: note: place parentheses around the '-' expression to silence this warning last = make_number (XINT (Flength (this)) - 1); ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1717:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] last_is_meta = (XINT (last) >= 0 ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1717:23: note: place parentheses around the '-' expression to silence this warning last_is_meta = (XINT (last) >= 0 ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1717:23: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] last_is_meta = (XINT (last) >= 0 ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1717:23: note: place parentheses around the '-' expression to silence this warning last_is_meta = (XINT (last) >= 0 ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1794:44: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] Faset (sequence, last, make_number (XINT (key) | meta_modifier)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1794:44: note: place parentheses around the '-' expression to silence this warning Faset (sequence, last, make_number (XINT (key) | meta_modifier)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1794:44: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] Faset (sequence, last, make_number (XINT (key) | meta_modifier)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:1794:44: note: place parentheses around the '-' expression to silence this warning Faset (sequence, last, make_number (XINT (key) | meta_modifier)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:1834:14: warning: implicit declaration of function 'Fmember' is invalid in C99 [-Wimplicit-function-declaration] if (NILP (Fmember (sequence, found))) ^ keymap.c:1873:3: warning: implicit declaration of function 'internal_with_output_to_temp_buffer' is invalid in C99 [-Wimplicit-function-declaration] internal_with_output_to_temp_buffer ("*Help*", ^ keymap.c:1917:3: warning: implicit declaration of function 'insert_string' is invalid in C99 [-Wimplicit-function-declaration] insert_string (alternate_heading); ^ keymap.c:1922:6: warning: implicit declaration of function 'insert' is invalid in C99 [-Wimplicit-function-declaration] insert (buf, bufend - buf); ^ keymap.c:1960:2: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (XSYMBOL (modes[i])->name->data, p, ^ keymap.c:2053:8: warning: implicit declaration of function 'insert1' is invalid in C99 [-Wimplicit-function-declaration] insert1 (Fkey_description (prefix)); ^ keymap.c:2205:2: warning: implicit declaration of function 'describe_vector' is invalid in C99 [-Wimplicit-function-declaration] describe_vector (XCONS (tail)->car, ^ keymap.c:2279:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keymap.c:2289:3: warning: implicit declaration of function 'specbind' is invalid in C99 [-Wimplicit-function-declaration] specbind (Qstandard_output, Fcurrent_buffer ()); ^ keymap.c:2296:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] describe_vector (vector, elt_prefix, elt_describer, partial, shadow) ^ keymap.c:2376:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (i != XINT (dummy)) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:2376:16: note: place parentheses around the '-' expression to silence this warning if (i != XINT (dummy)) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:2376:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (i != XINT (dummy)) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ keymap.c:2376:16: note: place parentheses around the '-' expression to silence this warning if (i != XINT (dummy)) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ keymap.c:2393:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keymap.c:2425:3: warning: implicit declaration of function 'map_obarray' is invalid in C99 [-Wimplicit-function-declaration] map_obarray (Vobarray, apropos_accum, string); ^ keymap.c:2431:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_keymap () ^ keymap.c:2541:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keymap.c:2543:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] keys_of_keymap () ^ keymap.c:2549:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 72 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include sysdep.c In file included from sysdep.c:27: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from sysdep.c:27: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ sysdep.c:236:3: warning: implicit declaration of function 'emacs_get_tty' is invalid in C99 [-Wimplicit-function-declaration] EMACS_GET_TTY (input_fd, &buf); ^ ./systty.h:388:38: note: expanded from macro 'EMACS_GET_TTY' #define EMACS_GET_TTY(fd, p) (emacs_get_tty ((fd), (p))) ^ sysdep.c:237:3: warning: implicit declaration of function 'emacs_set_tty' is invalid in C99 [-Wimplicit-function-declaration] EMACS_SET_TTY (input_fd, &buf, 0); ^ ./systty.h:389:38: note: expanded from macro 'EMACS_SET_TTY' #define EMACS_SET_TTY(fd, p, waitp) (emacs_set_tty ((fd), (p), (waitp))) ^ sysdep.c:248:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] stuff_char (c) ^ sysdep.c:257:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:261:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_baud_rate () ^ sysdep.c:316:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_exclusive_use (fd) ^ sysdep.c:326:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:352:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] wait_for_termination (pid) ^ sysdep.c:431:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:440:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] flush_pending_output (channel) ^ sysdep.c:459:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:467:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] child_setup_tty (out) ^ sysdep.c:559:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:565:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setpgrp_of_tty (pid) ^ sysdep.c:569:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:580:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sys_suspend () ^ sysdep.c:645:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:649:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sys_subshell () ^ sysdep.c:708:2: warning: implicit declaration of function 'mc_chdir' is invalid in C99 [-Wimplicit-function-declaration] chdir (str); ^ ./mcpath.h:141:21: note: expanded from macro 'chdir' # define chdir mc_chdir ^ sysdep.c:711:7: warning: implicit declaration of function 'close_process_descs' is invalid in C99 [-Wimplicit-function-declaration] close_process_descs (); /* Close Emacs's pipes/ptys */ ^ sysdep.c:735:3: warning: implicit declaration of function 'save_signal_handlers' is invalid in C99 [-Wimplicit-function-declaration] save_signal_handlers (saved_handlers); ^ sysdep.c:738:3: warning: implicit declaration of function 'restore_signal_handlers' is invalid in C99 [-Wimplicit-function-declaration] restore_signal_handlers (saved_handlers); ^ sysdep.c:740:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ sysdep.c:742:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] save_signal_handlers (saved_handlers) ^ sysdep.c:751:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:753:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] restore_signal_handlers (saved_handlers) ^ sysdep.c:761:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:767:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_sigio () ^ sysdep.c:772:3: warning: implicit declaration of function 'request_sigio' is invalid in C99 [-Wimplicit-function-declaration] request_sigio (); ^ sysdep.c:773:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:775:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] reset_sigio () ^ sysdep.c:777:3: warning: implicit declaration of function 'unrequest_sigio' is invalid in C99 [-Wimplicit-function-declaration] unrequest_sigio (); ^ sysdep.c:778:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:782:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] request_sigio () ^ sysdep.c:790:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:792:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unrequest_sigio () ^ sysdep.c:799:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:1395:2: warning: implicit declaration of function 'direct_output_forward_char' is invalid in C99 [-Wimplicit-function-declaration] direct_output_forward_char (0); ^ sysdep.c:1412:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tabs_safe_p () ^ sysdep.c:1424:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_frame_size (widthp, heightp) ^ sysdep.c:1477:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:1531:3: warning: implicit declaration of function 'clear_end_of_line' is invalid in C99 [-Wimplicit-function-declaration] clear_end_of_line (FRAME_WIDTH (selected_frame)); ^ sysdep.c:1597:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setup_pty (fd) ^ sysdep.c:1639:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ sysdep.c:2083:4: warning: implicit declaration of function 'Fsleep_for' is invalid in C99 [-Wimplicit-function-declaration] Fsleep_for (make_number (1), Qnil); ^ 52 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include buffer.c In file included from buffer.c:69: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from buffer.c:69: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ buffer.c:203:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] nsberror (spec) ^ buffer.c:209:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ buffer.c:290:3: warning: implicit declaration of function 'r_alloc' is invalid in C99 [-Wimplicit-function-declaration] BUFFER_ALLOC (BUF_BEG_ADDR (b), BUF_GAP_SIZE (b)); ^ ./buffer.h:457:52: note: expanded from macro 'BUFFER_ALLOC' #define BUFFER_ALLOC(data,size) ((unsigned char *) r_alloc (&data, (size))) ^ buffer.c:290:3: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] ./buffer.h:457:34: note: expanded from macro 'BUFFER_ALLOC' #define BUFFER_ALLOC(data,size) ((unsigned char *) r_alloc (&data, (size))) ^ buffer.c:291:3: warning: implicit declaration of function 'reinvoke_input_signal' is invalid in C99 [-Wimplicit-function-declaration] UNBLOCK_INPUT; ^ ./blockinput.h:73:8: note: expanded from macro 'UNBLOCK_INPUT' ? (reinvoke_input_signal (), 0) \ ^ buffer.c:293:5: warning: implicit declaration of function 'memory_full' is invalid in C99 [-Wimplicit-function-declaration] memory_full (); ^ buffer.c:338:3: warning: implicit declaration of function 'record_unwind_protect' is invalid in C99 [-Wimplicit-function-declaration] record_unwind_protect (save_excursion_restore, save_excursion_save ()); ^ buffer.c:372:3: warning: implicit declaration of function 'reset_buffer_local_variables' is invalid in C99 [-Wimplicit-function-declaration] reset_buffer_local_variables(b); ^ buffer.c:375:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] reset_buffer_local_variables (b) ^ buffer.c:412:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ buffer.c:589:2: warning: implicit declaration of function 'lock_file' is invalid in C99 [-Wimplicit-function-declaration] lock_file (fn); ^ buffer.c:591:2: warning: implicit declaration of function 'unlock_file' is invalid in C99 [-Wimplicit-function-declaration] unlock_file (fn); ^ buffer.c:848:3: warning: implicit declaration of function 'unlock_buffer' is invalid in C99 [-Wimplicit-function-declaration] unlock_buffer (b); ^ buffer.c:851:3: warning: implicit declaration of function 'kill_buffer_processes' is invalid in C99 [-Wimplicit-function-declaration] kill_buffer_processes (buf); ^ buffer.c:856:3: warning: implicit declaration of function 'Freplace_buffer_in_windows' is invalid in C99 [-Wimplicit-function-declaration] Freplace_buffer_in_windows (buf); ^ buffer.c:866:2: warning: implicit declaration of function 'mc_unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink (XSTRING (b->auto_save_file_name)->data); ^ ./mcpath.h:135:22: note: expanded from macro 'unlink' # define unlink mc_unlink ^ buffer.c:886:3: warning: implicit declaration of function 'r_alloc_free' is invalid in C99 [-Wimplicit-function-declaration] BUFFER_FREE (BUF_BEG_ADDR (b)); ^ ./buffer.h:459:28: note: expanded from macro 'BUFFER_FREE' #define BUFFER_FREE(data) (r_alloc_free (&data)) ^ buffer.c:898:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] record_buffer (buf) ^ buffer.c:921:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ buffer.c:1135:3: warning: implicit declaration of function 'Fwiden' is invalid in C99 [-Wimplicit-function-declaration] Fwiden (); ^ buffer.c:1136:3: warning: implicit declaration of function 'del_range' is invalid in C99 [-Wimplicit-function-declaration] del_range (BEG, Z); ^ buffer.c:1145:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] validate_region (b, e) ^ buffer.c:1150:3: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] CHECK_NUMBER_COERCE_MARKER (*b, 0); ^ ./lisp.h:880:55: note: expanded from macro 'CHECK_NUMBER_COERCE_MARKER' do { if (XTYPE ((x)) == Lisp_Marker) XFASTINT (x) = marker_position (x); \ ^ buffer.c:1153:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (*b) > XINT (*e)) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1153:7: note: place parentheses around the '-' expression to silence this warning if (XINT (*b) > XINT (*e)) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1153:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (*b) > XINT (*e)) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1153:7: note: place parentheses around the '-' expression to silence this warning if (XINT (*b) > XINT (*e)) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1153:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (*b) > XINT (*e)) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1153:19: note: place parentheses around the '-' expression to silence this warning if (XINT (*b) > XINT (*e)) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1153:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (*b) > XINT (*e)) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1153:19: note: place parentheses around the '-' expression to silence this warning if (XINT (*b) > XINT (*e)) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1160:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BEGV <= XINT (*b) && XINT (*b) <= XINT (*e) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1160:17: note: place parentheses around the '-' expression to silence this warning if (!(BEGV <= XINT (*b) && XINT (*b) <= XINT (*e) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1160:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BEGV <= XINT (*b) && XINT (*b) <= XINT (*e) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1160:17: note: place parentheses around the '-' expression to silence this warning if (!(BEGV <= XINT (*b) && XINT (*b) <= XINT (*e) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1160:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BEGV <= XINT (*b) && XINT (*b) <= XINT (*e) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1160:30: note: place parentheses around the '-' expression to silence this warning if (!(BEGV <= XINT (*b) && XINT (*b) <= XINT (*e) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1160:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BEGV <= XINT (*b) && XINT (*b) <= XINT (*e) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1160:30: note: place parentheses around the '-' expression to silence this warning if (!(BEGV <= XINT (*b) && XINT (*b) <= XINT (*e) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1160:43: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BEGV <= XINT (*b) && XINT (*b) <= XINT (*e) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1160:43: note: place parentheses around the '-' expression to silence this warning if (!(BEGV <= XINT (*b) && XINT (*b) <= XINT (*e) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1160:43: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BEGV <= XINT (*b) && XINT (*b) <= XINT (*e) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1160:43: note: place parentheses around the '-' expression to silence this warning if (!(BEGV <= XINT (*b) && XINT (*b) <= XINT (*e) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1161:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (*e) <= ZV)) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1161:12: note: place parentheses around the '-' expression to silence this warning && XINT (*e) <= ZV)) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1161:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (*e) <= ZV)) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1161:12: note: place parentheses around the '-' expression to silence this warning && XINT (*e) <= ZV)) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1168:2: warning: implicit declaration of function 'validate_position' is invalid in C99 [-Wimplicit-function-declaration] validate_position (XFASTINT (*b), 0); ^ buffer.c:1173:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ buffer.c:1176:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] validate_position (pos, forward) ^ buffer.c:1211:3: warning: implicit declaration of function 'write_string' is invalid in C99 [-Wimplicit-function-declaration] write_string ("\ ^ buffer.c:1282:7: warning: implicit declaration of function 'internal_with_output_to_temp_buffer' is invalid in C99 [-Wimplicit-function-declaration] = internal_with_output_to_temp_buffer ("*Buffer List*", ^ buffer.c:1290:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SET_PT (XINT (desired_point)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./buffer.h:46:39: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^~~~~~~~ buffer.c:1290:15: note: place parentheses around the '-' expression to silence this warning SET_PT (XINT (desired_point)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./buffer.h:46:39: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^~~~~~~~ buffer.c:1290:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SET_PT (XINT (desired_point)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./buffer.h:46:39: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^~~~~~~~ buffer.c:1290:15: note: place parentheses around the '-' expression to silence this warning SET_PT (XINT (desired_point)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./buffer.h:46:39: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^~~~~~~~ buffer.c:1341:8: warning: implicit declaration of function 'do_symval_forwarding' is invalid in C99 [-Wimplicit-function-declaration] = do_symval_forwarding (XCONS (XSYMBOL (sym)->value)->car); ^ buffer.c:1347:4: warning: implicit declaration of function 'store_symval_forwarding' is invalid in C99 [-Wimplicit-function-declaration] store_symval_forwarding (sym, XCONS (XSYMBOL (sym)->value)->car, ^ buffer.c:1369:4: warning: implicit declaration of function 'Fmake_local_variable' is invalid in C99 [-Wimplicit-function-declaration] Fmake_local_variable (sym); ^ buffer.c:1555:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] sortvec[j].priority = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1555:28: note: place parentheses around the '-' expression to silence this warning sortvec[j].priority = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1555:28: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] sortvec[j].priority = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1555:28: note: place parentheses around the '-' expression to silence this warning sortvec[j].priority = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1771:8: warning: implicit declaration of function 'Fset_marker' is invalid in C99 [-Wimplicit-function-declaration] Fset_marker (OVERLAY_START (overlay), endpos, Qnil); ^ buffer.c:1777:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (endpos < XINT (current_buffer->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1777:17: note: place parentheses around the '-' expression to silence this warning if (endpos < XINT (current_buffer->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1777:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (endpos < XINT (current_buffer->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1777:17: note: place parentheses around the '-' expression to silence this warning if (endpos < XINT (current_buffer->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1809:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (endpos < XINT (current_buffer->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1809:17: note: place parentheses around the '-' expression to silence this warning if (endpos < XINT (current_buffer->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1809:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (endpos < XINT (current_buffer->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1809:17: note: place parentheses around the '-' expression to silence this warning if (endpos < XINT (current_buffer->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1830:6: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (current_buffer->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1830:6: note: place parentheses around the '-' expression to silence this warning XINT (current_buffer->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1830:6: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (current_buffer->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1830:6: note: place parentheses around the '-' expression to silence this warning XINT (current_buffer->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1835:6: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (current_buffer->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1835:6: note: place parentheses around the '-' expression to silence this warning XINT (current_buffer->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1835:6: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (current_buffer->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1835:6: note: place parentheses around the '-' expression to silence this warning XINT (current_buffer->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1884:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return fix_overlay_end (object, XINT (pos)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1884:35: note: place parentheses around the '-' expression to silence this warning return fix_overlay_end (object, XINT (pos)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1884:35: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return fix_overlay_end (object, XINT (pos)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1884:35: note: place parentheses around the '-' expression to silence this warning return fix_overlay_end (object, XINT (pos)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1921:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1921:7: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1921:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1921:7: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1921:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1921:20: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1921:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1921:20: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1941:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (OVERLAY_POSITION (end) < XINT (b->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1941:32: note: place parentheses around the '-' expression to silence this warning if (OVERLAY_POSITION (end) < XINT (b->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1941:32: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (OVERLAY_POSITION (end) < XINT (b->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1941:32: note: place parentheses around the '-' expression to silence this warning if (OVERLAY_POSITION (end) < XINT (b->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1947:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] recenter_overlay_lists (b, XINT (b->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1947:30: note: place parentheses around the '-' expression to silence this warning recenter_overlay_lists (b, XINT (b->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1947:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] recenter_overlay_lists (b, XINT (b->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1947:30: note: place parentheses around the '-' expression to silence this warning recenter_overlay_lists (b, XINT (b->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1984:3: warning: implicit declaration of function 'specbind' is invalid in C99 [-Wimplicit-function-declaration] specbind (Qinhibit_quit, Qt); ^ buffer.c:1986:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1986:7: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1986:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1986:7: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1986:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1986:20: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:1986:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:1986:20: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) > XINT (end)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2010:4: warning: implicit declaration of function 'redisplay_region' is invalid in C99 [-Wimplicit-function-declaration] redisplay_region (ob, XINT (o_beg), XINT (o_end)); ^ buffer.c:2010:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (ob, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2010:26: note: place parentheses around the '-' expression to silence this warning redisplay_region (ob, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2010:26: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (ob, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2010:26: note: place parentheses around the '-' expression to silence this warning redisplay_region (ob, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2010:40: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (ob, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2010:40: note: place parentheses around the '-' expression to silence this warning redisplay_region (ob, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2010:40: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (ob, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2010:40: note: place parentheses around the '-' expression to silence this warning redisplay_region (ob, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2014:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (beg), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2014:28: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (beg), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2014:28: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (beg), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2014:28: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (beg), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2014:40: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (beg), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2014:40: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (beg), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2014:40: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (beg), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2014:40: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (beg), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2031:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (o_beg) == XINT (beg)) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2031:11: note: place parentheses around the '-' expression to silence this warning if (XINT (o_beg) == XINT (beg)) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2031:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (o_beg) == XINT (beg)) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2031:11: note: place parentheses around the '-' expression to silence this warning if (XINT (o_beg) == XINT (beg)) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2031:27: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (o_beg) == XINT (beg)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2031:27: note: place parentheses around the '-' expression to silence this warning if (XINT (o_beg) == XINT (beg)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2031:27: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (o_beg) == XINT (beg)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2031:27: note: place parentheses around the '-' expression to silence this warning if (XINT (o_beg) == XINT (beg)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2032:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (o_end), XINT (end)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2032:23: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (o_end), XINT (end)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2032:23: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (o_end), XINT (end)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2032:23: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (o_end), XINT (end)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2032:37: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (o_end), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2032:37: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (o_end), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2032:37: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (o_end), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2032:37: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (o_end), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2033:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XINT (o_end) == XINT (end)) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2033:16: note: place parentheses around the '-' expression to silence this warning else if (XINT (o_end) == XINT (end)) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2033:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XINT (o_end) == XINT (end)) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2033:16: note: place parentheses around the '-' expression to silence this warning else if (XINT (o_end) == XINT (end)) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2033:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XINT (o_end) == XINT (end)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2033:32: note: place parentheses around the '-' expression to silence this warning else if (XINT (o_end) == XINT (end)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2033:32: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XINT (o_end) == XINT (end)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2033:32: note: place parentheses around the '-' expression to silence this warning else if (XINT (o_end) == XINT (end)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2034:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (o_beg), XINT (beg)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2034:23: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (o_beg), XINT (beg)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2034:23: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (o_beg), XINT (beg)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2034:23: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (o_beg), XINT (beg)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2034:37: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (o_beg), XINT (beg)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2034:37: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (o_beg), XINT (beg)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2034:37: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (o_beg), XINT (beg)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2034:37: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (o_beg), XINT (beg)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2037:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) < XINT (o_beg)) o_beg = beg; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2037:8: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) < XINT (o_beg)) o_beg = beg; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2037:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) < XINT (o_beg)) o_beg = beg; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2037:8: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) < XINT (o_beg)) o_beg = beg; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2037:21: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) < XINT (o_beg)) o_beg = beg; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2037:21: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) < XINT (o_beg)) o_beg = beg; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2037:21: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) < XINT (o_beg)) o_beg = beg; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2037:21: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) < XINT (o_beg)) o_beg = beg; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2038:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (end) > XINT (o_end)) o_end = end; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2038:8: note: place parentheses around the '-' expression to silence this warning if (XINT (end) > XINT (o_end)) o_end = end; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2038:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (end) > XINT (o_end)) o_end = end; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2038:8: note: place parentheses around the '-' expression to silence this warning if (XINT (end) > XINT (o_end)) o_end = end; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2038:21: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (end) > XINT (o_end)) o_end = end; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2038:21: note: place parentheses around the '-' expression to silence this warning if (XINT (end) > XINT (o_end)) o_end = end; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2038:21: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (end) > XINT (o_end)) o_end = end; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2038:21: note: place parentheses around the '-' expression to silence this warning if (XINT (end) > XINT (o_end)) o_end = end; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2039:25: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2039:25: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2039:25: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2039:25: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2039:39: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2039:39: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2039:39: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] redisplay_region (b, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2039:39: note: place parentheses around the '-' expression to silence this warning redisplay_region (b, XINT (o_beg), XINT (o_end)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2054:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (OVERLAY_POSITION (end) < XINT (b->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2054:32: note: place parentheses around the '-' expression to silence this warning if (OVERLAY_POSITION (end) < XINT (b->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2054:32: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (OVERLAY_POSITION (end) < XINT (b->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2054:32: note: place parentheses around the '-' expression to silence this warning if (OVERLAY_POSITION (end) < XINT (b->overlay_center)) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2060:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] recenter_overlay_lists (b, XINT (b->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2060:30: note: place parentheses around the '-' expression to silence this warning recenter_overlay_lists (b, XINT (b->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2060:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] recenter_overlay_lists (b, XINT (b->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2060:30: note: place parentheses around the '-' expression to silence this warning recenter_overlay_lists (b, XINT (b->overlay_center)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2160:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, &endpos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2160:28: note: place parentheses around the '-' expression to silence this warning noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, &endpos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2160:28: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, &endpos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2160:28: note: place parentheses around the '-' expression to silence this warning noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, &endpos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2191:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, &endpos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2191:28: note: place parentheses around the '-' expression to silence this warning noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, &endpos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2191:28: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, &endpos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2191:28: note: place parentheses around the '-' expression to silence this warning noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, &endpos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2239:43: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] recenter_overlay_lists (current_buffer, XINT (pos)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2239:43: note: place parentheses around the '-' expression to silence this warning recenter_overlay_lists (current_buffer, XINT (pos)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2239:43: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] recenter_overlay_lists (current_buffer, XINT (pos)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2239:43: note: place parentheses around the '-' expression to silence this warning recenter_overlay_lists (current_buffer, XINT (pos)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2459:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] switch (XINT (*(Lisp_Object *)(offset + (char *)&buffer_local_types))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2459:11: note: place parentheses around the '-' expression to silence this warning switch (XINT (*(Lisp_Object *)(offset + (char *)&buffer_local_types))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2459:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] switch (XINT (*(Lisp_Object *)(offset + (char *)&buffer_local_types))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ buffer.c:2459:11: note: place parentheses around the '-' expression to silence this warning switch (XINT (*(Lisp_Object *)(offset + (char *)&buffer_local_types))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ buffer.c:2475:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_buffer_once () ^ buffer.c:2543:3: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero (&buffer_local_flags, sizeof buffer_local_flags); ^ buffer.c:2543:3: note: include the header or explicitly provide a declaration for 'bzero' buffer.c:2620:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ buffer.c:2622:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_buffer () ^ buffer.c:2638:10: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] && strlen (pwd) < MAXPATHLEN) ^ buffer.c:2638:10: note: include the header or explicitly provide a declaration for 'strlen' buffer.c:2639:5: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy (buf, pwd); ^ buffer.c:2639:5: note: include the header or explicitly provide a declaration for 'strcpy' buffer.c:2641:5: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration] fatal ("`getwd' failed: %s.\n", buf); ^ buffer.c:2647:5: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat (buf, "/"); ^ buffer.c:2647:5: note: include the header or explicitly provide a declaration for 'strcat' buffer.c:2651:10: warning: implicit declaration of function 'get_minibuffer' is invalid in C99 [-Wimplicit-function-declaration] temp = get_minibuffer (0); ^ buffer.c:2653:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ buffer.c:2656:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_buffer () ^ buffer.c:2693:3: warning: implicit declaration of function 'defvar_lisp_nopro' is invalid in C99 [-Wimplicit-function-declaration] DEFVAR_LISP_NOPRO ("default-mode-line-format", ^ ./lisp.h:1011:46: note: expanded from macro 'DEFVAR_LISP_NOPRO' #define DEFVAR_LISP_NOPRO(lname, vname, doc) defvar_lisp_nopro (lname, vname) ^ buffer.c:2768:3: warning: implicit declaration of function 'defvar_per_buffer' is invalid in C99 [-Wimplicit-function-declaration] DEFVAR_PER_BUFFER ("mc-flag", ¤t_buffer->mc_flag, Qnil, ^ ./lisp.h:1015:2: note: expanded from macro 'DEFVAR_PER_BUFFER' defvar_per_buffer (lname, vname, type, 0) ^ buffer.c:3166:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ buffer.c:3168:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] keys_of_buffer () ^ buffer.c:3170:3: warning: implicit declaration of function 'initial_define_key' is invalid in C99 [-Wimplicit-function-declaration] initial_define_key (control_x_map, 'b', "switch-to-buffer"); ^ buffer.c:3177:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 143 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include filelock.c In file included from filelock.c:23: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from filelock.c:23: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ filelock.c:142:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fill_in_lock_file_name (lockfile, fn) ^ filelock.c:150:18: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] p = lockfile + strlen (lockfile); ^ filelock.c:150:18: note: include the header or explicitly provide a declaration for 'strlen' filelock.c:152:14: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (p, XSTRING (fn)->data); ^~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ filelock.c:159:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ filelock.c:169:7: warning: implicit declaration of function 'mc_lstat' is invalid in C99 [-Wimplicit-function-declaration] if (lstat (lfname, &s) == 0) ^ ./mcpath.h:126:21: note: expanded from macro 'lstat' # define lstat mc_lstat ^ filelock.c:222:7: warning: implicit declaration of function 'lock_if_free' is invalid in C99 [-Wimplicit-function-declaration] if (lock_if_free (lfname) <= 0) ^ filelock.c:233:7: warning: implicit declaration of function 'lock_file_1' is invalid in C99 [-Wimplicit-function-declaration] lock_file_1 (lfname, O_WRONLY) ; ^ filelock.c:234:7: warning: implicit declaration of function 'mc_unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink (superlock_path); ^ ./mcpath.h:135:22: note: expanded from macro 'unlink' # define unlink mc_unlink ^ filelock.c:259:28: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] sprintf (buf, "%d ", getpid ()); ^ filelock.c:260:7: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write (fd, buf, strlen (buf)); ^ filelock.c:261:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (fd); ^ filelock.c:283:17: warning: implicit declaration of function 'current_lock_owner' is invalid in C99 [-Wimplicit-function-declaration] clasher = current_lock_owner (lfname); ^ filelock.c:287:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else return (0); ^ filelock.c:301:15: warning: implicit declaration of function 'current_lock_owner_1' is invalid in C99 [-Wimplicit-function-declaration] int owner = current_lock_owner_1 (lfname); ^ filelock.c:305:22: warning: implicit declaration of function 'kill' is invalid in C99 [-Wimplicit-function-declaration] if (owner != 0 && (kill (owner, 0) >= 0 || errno == EPERM)) ^ filelock.c:323:9: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] tem = read (fd, buf, sizeof buf); ^ filelock.c:360:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (lockdir = opendir (lock_path)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ filelock.c:360:19: note: place parentheses around the assignment to silence this warning if (lockdir = opendir (lock_path)) ^ ( ) filelock.c:360:19: note: use '==' to turn this assignment into an equality comparison if (lockdir = opendir (lock_path)) ^ == filelock.c:363:7: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (1); ^ filelock.c:427:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unlock_buffer (buffer) ^ filelock.c:433:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ filelock.c:460:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_filelock () ^ filelock.c:472:7: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat (lock_path, "/"); ^ filelock.c:472:7: note: include the header or explicitly provide a declaration for 'strcat' filelock.c:479:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ filelock.c:481:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_filelock () ^ filelock.c:486:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 31 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include insdel.c In file included from insdel.c:31: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from insdel.c:31: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ insdel.c:48:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] move_gap (pos) ^ insdel.c:55:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:230:3: warning: implicit declaration of function 'adjust_markers2' is invalid in C99 [-Wimplicit-function-declaration] adjust_markers2 (from, to, amount, MARKER_ALL_TYPE); ^ insdel.c:233:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] adjust_markers2 (from, to, amount, marker_type) ^ insdel.c:263:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:281:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] make_gap (increment) ^ insdel.c:293:12: warning: implicit declaration of function 'r_re_alloc' is invalid in C99 [-Wimplicit-function-declaration] result = BUFFER_REALLOC (BEG_ADDR, (Z - BEG + GAP_SIZE + increment)); ^ ./buffer.h:458:54: note: expanded from macro 'BUFFER_REALLOC' #define BUFFER_REALLOC(data,size) ((unsigned char *) r_re_alloc (&data, (size))) ^ insdel.c:293:12: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] ./buffer.h:458:36: note: expanded from macro 'BUFFER_REALLOC' #define BUFFER_REALLOC(data,size) ((unsigned char *) r_re_alloc (&data, (size))) ^ insdel.c:294:3: warning: implicit declaration of function 'reinvoke_input_signal' is invalid in C99 [-Wimplicit-function-declaration] UNBLOCK_INPUT; ^ ./blockinput.h:73:8: note: expanded from macro 'UNBLOCK_INPUT' ? (reinvoke_input_signal (), 0) \ ^ insdel.c:297:5: warning: implicit declaration of function 'memory_full' is invalid in C99 [-Wimplicit-function-declaration] memory_full (); ^ insdel.c:320:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ insdel.c:328:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register length; ~~~~~~~~ ^ insdel.c:326:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insert (string, length) ^ insdel.c:338:7: warning: implicit declaration of function 'fix_overlays_before' is invalid in C99 [-Wimplicit-function-declaration] fix_overlays_before (current_buffer, PT); ^ insdel.c:340:7: warning: implicit declaration of function 'signal_after_change' is invalid in C99 [-Wimplicit-function-declaration] signal_after_change (PT-length, 0, length); ^ insdel.c:342:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:346:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register length; ~~~~~~~~ ^ insdel.c:344:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insert_and_inherit (string, length) ^ insdel.c:360:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:365:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register length; ~~~~~~~~ ^ insdel.c:372:21: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (length + Z != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ insdel.c:372:21: note: place parentheses around the '-' expression to silence this warning if (length + Z != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ insdel.c:372:21: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (length + Z != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ insdel.c:372:21: note: place parentheses around the '-' expression to silence this warning if (length + Z != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ insdel.c:375:3: warning: implicit declaration of function 'prepare_to_modify_buffer' is invalid in C99 [-Wimplicit-function-declaration] prepare_to_modify_buffer (PT, PT); ^ insdel.c:385:3: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (string, GPT_ADDR, length); ^ insdel.c:418:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insert_from_string (string, pos, length, inherit) ^ insdel.c:435:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:448:21: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (length + Z != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ insdel.c:448:21: note: place parentheses around the '-' expression to silence this warning if (length + Z != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ insdel.c:448:21: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (length + Z != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ insdel.c:448:21: note: place parentheses around the '-' expression to silence this warning if (length + Z != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ insdel.c:498:14: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] insert (s, strlen (s)); ^ insdel.c:498:14: note: include the header or explicitly provide a declaration for 'strlen' insdel.c:498:11: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] insert (s, strlen (s)); ^ insdel.c:506:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insert_before_markers (string, length) ^ insdel.c:517:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:519:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insert_before_markers_and_inherit (string, length) ^ insdel.c:530:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:534:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insert_from_string_before_markers (string, pos, length, inherit) ^ insdel.c:546:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:553:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insert_after_markers (string, length) ^ insdel.c:562:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:564:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insert_after_markers_and_inherit (string, length) ^ insdel.c:573:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:577:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insert_from_string_after_markers (string, pos, length, inherit) ^ insdel.c:587:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:654:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] modify_region (buffer, start, end) ^ insdel.c:661:5: warning: implicit declaration of function 'set_buffer_internal' is invalid in C99 [-Wimplicit-function-declaration] set_buffer_internal (buffer); ^ insdel.c:677:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:684:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] prepare_to_modify_buffer (start, end) ^ insdel.c:696:5: warning: implicit declaration of function 'verify_overlay_modification' is invalid in C99 [-Wimplicit-function-declaration] verify_overlay_modification (start, end); ^ insdel.c:701:5: warning: implicit declaration of function 'lock_file' is invalid in C99 [-Wimplicit-function-declaration] lock_file (current_buffer->filename); ^ insdel.c:712:3: warning: implicit declaration of function 'signal_before_change' is invalid in C99 [-Wimplicit-function-declaration] signal_before_change (start, end); ^ insdel.c:715:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:722:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:729:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:736:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:743:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:749:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] signal_before_change (start, end) ^ insdel.c:766:7: warning: implicit declaration of function 'record_unwind_protect' is invalid in C99 [-Wimplicit-function-declaration] record_unwind_protect (after_change_function_restore, ^ insdel.c:811:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ insdel.c:819:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] signal_after_change (pos, lendel, lenins) ^ insdel.c:873:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from insdel.c:33: ./intervals.h:180:20: warning: inline function 'offset_intervals' is not defined [-Wundefined-inline] extern INLINE void offset_intervals (); ^ insdel.c:393:5: note: used here offset_intervals (current_buffer, PT, length); ^ 66 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include marker.c In file included from marker.c:25: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from marker.c:25: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ marker.c:101:3: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] CHECK_NUMBER_COERCE_MARKER (pos, 1); ^ ./lisp.h:880:55: note: expanded from macro 'CHECK_NUMBER_COERCE_MARKER' do { if (XTYPE ((x)) == Lisp_Marker) XFASTINT (x) = marker_position (x); \ ^ marker.c:116:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] charno = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ marker.c:116:12: note: place parentheses around the '-' expression to silence this warning charno = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ marker.c:116:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] charno = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ marker.c:116:12: note: place parentheses around the '-' expression to silence this warning charno = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ marker.c:173:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] charno = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ marker.c:173:12: note: place parentheses around the '-' expression to silence this warning charno = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ marker.c:173:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] charno = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ marker.c:173:12: note: place parentheses around the '-' expression to silence this warning charno = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ marker.c:270:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] marker_position (marker) ^ marker.c:321:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_marker () ^ marker.c:329:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 14 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include intervals.c In file included from intervals.c:41: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from intervals.c:41: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ intervals.c:71:3: warning: implicit declaration of function 'pure_write_error' is invalid in C99 [-Wimplicit-function-declaration] CHECK_IMPURE (parent); ^ ./puresize.h:71:7: note: expanded from macro 'CHECK_IMPURE' pure_write_error (); } ^ intervals.c:147:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i1_len; ~~~~~~~~ ^ intervals.c:298:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ intervals.c:342:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ intervals.c:642:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register position_of_previous; ~~~~~~~~ ^ intervals.c:1331:3: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (source, t, INTERVAL_SIZE); ^ intervals.c:1457:48: warning: incompatible integer to pointer conversion passing 'long' to parameter of type 'INTERVAL' (aka 'struct interval *') [-Wint-conversion] buffer->intervals = reproduce_tree (source, buf); ^~~ intervals.c:1745:9: warning: implicit declaration of function 'Fkeymapp' is invalid in C99 [-Wimplicit-function-declaration] tem = Fkeymapp (prop); ^ 14 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include textprop.c In file included from textprop.c:21: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from textprop.c:21: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ textprop.c:101:3: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] CHECK_NUMBER_COERCE_MARKER (*begin, 0); ^ ./lisp.h:880:55: note: expanded from macro 'CHECK_NUMBER_COERCE_MARKER' do { if (XTYPE ((x)) == Lisp_Marker) XFASTINT (x) = marker_position (x); \ ^ textprop.c:109:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (*begin) > XINT (*end)) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:109:7: note: place parentheses around the '-' expression to silence this warning if (XINT (*begin) > XINT (*end)) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:109:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (*begin) > XINT (*end)) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:109:7: note: place parentheses around the '-' expression to silence this warning if (XINT (*begin) > XINT (*end)) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:109:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (*begin) > XINT (*end)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:109:23: note: place parentheses around the '-' expression to silence this warning if (XINT (*begin) > XINT (*end)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:109:23: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (*begin) > XINT (*end)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:109:23: note: place parentheses around the '-' expression to silence this warning if (XINT (*begin) > XINT (*end)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:121:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BUF_BEGV (b) <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:121:29: note: place parentheses around the '-' expression to silence this warning if (!(BUF_BEGV (b) <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:121:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BUF_BEGV (b) <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:121:29: note: place parentheses around the '-' expression to silence this warning if (!(BUF_BEGV (b) <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:121:46: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BUF_BEGV (b) <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:121:46: note: place parentheses around the '-' expression to silence this warning if (!(BUF_BEGV (b) <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:121:46: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BUF_BEGV (b) <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:121:46: note: place parentheses around the '-' expression to silence this warning if (!(BUF_BEGV (b) <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:121:63: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BUF_BEGV (b) <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:121:63: note: place parentheses around the '-' expression to silence this warning if (!(BUF_BEGV (b) <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:121:63: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BUF_BEGV (b) <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:121:63: note: place parentheses around the '-' expression to silence this warning if (!(BUF_BEGV (b) <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:122:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (*end) <= BUF_ZV (b))) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:122:9: note: place parentheses around the '-' expression to silence this warning && XINT (*end) <= BUF_ZV (b))) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:122:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (*end) <= BUF_ZV (b))) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:122:9: note: place parentheses around the '-' expression to silence this warning && XINT (*end) <= BUF_ZV (b))) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:130:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] searchpos = XINT (*begin); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:130:19: note: place parentheses around the '-' expression to silence this warning searchpos = XINT (*begin); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:130:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] searchpos = XINT (*begin); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:130:19: note: place parentheses around the '-' expression to silence this warning searchpos = XINT (*begin); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:136:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (! (0 <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:136:19: note: place parentheses around the '-' expression to silence this warning if (! (0 <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:136:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (! (0 <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:136:19: note: place parentheses around the '-' expression to silence this warning if (! (0 <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:136:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (! (0 <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:136:36: note: place parentheses around the '-' expression to silence this warning if (! (0 <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:136:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (! (0 <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:136:36: note: place parentheses around the '-' expression to silence this warning if (! (0 <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:136:53: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (! (0 <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:136:53: note: place parentheses around the '-' expression to silence this warning if (! (0 <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:136:53: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (! (0 <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:136:53: note: place parentheses around the '-' expression to silence this warning if (! (0 <= XINT (*begin) && XINT (*begin) <= XINT (*end) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:137:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (*end) <= s->size)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:137:10: note: place parentheses around the '-' expression to silence this warning && XINT (*end) <= s->size)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:137:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (*end) <= s->size)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:137:10: note: place parentheses around the '-' expression to silence this warning && XINT (*end) <= s->size)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:149:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] searchpos = XINT (*begin); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:149:19: note: place parentheses around the '-' expression to silence this warning searchpos = XINT (*begin); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:149:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] searchpos = XINT (*begin); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:149:19: note: place parentheses around the '-' expression to silence this warning searchpos = XINT (*begin); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:288:6: warning: implicit declaration of function 'modify_region' is invalid in C99 [-Wimplicit-function-declaration] modify_region (XBUFFER (object), ^ textprop.c:494:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (pos) == LENGTH (i) + i->position) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:494:7: note: place parentheses around the '-' expression to silence this warning if (XINT (pos) == LENGTH (i) + i->position) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:494:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (pos) == LENGTH (i) + i->position) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:494:7: note: place parentheses around the '-' expression to silence this warning if (XINT (pos) == LENGTH (i) + i->position) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:537:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int posn = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:537:18: note: place parentheses around the '-' expression to silence this warning int posn = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:537:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int posn = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:537:18: note: place parentheses around the '-' expression to silence this warning int posn = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:547:19: warning: implicit declaration of function 'overlays_at' is invalid in C99 [-Wimplicit-function-declaration] noverlays = overlays_at (posn, 0, &overlay_vec, &len, &next_overlay); ^ textprop.c:557:19: warning: implicit declaration of function 'sort_overlays' is invalid in C99 [-Wimplicit-function-declaration] noverlays = sort_overlays (overlay_vec, noverlays, w); ^ textprop.c:802:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:802:7: note: place parentheses around the '-' expression to silence this warning s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:802:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:802:7: note: place parentheses around the '-' expression to silence this warning s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:803:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] len = XINT (end) - s; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:803:9: note: place parentheses around the '-' expression to silence this warning len = XINT (end) - s; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:803:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] len = XINT (end) - s; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:803:9: note: place parentheses around the '-' expression to silence this warning len = XINT (end) - s; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:924:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:924:7: note: place parentheses around the '-' expression to silence this warning s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:924:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:924:7: note: place parentheses around the '-' expression to silence this warning s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:925:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] len = XINT (end) - s; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:925:9: note: place parentheses around the '-' expression to silence this warning len = XINT (end) - s; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:925:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] len = XINT (end) - s; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:925:9: note: place parentheses around the '-' expression to silence this warning len = XINT (end) - s; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1005:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1005:7: note: place parentheses around the '-' expression to silence this warning s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1005:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1005:7: note: place parentheses around the '-' expression to silence this warning s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1006:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] len = XINT (end) - s; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1006:9: note: place parentheses around the '-' expression to silence this warning len = XINT (end) - s; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1006:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] len = XINT (end) - s; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1006:9: note: place parentheses around the '-' expression to silence this warning len = XINT (end) - s; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1077:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] e = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1077:7: note: place parentheses around the '-' expression to silence this warning e = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1077:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] e = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1077:7: note: place parentheses around the '-' expression to silence this warning e = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1086:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (pos < XINT (start)) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1086:14: note: place parentheses around the '-' expression to silence this warning if (pos < XINT (start)) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1086:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (pos < XINT (start)) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1086:14: note: place parentheses around the '-' expression to silence this warning if (pos < XINT (start)) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1087:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1087:12: note: place parentheses around the '-' expression to silence this warning pos = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1087:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1087:12: note: place parentheses around the '-' expression to silence this warning pos = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1113:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1113:7: note: place parentheses around the '-' expression to silence this warning s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1113:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1113:7: note: place parentheses around the '-' expression to silence this warning s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1114:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] e = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1114:7: note: place parentheses around the '-' expression to silence this warning e = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1114:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] e = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1114:7: note: place parentheses around the '-' expression to silence this warning e = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1274:27: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (dest_end) = XINT (dest_start) + (XINT (end) - XINT (start)); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1274:27: note: place parentheses around the '-' expression to silence this warning XFASTINT (dest_end) = XINT (dest_start) + (XINT (end) - XINT (start)); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1274:27: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (dest_end) = XINT (dest_start) + (XINT (end) - XINT (start)); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1274:27: note: place parentheses around the '-' expression to silence this warning XFASTINT (dest_end) = XINT (dest_start) + (XINT (end) - XINT (start)); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1274:48: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (dest_end) = XINT (dest_start) + (XINT (end) - XINT (start)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1274:48: note: place parentheses around the '-' expression to silence this warning XFASTINT (dest_end) = XINT (dest_start) + (XINT (end) - XINT (start)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1274:48: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (dest_end) = XINT (dest_start) + (XINT (end) - XINT (start)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1274:48: note: place parentheses around the '-' expression to silence this warning XFASTINT (dest_end) = XINT (dest_start) + (XINT (end) - XINT (start)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1274:61: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (dest_end) = XINT (dest_start) + (XINT (end) - XINT (start)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1274:61: note: place parentheses around the '-' expression to silence this warning XFASTINT (dest_end) = XINT (dest_start) + (XINT (end) - XINT (start)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1274:61: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (dest_end) = XINT (dest_start) + (XINT (end) - XINT (start)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1274:61: note: place parentheses around the '-' expression to silence this warning XFASTINT (dest_end) = XINT (dest_start) + (XINT (end) - XINT (start)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1280:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1280:7: note: place parentheses around the '-' expression to silence this warning s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1280:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1280:7: note: place parentheses around the '-' expression to silence this warning s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1281:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] e = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1281:7: note: place parentheses around the '-' expression to silence this warning e = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1281:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] e = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1281:7: note: place parentheses around the '-' expression to silence this warning e = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1282:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] p = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1282:7: note: place parentheses around the '-' expression to silence this warning p = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ textprop.c:1282:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] p = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ textprop.c:1282:7: note: place parentheses around the '-' expression to silence this warning p = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ In file included from textprop.c:23: ./intervals.h:176:24: warning: inline function 'find_interval' is not defined [-Wundefined-inline] extern INLINE INTERVAL find_interval (); ^ textprop.c:155:10: note: used here return find_interval (i, searchpos); ^ 73 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include minibuf.c In file included from minibuf.c:31: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from minibuf.c:31: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ minibuf.c:181:3: warning: implicit declaration of function 'record_unwind_protect' is invalid in C99 [-Wimplicit-function-declaration] record_unwind_protect (Fset_window_configuration, ^ minibuf.c:197:5: warning: implicit declaration of function 'Fraise_frame' is invalid in C99 [-Wimplicit-function-declaration] Fraise_frame (mini_frame); ^ minibuf.c:234:5: warning: implicit declaration of function 'Fredirect_frame_focus' is invalid in C99 [-Wimplicit-function-declaration] Fredirect_frame_focus (Fselected_frame (), mini_frame); ^ minibuf.c:236:3: warning: implicit declaration of function 'Fmake_local_variable' is invalid in C99 [-Wimplicit-function-declaration] Fmake_local_variable (Qprint_escape_newlines); ^ minibuf.c:247:3: warning: implicit declaration of function 'Ferase_buffer' is invalid in C99 [-Wimplicit-function-declaration] Ferase_buffer (); ^ minibuf.c:253:2: warning: implicit declaration of function 'Fforward_byte' is invalid in C99 [-Wimplicit-function-declaration] Fforward_byte (backup_n); /* 94.7.15 by T.Enami */ ^ minibuf.c:274:3: warning: implicit declaration of function 'recursive_edit_1' is invalid in C99 [-Wimplicit-function-declaration] recursive_edit_1 (); ^ minibuf.c:283:7: warning: implicit declaration of function 'update_frame' is invalid in C99 [-Wimplicit-function-declaration] update_frame (selected_frame, 1, 1); ^ minibuf.c:288:3: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (GAP_END_ADDR, XSTRING (val)->data + GPT - BEG, Z - GPT); ^ minibuf.c:319:38: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] for (p = XSTRING (val)->data + XINT (Fcdr (expr_and_pos)); *p; p++) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ minibuf.c:319:38: note: place parentheses around the '-' expression to silence this warning for (p = XSTRING (val)->data + XINT (Fcdr (expr_and_pos)); *p; p++) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ minibuf.c:319:38: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] for (p = XSTRING (val)->data + XINT (Fcdr (expr_and_pos)); *p; p++) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ minibuf.c:319:38: note: place parentheses around the '-' expression to silence this warning for (p = XSTRING (val)->data + XINT (Fcdr (expr_and_pos)); *p; p++) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ minibuf.c:357:7: warning: implicit declaration of function 'Fbuffer_enable_undo' is invalid in C99 [-Wimplicit-function-declaration] Fbuffer_enable_undo (buf); ^ minibuf.c:457:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = XINT (position) - 1 - XSTRING (initial_contents)->size; ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ minibuf.c:457:10: note: place parentheses around the '-' expression to silence this warning pos = XINT (position) - 1 - XSTRING (initial_contents)->size; ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ minibuf.c:457:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = XINT (position) - 1 - XSTRING (initial_contents)->size; ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ minibuf.c:457:10: note: place parentheses around the '-' expression to silence this warning pos = XINT (position) - 1 - XSTRING (initial_contents)->size; ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ minibuf.c:682:11: warning: implicit declaration of function 'scmp' is invalid in C99 [-Wimplicit-function-declaration] && 0 > scmp (XSTRING (eltstring)->data, XSTRING (string)->data, ^ minibuf.c:748:14: warning: implicit declaration of function 'bcmp' is invalid in C99 [-Wimplicit-function-declaration] && !bcmp (XSTRING (eltstring)->data, ^ minibuf.c:785:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] scmp (s1, s2, len) ^ minibuf.c:980:3: warning: implicit declaration of function 'specbind' is invalid in C99 [-Wimplicit-function-declaration] specbind (Qminibuffer_completion_table, table); ^ minibuf.c:999:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = XINT (position) - XSTRING (init)->size; ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ minibuf.c:999:10: note: place parentheses around the '-' expression to silence this warning pos = XINT (position) - XSTRING (init)->size; ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ minibuf.c:999:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = XINT (position) - XSTRING (init)->size; ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ minibuf.c:999:10: note: place parentheses around the '-' expression to silence this warning pos = XINT (position) - XSTRING (init)->size; ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ minibuf.c:1032:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] temp_echo_area_glyphs (m) ^ minibuf.c:1040:3: warning: implicit declaration of function 'message' is invalid in C99 [-Wimplicit-function-declaration] message (0); ^ minibuf.c:1042:3: warning: implicit declaration of function 'set_point' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (osize); ^ ./buffer.h:46:27: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^ minibuf.c:1043:3: warning: implicit declaration of function 'insert_string' is invalid in C99 [-Wimplicit-function-declaration] insert_string (m); ^ minibuf.c:1046:3: warning: implicit declaration of function 'Fsit_for' is invalid in C99 [-Wimplicit-function-declaration] Fsit_for (make_number (2), Qnil, Qnil); ^ minibuf.c:1054:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ minibuf.c:1084:7: warning: implicit declaration of function 'bitch_at_user' is invalid in C99 [-Wimplicit-function-declaration] bitch_at_user (); ^ minibuf.c:1098:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (completedp = NILP (tem)) ~~~~~~~~~~~^~~~~~~~~~~~ minibuf.c:1098:18: note: place parentheses around the assignment to silence this warning if (completedp = NILP (tem)) ^ ( ) minibuf.c:1098:18: note: use '==' to turn this assignment into an equality comparison if (completedp = NILP (tem)) ^ == minibuf.c:1216:13: warning: implicit declaration of function 'Fpos_visible_in_window_p' is invalid in C99 [-Wimplicit-function-declaration] tem = Fpos_visible_in_window_p (make_number (ZV), window); ^ minibuf.c:1219:2: warning: implicit declaration of function 'Fset_window_start' is invalid in C99 [-Wimplicit-function-declaration] Fset_window_start (window, BEGV, Qnil); ^ minibuf.c:1222:2: warning: implicit declaration of function 'Fscroll_other_window' is invalid in C99 [-Wimplicit-function-declaration] Fscroll_other_window (Qnil); ^ minibuf.c:1224:7: warning: implicit declaration of function 'set_buffer_internal' is invalid in C99 [-Wimplicit-function-declaration] set_buffer_internal (obuf); ^ minibuf.c:1282:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ minibuf.c:1344:6: warning: implicit declaration of function 'insert_from_string' is invalid in C99 [-Wimplicit-function-declaration] insert_from_string (tem, 0, XSTRING (tem)->size, 0); ^ minibuf.c:1459:5: warning: implicit declaration of function 'write_string' is invalid in C99 [-Wimplicit-function-declaration] write_string ("There are no possible completions of what you have typed.", ^ minibuf.c:1496:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] column += XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ minibuf.c:1496:15: note: place parentheses around the '-' expression to silence this warning column += XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ minibuf.c:1496:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] column += XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ minibuf.c:1496:15: note: place parentheses around the '-' expression to silence this warning column += XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ minibuf.c:1498:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] column += XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ minibuf.c:1498:15: note: place parentheses around the '-' expression to silence this warning column += XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ minibuf.c:1498:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] column += XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ minibuf.c:1498:15: note: place parentheses around the '-' expression to silence this warning column += XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ minibuf.c:1509:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] column += XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ minibuf.c:1509:15: note: place parentheses around the '-' expression to silence this warning column += XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ minibuf.c:1509:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] column += XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ minibuf.c:1509:15: note: place parentheses around the '-' expression to silence this warning column += XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ minibuf.c:1546:5: warning: implicit declaration of function 'internal_with_output_to_temp_buffer' is invalid in C99 [-Wimplicit-function-declaration] internal_with_output_to_temp_buffer ("*Completions*", ^ minibuf.c:1557:5: warning: implicit declaration of function 'internal_self_insert' is invalid in C99 [-Wimplicit-function-declaration] internal_self_insert (last_command_char, 0); ^ minibuf.c:1562:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ minibuf.c:1569:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ minibuf.c:1615:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_minibuf_once () ^ minibuf.c:1619:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ minibuf.c:1621:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_minibuf () ^ minibuf.c:1761:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ minibuf.c:1763:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] keys_of_minibuf () ^ minibuf.c:1765:3: warning: implicit declaration of function 'initial_define_key' is invalid in C99 [-Wimplicit-function-declaration] initial_define_key (Vminibuffer_local_map, Ctl ('g'), ^ minibuf.c:1812:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 58 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include fileio.c In file included from fileio.c:81: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from fileio.c:81: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from fileio.c:141: ./coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ fileio.c:240:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] report_file_error (string, data) ^ fileio.c:258:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] close_file_unwind (fd) ^ fileio.c:262:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fileio.c:266:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] restore_point_unwind (location) ^ fileio.c:269:11: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (marker_position (location)); ^ fileio.c:270:3: warning: implicit declaration of function 'Fset_marker' is invalid in C99 [-Wimplicit-function-declaration] Fset_marker (location, Qnil, Qnil); ^ fileio.c:271:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fileio.c:333:11: warning: implicit declaration of function 'fast_string_match' is invalid in C99 [-Wimplicit-function-declaration] && fast_string_match (string, filename) >= 0) ^ fileio.c:471:14: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] int size = strlen (in) - 1; ^ fileio.c:471:14: note: include the header or explicitly provide a declaration for 'strlen' fileio.c:473:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy (out, in); ^ fileio.c:473:3: note: include the header or explicitly provide a declaration for 'strcpy' fileio.c:539:5: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat (out, "/"); ^ fileio.c:539:5: note: include the header or explicitly provide a declaration for 'strcat' fileio.c:570:53: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return build_string (file_name_as_directory (buf, XSTRING (file)->data)); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ fileio.c:583:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] directory_file_name (src, dst) ^ fileio.c:760:24: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] directory_file_name (XSTRING (directory)->data, buf); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ fileio.c:773:11: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mktemp (XSTRING (val)->data); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/stdlib.h:195:20: note: passing argument to parameter here char *mktemp(char *) ^ fileio.c:1044:4: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy ((char *) nm, o, p - nm); ^ fileio.c:1047: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:1082:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int length = strlen (newdir); ^~~~~~ fileio.c:1102: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; ^~ fileio.c:1115:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (target, newdir); ^~~~~~ fileio.c:1115:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (target, newdir); ^~~~~~ fileio.c:1118: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:1118: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:1121:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (target, nm); ^~~~~~ fileio.c:1121: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); ^~ fileio.c:1180:17: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] else if (!strncmp (p, "//", 2) ^ fileio.c:1180:17: note: include the header or explicitly provide a declaration for 'strncmp' fileio.c:1180:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!strncmp (p, "//", 2) ^ fileio.c:1201:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!strncmp (p, "/..", 3) ^ fileio.c:1662:2: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy (target, o, s - o); ^ fileio.c:1662:2: note: include the header or explicitly provide a declaration for 'strncpy' fileio.c:1662: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); ^~~~~~ fileio.c:1662: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); ^ fileio.c:1671:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] total += strlen (o); ^ fileio.c:1713: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); ^~~~~~ fileio.c:1713: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); ^ fileio.c:1724:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (x, o); ^ fileio.c:1724:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (x, o); ^ fileio.c:1725:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] x += strlen (o); ^ fileio.c:1759:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ fileio.c:1796:13: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (XSTRING (absname)->data, &statbuf) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:1853: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:1788:79: note: passing argument to parameter 'querystring' here static void barf_or_query_if_file_exists (Lisp_Object absname, unsigned char *querystring, int interactive) ^ fileio.c:1856:9: warning: implicit declaration of function 'mc_open' is invalid in C99 [-Wimplicit-function-declaration] ifd = open (XSTRING (filename)->data, O_RDONLY); ^ ./mcpath.h:123:20: note: expanded from macro 'open' # define open mc_open ^ fileio.c:1860:3: warning: implicit declaration of function 'record_unwind_protect' is invalid in C99 [-Wimplicit-function-declaration] record_unwind_protect (close_file_unwind, make_number (ifd)); ^ fileio.c:1888:9: warning: implicit declaration of function 'mc_creat' is invalid in C99 [-Wimplicit-function-declaration] ofd = creat (XSTRING (newname)->data, 0666); ^ ./mcpath.h:122:21: note: expanded from macro 'creat' # define creat mc_creat ^ fileio.c:1914:4: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] EMACS_SET_UTIMES (XSTRING (newname)->data, atime, mtime); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./systime.h:168:13: note: expanded from macro 'EMACS_SET_UTIMES' utimes ((path), tv); \ ^~~~~~ /usr/include/sys/time.h:328:24: note: passing argument to parameter here int utimes(const char *, const struct timeval [2]) __RENAME(__utimes50); ^ fileio.c:1919:2: warning: implicit declaration of function 'mc_chmod' is invalid in C99 [-Wimplicit-function-declaration] chmod (XSTRING (newname)->data, st.st_mode & 07777); ^ ./mcpath.h:125:21: note: expanded from macro 'chmod' # define chmod mc_chmod ^ fileio.c:1949:7: warning: implicit declaration of function 'mc_mkdir' is invalid in C99 [-Wimplicit-function-declaration] if (mkdir (dir, 0777) != 0) ^ ./mcpath.h:155:17: note: expanded from macro 'mkdir' # define mkdir mc_mkdir ^ fileio.c:1971:14: warning: passing '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:1991:19: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 > unlink (XSTRING (filename)->data)) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/unistd.h:144:25: note: passing argument to parameter here int unlink(const char *); ^ fileio.c:2030:44: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] barf_or_query_if_file_exists (newname, "rename to it", ^~~~~~~~~~~~~~ fileio.c:1788:79: note: passing argument to parameter 'querystring' here static void barf_or_query_if_file_exists (Lisp_Object absname, unsigned char *querystring, int interactive) ^ fileio.c:2033:11: warning: implicit declaration of function 'mc_rename' is invalid in C99 [-Wimplicit-function-declaration] if (0 > rename (XSTRING (filename)->data, XSTRING (newname)->data)) ^ ./mcpath.h:137:18: note: expanded from macro 'rename' # define rename mc_rename ^ fileio.c:2093: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:1788:79: note: passing argument to parameter 'querystring' here static void barf_or_query_if_file_exists (Lisp_Object absname, unsigned char *querystring, int interactive) ^ fileio.c:2095:11: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] unlink (XSTRING (newname)->data); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/unistd.h:144:25: note: passing argument to parameter here int unlink(const char *); ^ fileio.c:2096:17: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 > link (XSTRING (filename)->data, XSTRING (newname)->data)) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/unistd.h:127:23: note: passing argument to parameter here int link(const char *, const char *); ^ fileio.c:2096:43: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 > link (XSTRING (filename)->data, XSTRING (newname)->data)) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/unistd.h:127:37: note: passing argument to parameter here int link(const char *, const char *); ^ fileio.c:2147: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:1788:79: note: passing argument to parameter 'querystring' here static void barf_or_query_if_file_exists (Lisp_Object absname, unsigned char *querystring, int interactive) ^ fileio.c:2149:20: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 > symlink (XSTRING (filename)->data, XSTRING (linkname)->data)) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/unistd.h:279:26: note: passing argument to parameter here int symlink(const char *, const char *); ^ fileio.c:2149:46: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 > symlink (XSTRING (filename)->data, XSTRING (linkname)->data)) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/unistd.h:279:40: note: passing argument to parameter here int symlink(const char *, const char *); ^ fileio.c:2154:12: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] unlink (XSTRING (linkname)->data); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/unistd.h:144:25: note: passing argument to parameter here int unlink(const char *); ^ fileio.c:2155:22: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 <= symlink (XSTRING (filename)->data, XSTRING (linkname)->data)) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/unistd.h:279:26: note: passing argument to parameter here int symlink(const char *, const char *); ^ fileio.c:2155:48: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 <= symlink (XSTRING (filename)->data, XSTRING (linkname)->data)) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/unistd.h:279:40: note: passing argument to parameter here int symlink(const char *, const char *); ^ fileio.c:2269:17: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (stat (XSTRING (abspath)->data, &statbuf) >= 0) ? Qt : Qnil; ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:2291:19: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (access (XSTRING (abspath)->data, 1) >= 0) ? Qt : Qnil; ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/unistd.h:88:25: note: passing argument to parameter here int access(const char *, int); ^ fileio.c:2347:7: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero (buf, bufsize); ^ fileio.c:2347:7: note: include the header or explicitly provide a declaration for 'bzero' fileio.c:2348:27: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] valsize = readlink (XSTRING (filename)->data, buf, bufsize); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/unistd.h:167:42: note: passing argument to parameter here ssize_t readlink(const char * __restrict, char * __restrict, size_t); ^ fileio.c:2410:15: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (access (XSTRING (abspath)->data, 0) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/unistd.h:88:25: note: passing argument to parameter here int access(const char *, int); ^ fileio.c:2411:22: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return ((access (XSTRING (abspath)->data, 2) >= 0 ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/unistd.h:88:25: note: passing argument to parameter here int access(const char *, int); ^ fileio.c:2447:13: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (XSTRING (abspath)->data, &st) < 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:2502:13: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (XSTRING (abspath)->data, &st) < 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:2539:39: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (chmod (XSTRING (abspath)->data, XINT (mode)) < 0) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2539:39: note: place parentheses around the '-' expression to silence this warning if (chmod (XSTRING (abspath)->data, XINT (mode)) < 0) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2539:39: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (chmod (XSTRING (abspath)->data, XINT (mode)) < 0) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2539:39: note: place parentheses around the '-' expression to silence this warning if (chmod (XSTRING (abspath)->data, XINT (mode)) < 0) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2581:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] umask ((~ XINT (mode)) & 0777); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2581:13: note: place parentheses around the '-' expression to silence this warning umask ((~ XINT (mode)) & 0777); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2581:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] umask ((~ XINT (mode)) & 0777); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2581:13: note: place parentheses around the '-' expression to silence this warning umask ((~ XINT (mode)) & 0777); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2639:13: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (XSTRING (abspath1)->data, &st) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:2644:13: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (XSTRING (abspath2)->data, &st) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:2702:3: warning: implicit declaration of function 'encode_code' is invalid in C99 [-Wimplicit-function-declaration] encode_code(Fcheck_code(Vinput_coding_system), &mccode); ^ fileio.c:2720:13: warning: implicit declaration of function 'call6' is invalid in C99 [-Wimplicit-function-declaration] val = call6 (handler, Qinsert_file_contents, filename, ^ fileio.c:2728:13: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (XSTRING (filename)->data, &st) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:2781:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (end) != st.st_size) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2781:11: note: place parentheses around the '-' expression to silence this warning if (XINT (end) != st.st_size) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2781:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (end) != st.st_size) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2781:11: note: place parentheses around the '-' expression to silence this warning if (XINT (end) != st.st_size) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2797:7: warning: implicit declaration of function 'del_range_1' is invalid in C99 [-Wimplicit-function-declaration] del_range_1 (BEGV, ZV, 0); ^ fileio.c:2899:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] total = XINT (end) - XINT (beg); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2899:11: note: place parentheses around the '-' expression to silence this warning total = XINT (end) - XINT (beg); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2899:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] total = XINT (end) - XINT (beg); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2899:11: note: place parentheses around the '-' expression to silence this warning total = XINT (end) - XINT (beg); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2899:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] total = XINT (end) - XINT (beg); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2899:24: note: place parentheses around the '-' expression to silence this warning total = XINT (end) - XINT (beg); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2899:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] total = XINT (end) - XINT (beg); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2899:24: note: place parentheses around the '-' expression to silence this warning total = XINT (end) - XINT (beg); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2906:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (total != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2906:18: note: place parentheses around the '-' expression to silence this warning if (total != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2906:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (total != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2906:18: note: place parentheses around the '-' expression to silence this warning if (total != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2911:5: warning: implicit declaration of function 'prepare_to_modify_buffer' is invalid in C99 [-Wimplicit-function-declaration] prepare_to_modify_buffer (point, point); ^ fileio.c:2913:3: warning: implicit declaration of function 'move_gap' is invalid in C99 [-Wimplicit-function-declaration] move_gap (point); ^ fileio.c:2915:5: warning: implicit declaration of function 'make_gap' is invalid in C99 [-Wimplicit-function-declaration] make_gap (total - GAP_SIZE); ^ fileio.c:2917:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) != 0 || !NILP (replace)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2917:7: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) != 0 || !NILP (replace)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2917:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) != 0 || !NILP (replace)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2917:7: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) != 0 || !NILP (replace)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2919:22: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (lseek (fd, XINT (beg), 0) < 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2919:22: note: place parentheses around the '-' expression to silence this warning if (lseek (fd, XINT (beg), 0) < 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2919:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (lseek (fd, XINT (beg), 0) < 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2919:22: note: place parentheses around the '-' expression to silence this warning if (lseek (fd, XINT (beg), 0) < 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2984:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (Z + converted != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2984:29: note: place parentheses around the '-' expression to silence this warning if (Z + converted != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:2984:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (Z + converted != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:2984:29: note: place parentheses around the '-' expression to silence this warning if (Z + converted != XINT (temp)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3092:6: warning: implicit declaration of function 'unlock_file' is invalid in C99 [-Wimplicit-function-declaration] unlock_file (current_buffer->filename); ^ fileio.c:3102:5: warning: implicit declaration of function 'signal_after_change' is invalid in C99 [-Wimplicit-function-declaration] signal_after_change (point, 0, inserted); ^ fileio.c:3143:3: warning: implicit declaration of function 'Fkill_buffer' is invalid in C99 [-Wimplicit-function-declaration] Fkill_buffer (tembuf); ^ fileio.c:3212:5: warning: implicit declaration of function 'validate_region' is invalid in C99 [-Wimplicit-function-declaration] validate_region (&start, &end); ^ fileio.c:3272:5: warning: implicit declaration of function 'lock_file' is invalid in C99 [-Wimplicit-function-declaration] lock_file (visit_file); ^ fileio.c:3388:21: warning: implicit declaration of function 'a_write' is invalid in C99 [-Wimplicit-function-declaration] failure = 0 > a_write (desc, XSTRING (start)->data, ^ fileio.c:3392:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XINT (start) != XINT (end)) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3392:12: note: place parentheses around the '-' expression to silence this warning else if (XINT (start) != XINT (end)) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3392:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XINT (start) != XINT (end)) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3392:12: note: place parentheses around the '-' expression to silence this warning else if (XINT (start) != XINT (end)) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3392:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XINT (start) != XINT (end)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3392:28: note: place parentheses around the '-' expression to silence this warning else if (XINT (start) != XINT (end)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3392:28: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XINT (start) != XINT (end)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3392:28: note: place parentheses around the '-' expression to silence this warning else if (XINT (start) != XINT (end)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3395:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (start) < GPT) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3395:11: note: place parentheses around the '-' expression to silence this warning if (XINT (start) < GPT) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3395:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (start) < GPT) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3395:11: note: place parentheses around the '-' expression to silence this warning if (XINT (start) < GPT) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3397:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int end1 = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3397:24: note: place parentheses around the '-' expression to silence this warning register int end1 = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3397:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int end1 = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3397:24: note: place parentheses around the '-' expression to silence this warning register int end1 = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3398:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tem = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3398:10: note: place parentheses around the '-' expression to silence this warning tem = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3398:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tem = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3398:10: note: place parentheses around the '-' expression to silence this warning tem = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3406:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (end) > GPT && !failure) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3406:11: note: place parentheses around the '-' expression to silence this warning if (XINT (end) > GPT && !failure) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3406:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (end) > GPT && !failure) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3406:11: note: place parentheses around the '-' expression to silence this warning if (XINT (end) > GPT && !failure) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3408:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tem = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3408:10: note: place parentheses around the '-' expression to silence this warning tem = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3408:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tem = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3408:10: note: place parentheses around the '-' expression to silence this warning tem = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3410:52: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] failure = 0 > a_write (desc, &FETCH_CHAR (tem), XINT (end) - tem, ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3410:52: note: place parentheses around the '-' expression to silence this warning failure = 0 > a_write (desc, &FETCH_CHAR (tem), XINT (end) - tem, ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3410:52: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] failure = 0 > a_write (desc, &FETCH_CHAR (tem), XINT (end) - tem, ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3410:52: note: place parentheses around the '-' expression to silence this warning failure = 0 > a_write (desc, &FETCH_CHAR (tem), XINT (end) - tem, ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3413:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] nwritten += XINT (end) - tem; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3413:16: note: place parentheses around the '-' expression to silence this warning nwritten += XINT (end) - tem; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3413:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] nwritten += XINT (end) - tem; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3413:16: note: place parentheses around the '-' expression to silence this warning nwritten += XINT (end) - tem; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3420:40: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] failure = 0 > a_write (desc, "", 0, XINT (start), &annotations, ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3420:40: note: place parentheses around the '-' expression to silence this warning failure = 0 > a_write (desc, "", 0, XINT (start), &annotations, ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3420:40: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] failure = 0 > a_write (desc, "", 0, XINT (start), &annotations, ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3420:40: note: place parentheses around the '-' expression to silence this warning failure = 0 > a_write (desc, "", 0, XINT (start), &annotations, ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3429:19: warning: implicit declaration of function 'e_write' is invalid in C99 [-Wimplicit-function-declaration] failure = 0 > e_write (desc, "", 0, &mccode); ^ fileio.c:3483:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] stat (fn, &st); ^~ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:3515:5: warning: implicit declaration of function 'message' is invalid in C99 [-Wimplicit-function-declaration] message ("Wrote %s", XSTRING (visit_file)->data); ^ fileio.c:3603:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (INTEGERP (tem) && XINT (tem) >= pos && XFASTINT (tem) <= lastpos) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3603:29: note: place parentheses around the '-' expression to silence this warning if (INTEGERP (tem) && XINT (tem) >= pos && XFASTINT (tem) <= lastpos) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3603:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (INTEGERP (tem) && XINT (tem) >= pos && XFASTINT (tem) <= lastpos) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3603:29: note: place parentheses around the '-' expression to silence this warning if (INTEGERP (tem) && XINT (tem) >= pos && XFASTINT (tem) <= lastpos) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3623:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ fileio.c:3738:13: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (XSTRING (b->filename)->data, &st) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:3803:22: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (stat (XSTRING (filename)->data, &st) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:3813:3: warning: implicit declaration of function 'ring_bell' is invalid in C99 [-Wimplicit-function-declaration] ring_bell (); ^ fileio.c:3815:3: warning: implicit declaration of function 'Fsleep_for' is invalid in C99 [-Wimplicit-function-declaration] Fsleep_for (make_number (1), Qnil); ^ fileio.c:3830:13: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat (XSTRING (current_buffer->filename)->data, &st) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ fileio.c:3848:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] close (XINT (desc)); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3848:10: note: place parentheses around the '-' expression to silence this warning close (XINT (desc)); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3848:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] close (XINT (desc)); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3848:10: note: place parentheses around the '-' expression to silence this warning close (XINT (desc)); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3942:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (b->save_length) >= 0 ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3942:9: note: place parentheses around the '-' expression to silence this warning && XINT (b->save_length) >= 0 ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3942:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (b->save_length) >= 0 ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fileio.c:3942:9: note: place parentheses around the '-' expression to silence this warning && XINT (b->save_length) >= 0 ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fileio.c:3974:6: warning: implicit declaration of function 'set_buffer_internal' is invalid in C99 [-Wimplicit-function-declaration] set_buffer_internal (b); ^ fileio.c:3976:8: warning: implicit declaration of function 'message1' is invalid in C99 [-Wimplicit-function-declaration] message1 ("Auto-saving..."); ^ fileio.c:3993:3: warning: implicit declaration of function 'record_auto_save' is invalid in C99 [-Wimplicit-function-declaration] record_auto_save (); ^ fileio.c:3998:2: warning: implicit declaration of function 'message2' is invalid in C99 [-Wimplicit-function-declaration] message2 (omessage, omessage_length); ^ fileio.c:4173:29: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && !strncmp (homedir, XSTRING (dir)->data, strlen (homedir)) ^~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ fileio.c:4297:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_fileio () ^ fileio.c:4501:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from fileio.c:136: ./intervals.h:180:20: warning: inline function 'offset_intervals' is not defined [-Wundefined-inline] extern INLINE void offset_intervals (); ^ fileio.c:3048:7: note: used here offset_intervals (current_buffer, point, inserted); ^ 151 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include dired.c In file included from dired.c:21: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from dired.c:21: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ dired.c:176:5: warning: implicit declaration of function 'report_file_error' is invalid in C99 [-Wimplicit-function-declaration] report_file_error ("Opening directory", Fcons (dirname, Qnil)); ^ dired.c:188:13: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] len = NAMLEN (dp); ^ ./mcpath.h:57:19: note: expanded from macro 'NAMLEN' #define NAMLEN(p) strlen (p->d_name) ^ dired.c:188:13: note: include the header or explicitly provide a declaration for 'strlen' ./mcpath.h:57:19: note: expanded from macro 'NAMLEN' #define NAMLEN(p) strlen (p->d_name) ^ dired.c:188:21: warning: passing 'unsigned char [1790]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = NAMLEN (dp); ~~~~~~~~^~~ ./mcpath.h:57:27: note: expanded from macro 'NAMLEN' #define NAMLEN(p) strlen (p->d_name) ^~~~~~~~~ dired.c:192:40: warning: passing 'unsigned char [1790]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || (0 <= re_search (&searchbuf, dp->d_name, len, 0, len, 0))) ^~~~~~~~~~ ./regex19.h:482:60: note: passing argument to parameter 'string' here _RE_ARGS ((struct re_pattern_buffer *buffer, const char *string, ^ dired.c:205:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (XSTRING (dirname)->data, XSTRING (name)->data, ^ dired.c:342:18: warning: passing 'unsigned char [1790]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = NAMLEN (dp); ~~~~~~~~^~~ ./mcpath.h:57:27: note: expanded from macro 'NAMLEN' #define NAMLEN(p) strlen (p->d_name) ^~~~~~~~~ dired.c:348:16: warning: implicit declaration of function 'scmp' is invalid in C99 [-Wimplicit-function-declaration] || 0 <= scmp (dp->d_name, XSTRING (file)->data, ^ dired.c:352:15: warning: implicit declaration of function 'file_name_completion_stat' is invalid in C99 [-Wimplicit-function-declaration] if (file_name_completion_stat (dirname, dp, &st) < 0) ^ dired.c:454:14: warning: implicit declaration of function 'bcmp' is invalid in C99 [-Wimplicit-function-declaration] && !bcmp (p2, XSTRING (file)->data, XSTRING (file)->size) ^ dired.c:490:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] file_name_completion_stat (dirname, dp, st_addr) ^ dired.c:495:21: warning: passing 'unsigned char [1790]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int len = NAMLEN (dp); ~~~~~~~~^~~ ./mcpath.h:57:27: note: expanded from macro 'NAMLEN' #define NAMLEN(p) strlen (p->d_name) ^~~~~~~~~ dired.c:513:11: warning: implicit declaration of function 'mc_lstat' is invalid in C99 [-Wimplicit-function-declaration] value = lstat (fullname, st_addr); ^ ./mcpath.h:126:21: note: expanded from macro 'lstat' # define lstat mc_lstat ^ dired.c:645:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (values[7]) != s.st_size) ^~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dired.c:645:7: note: place parentheses around the '-' expression to silence this warning if (XINT (values[7]) != s.st_size) ^~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dired.c:645:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (values[7]) != s.st_size) ^~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ dired.c:645:7: note: place parentheses around the '-' expression to silence this warning if (XINT (values[7]) != s.st_size) ^~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ dired.c:647:3: warning: implicit declaration of function 'filemodestring' is invalid in C99 [-Wimplicit-function-declaration] filemodestring (&s, modes); ^ dired.c:654:33: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (! NILP (dirname) && stat (XSTRING (dirname)->data, &sdir) == 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/sys/stat.h:247:22: note: passing argument to parameter here int stat(const char *, struct stat *) __RENAME(__stat50); ^ dired.c:669:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_dired () ^ dired.c:695:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 24 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include filemode.c In file included from filemode.c:20: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from filemode.c:20: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ 6 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include cmds.c In file included from cmds.c:34: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from cmds.c:34: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ cmds.c:64:21: warning: implicit declaration of function 'forward_point' is invalid in C99 [-Wimplicit-function-declaration] int new_point = forward_point (XINT (n)); /* 91.10.28 by K.Handa */ ^ cmds.c:64:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_point = forward_point (XINT (n)); /* 91.10.28 by K.Handa */ ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:64:36: note: place parentheses around the '-' expression to silence this warning int new_point = forward_point (XINT (n)); /* 91.10.28 by K.Handa */ ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:64:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_point = forward_point (XINT (n)); /* 91.10.28 by K.Handa */ ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:64:36: note: place parentheses around the '-' expression to silence this warning int new_point = forward_point (XINT (n)); /* 91.10.28 by K.Handa */ ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:68:2: warning: implicit declaration of function 'set_point' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (BEGV); ^ ./buffer.h:46:27: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^ cmds.c:101:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_point = point + XINT (n); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:101:29: note: place parentheses around the '-' expression to silence this warning int new_point = point + XINT (n); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:101:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int new_point = point + XINT (n); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:101:29: note: place parentheses around the '-' expression to silence this warning int new_point = point + XINT (n); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:131:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (n, - XINT (n)); ~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ cmds.c:131:17: note: place parentheses around the '-' expression to silence this warning XSETINT (n, - XINT (n)); ~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ cmds.c:131:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (n, - XINT (n)); ~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ cmds.c:131:17: note: place parentheses around the '-' expression to silence this warning XSETINT (n, - XINT (n)); ~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ cmds.c:146:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (n, - XINT (n)); ~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ cmds.c:146:17: note: place parentheses around the '-' expression to silence this warning XSETINT (n, - XINT (n)); ~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ cmds.c:146:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (n, - XINT (n)); ~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ cmds.c:146:17: note: place parentheses around the '-' expression to silence this warning XSETINT (n, - XINT (n)); ~~~~~~~~~~~~~~^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ cmds.c:177:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = forward_point (XINT (n)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:177:24: note: place parentheses around the '-' expression to silence this warning pos = forward_point (XINT (n)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:177:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = forward_point (XINT (n)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:177:24: note: place parentheses around the '-' expression to silence this warning pos = forward_point (XINT (n)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:191:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = forward_point (- XINT (n)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:191:26: note: place parentheses around the '-' expression to silence this warning pos = forward_point (- XINT (n)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:191:26: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = forward_point (- XINT (n)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:191:26: note: place parentheses around the '-' expression to silence this warning pos = forward_point (- XINT (n)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:217:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] count = XINT (n); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:217:15: note: place parentheses around the '-' expression to silence this warning count = XINT (n); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:217:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] count = XINT (n); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:217:15: note: place parentheses around the '-' expression to silence this warning count = XINT (n); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:221:9: warning: implicit declaration of function 'scan_buffer' is invalid in C99 [-Wimplicit-function-declaration] pos = scan_buffer ('\n', pos2, count - negp, &shortage, 1); ^ cmds.c:245:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] Fforward_line (make_number (XINT (n) - 1)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:245:31: note: place parentheses around the '-' expression to silence this warning Fforward_line (make_number (XINT (n) - 1)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:245:31: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] Fforward_line (make_number (XINT (n) - 1)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:245:31: note: place parentheses around the '-' expression to silence this warning Fforward_line (make_number (XINT (n) - 1)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:265:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (n) != 1) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:265:7: note: place parentheses around the '-' expression to silence this warning if (XINT (n) != 1) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:265:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (n) != 1) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:265:7: note: place parentheses around the '-' expression to silence this warning if (XINT (n) != 1) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:266:33: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] Fforward_line (make_number (XINT (n) - 1)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:266:33: note: place parentheses around the '-' expression to silence this warning Fforward_line (make_number (XINT (n) - 1)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:266:33: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] Fforward_line (make_number (XINT (n) - 1)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:266:33: note: place parentheses around the '-' expression to silence this warning Fforward_line (make_number (XINT (n) - 1)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:288:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = forward_point (XINT (n)); /* 91.10.28 by K.Handa */ ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:288:24: note: place parentheses around the '-' expression to silence this warning pos = forward_point (XINT (n)); /* 91.10.28 by K.Handa */ ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:288:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = forward_point (XINT (n)); /* 91.10.28 by K.Handa */ ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:288:24: note: place parentheses around the '-' expression to silence this warning pos = forward_point (XINT (n)); /* 91.10.28 by K.Handa */ ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:291:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (n) < 0) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:291:11: note: place parentheses around the '-' expression to silence this warning if (XINT (n) < 0) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:291:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (n) < 0) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:291:11: note: place parentheses around the '-' expression to silence this warning if (XINT (n) < 0) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:296:6: warning: implicit declaration of function 'del_range' is invalid in C99 [-Wimplicit-function-declaration] del_range (pos, point); /* 91.10.28 by K.Handa */ ^ cmds.c:323:38: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return Fdelete_char (make_number (-XINT (n)), killflag); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:323:38: note: place parentheses around the '-' expression to silence this warning return Fdelete_char (make_number (-XINT (n)), killflag); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:323:38: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return Fdelete_char (make_number (-XINT (n)), killflag); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:323:38: note: place parentheses around the '-' expression to silence this warning return Fdelete_char (make_number (-XINT (n)), killflag); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:336:5: warning: implicit declaration of function 'bitch_at_user' is invalid in C99 [-Wimplicit-function-declaration] bitch_at_user (); ^ cmds.c:338:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] while (XINT (arg) > 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:338:12: note: place parentheses around the '-' expression to silence this warning while (XINT (arg) > 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:338:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] while (XINT (arg) > 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:338:12: note: place parentheses around the '-' expression to silence this warning while (XINT (arg) > 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:341:2: warning: implicit declaration of function 'internal_self_insert' is invalid in C99 [-Wimplicit-function-declaration] internal_self_insert (XINT (last_command_char), XFASTINT (arg) != 0); ^ cmds.c:341:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] internal_self_insert (XINT (last_command_char), XFASTINT (arg) != 0); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:341:24: note: place parentheses around the '-' expression to silence this warning internal_self_insert (XINT (last_command_char), XFASTINT (arg) != 0); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:341:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] internal_self_insert (XINT (last_command_char), XFASTINT (arg) != 0); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:341:24: note: place parentheses around the '-' expression to silence this warning internal_self_insert (XINT (last_command_char), XFASTINT (arg) != 0); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:377:34: warning: implicit declaration of function 'property_change_between_p' is invalid in C99 [-Wimplicit-function-declaration] if (! (point - 1 > BEGV && ! property_change_between_p (point - 2, point))) ^ cmds.c:384:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] while (XINT (arg) > 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:384:10: note: place parentheses around the '-' expression to silence this warning while (XINT (arg) > 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:384:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] while (XINT (arg) > 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:384:10: note: place parentheses around the '-' expression to silence this warning while (XINT (arg) > 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:387:2: warning: implicit declaration of function 'insert' is invalid in C99 [-Wimplicit-function-declaration] insert (&c1, 1); ^ cmds.c:406:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] internal_self_insert (c1, noautofill) ^ cmds.c:425:11: warning: implicit declaration of function 'mchar_to_string' is invalid in C99 [-Wimplicit-function-declaration] len = CHARtoSTR (c1, str); ^ ./charset.h:221:34: note: expanded from macro 'CHARtoSTR' *(s) = (unsigned int)(c), 1 : mchar_to_string(c, s)) ^ cmds.c:433:18: warning: implicit declaration of function 'current_column' is invalid in C99 [-Wimplicit-function-declaration] int clm1 = current_column() + char_width[str[0]], clm2; ^ cmds.c:440:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || XINT (current_buffer->tab_width) <= 0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:440:7: note: place parentheses around the '-' expression to silence this warning || XINT (current_buffer->tab_width) <= 0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:440:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || XINT (current_buffer->tab_width) <= 0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ cmds.c:440:7: note: place parentheses around the '-' expression to silence this warning || XINT (current_buffer->tab_width) <= 0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ cmds.c:445:24: warning: implicit declaration of function 'Fmove_to_column' is invalid in C99 [-Wimplicit-function-declaration] clm2 = XFASTINT (Fmove_to_column (clm1)); ^ cmds.c:462:7: warning: implicit declaration of function 'string_to_mchar' is invalid in C99 [-Wimplicit-function-declaration] FETCH_MC_CHAR (c1, pos); ^ ./charset.h:201:9: note: expanded from macro 'FETCH_MC_CHAR' c = STRtoCHAR (p, len); \ ^ ./charset.h:225:11: note: expanded from macro 'STRtoCHAR' *(s) : string_to_mchar(s, len)) ^ cmds.c:461:20: warning: while loop has empty body [-Wempty-body] DEC_POS (pos); ^ cmds.c:461:20: note: put the semicolon on a separate line to silence this warning cmds.c:480:2: warning: implicit declaration of function 'insert_and_inherit' is invalid in C99 [-Wimplicit-function-declaration] insert_and_inherit (str, len); ^ cmds.c:512:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_cmds () ^ cmds.c:544:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cmds.c:546:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] keys_of_cmds () ^ cmds.c:550:3: warning: implicit declaration of function 'initial_define_key' is invalid in C99 [-Wimplicit-function-declaration] initial_define_key (global_map, Ctl('M'), "newline"); ^ cmds.c:567:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 60 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include casetab.c In file included from casetab.c:22: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from casetab.c:22: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ casetab.c:210:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_casetab_once () ^ casetab.c:233:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ casetab.c:235:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_casetab () ^ casetab.c:256:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 10 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include casefiddle.c In file included from casefiddle.c:21: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from casefiddle.c:21: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ casefiddle.c:41:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] c = XINT (obj); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ casefiddle.c:41:8: note: place parentheses around the '-' expression to silence this warning c = XINT (obj); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ casefiddle.c:41:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] c = XINT (obj); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ casefiddle.c:41:8: note: place parentheses around the '-' expression to silence this warning c = XINT (obj); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ casefiddle.c:117:3: warning: implicit declaration of function 'validate_region' is invalid in C99 [-Wimplicit-function-declaration] validate_region (&b, &e); ^ casefiddle.c:118:3: warning: implicit declaration of function 'modify_region' is invalid in C99 [-Wimplicit-function-declaration] modify_region (current_buffer, XFASTINT (b), XFASTINT (e)); ^ casefiddle.c:119:3: warning: implicit declaration of function 'record_change' is invalid in C99 [-Wimplicit-function-declaration] record_change (XFASTINT (b), XFASTINT (e) - XFASTINT (b)); ^ casefiddle.c:134:3: warning: implicit declaration of function 'signal_after_change' is invalid in C99 [-Wimplicit-function-declaration] signal_after_change (XFASTINT (b), ^ casefiddle.c:196:12: warning: implicit declaration of function 'scan_words' is invalid in C99 [-Wimplicit-function-declaration] farend = scan_words (point, XINT (arg)); ^ casefiddle.c:196:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] farend = scan_words (point, XINT (arg)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ casefiddle.c:196:31: note: place parentheses around the '-' expression to silence this warning farend = scan_words (point, XINT (arg)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ casefiddle.c:196:31: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] farend = scan_words (point, XINT (arg)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ casefiddle.c:196:31: note: place parentheses around the '-' expression to silence this warning farend = scan_words (point, XINT (arg)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ casefiddle.c:198:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] farend = XINT (arg) > 0 ? ZV : BEGV; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ casefiddle.c:198:14: note: place parentheses around the '-' expression to silence this warning farend = XINT (arg) > 0 ? ZV : BEGV; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ casefiddle.c:198:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] farend = XINT (arg) > 0 ? ZV : BEGV; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ casefiddle.c:198:14: note: place parentheses around the '-' expression to silence this warning farend = XINT (arg) > 0 ? ZV : BEGV; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ casefiddle.c:218:3: warning: implicit declaration of function 'set_point' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (newpoint); ^ ./buffer.h:46:27: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^ casefiddle.c:254:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_casefiddle () ^ casefiddle.c:265:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ casefiddle.c:267:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] keys_of_casefiddle () ^ casefiddle.c:269:3: warning: implicit declaration of function 'initial_define_key' is invalid in C99 [-Wimplicit-function-declaration] initial_define_key (control_x_map, Ctl('U'), "upcase-region"); ^ casefiddle.c:277:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 23 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include indent.c In file included from indent.c:58: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from indent.c:58: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ indent.c:119:21: warning: implicit declaration of function 'current_column' is invalid in C99 [-Wimplicit-function-declaration] XFASTINT (temp) = current_column (); ^ indent.c:125:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] invalidate_current_column () ^ indent.c:128:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ indent.c:138:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:138:28: note: place parentheses around the '-' expression to silence this warning register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:138:28: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:138:28: note: place parentheses around the '-' expression to silence this warning register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:271:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:271:28: note: place parentheses around the '-' expression to silence this warning register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:271:28: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:271:28: note: place parentheses around the '-' expression to silence this warning register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:279:22: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] mincol = fromcol + XINT (minimum); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:279:22: note: place parentheses around the '-' expression to silence this warning mincol = fromcol + XINT (minimum); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:279:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] mincol = fromcol + XINT (minimum); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:279:22: note: place parentheses around the '-' expression to silence this warning mincol = fromcol + XINT (minimum); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:280:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (mincol < XINT (col)) mincol = XINT (col); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:280:16: note: place parentheses around the '-' expression to silence this warning if (mincol < XINT (col)) mincol = XINT (col); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:280:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (mincol < XINT (col)) mincol = XINT (col); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:280:16: note: place parentheses around the '-' expression to silence this warning if (mincol < XINT (col)) mincol = XINT (col); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:280:37: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (mincol < XINT (col)) mincol = XINT (col); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:280:37: note: place parentheses around the '-' expression to silence this warning if (mincol < XINT (col)) mincol = XINT (col); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:280:37: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (mincol < XINT (col)) mincol = XINT (col); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:280:37: note: place parentheses around the '-' expression to silence this warning if (mincol < XINT (col)) mincol = XINT (col); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:293:4: warning: implicit declaration of function 'Finsert_char' is invalid in C99 [-Wimplicit-function-declaration] Finsert_char (make_number ('\t'), n, Qt); ^ indent.c:319:20: warning: implicit declaration of function 'position_indentation' is invalid in C99 [-Wimplicit-function-declaration] XFASTINT (val) = position_indentation (find_next_newline (point, -1)); ^ indent.c:319:42: warning: implicit declaration of function 'find_next_newline' is invalid in C99 [-Wimplicit-function-declaration] XFASTINT (val) = position_indentation (find_next_newline (point, -1)); ^ indent.c:323:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] position_indentation (pos) ^ indent.c:327:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:327:28: note: place parentheses around the '-' expression to silence this warning register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:327:28: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:327:28: note: place parentheses around the '-' expression to silence this warning register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:367:11: warning: implicit declaration of function 'find_next_newline_no_quit' is invalid in C99 [-Wimplicit-function-declaration] pos = find_next_newline_no_quit (pos - 1, -1); ^ indent.c:394:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:394:28: note: place parentheses around the '-' expression to silence this warning register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:394:28: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:394:28: note: place parentheses around the '-' expression to silence this warning register int tab_width = XINT (current_buffer->tab_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:404:3: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] CHECK_NATNUM (column, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:404:3: note: place parentheses around the '-' expression to silence this warning CHECK_NATNUM (column, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:404:3: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] CHECK_NATNUM (column, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:404:3: note: place parentheses around the '-' expression to silence this warning CHECK_NATNUM (column, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:405:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] goal = XINT (column); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:405:10: note: place parentheses around the '-' expression to silence this warning goal = XINT (column); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:405:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] goal = XINT (column); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:405:10: note: place parentheses around the '-' expression to silence this warning goal = XINT (column); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:537:14: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] else if (c >= 000 && c < 0200) ~ ^ ~~~ indent.c:661:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:661:10: note: place parentheses around the '-' expression to silence this warning ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:661:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:661:10: note: place parentheses around the '-' expression to silence this warning ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:710:11: warning: implicit declaration of function 'Fget_char_property' is invalid in C99 [-Wimplicit-function-declaration] prop = Fget_char_property (position, ^ indent.c:716:6: warning: implicit declaration of function 'recenter_overlay_lists' is invalid in C99 [-Wimplicit-function-declaration] recenter_overlay_lists (current_buffer, pos); ^ indent.c:719:14: warning: implicit declaration of function 'Fnext_overlay_change' is invalid in C99 [-Wimplicit-function-declaration] limit = Fnext_overlay_change (position); ^ indent.c:725:25: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] next_invisible = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:725:25: note: place parentheses around the '-' expression to silence this warning next_invisible = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:725:25: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] next_invisible = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:725:25: note: place parentheses around the '-' expression to silence this warning next_invisible = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1265:3: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] CHECK_NUMBER_COERCE_MARKER (from, 0); ^ ./lisp.h:880:55: note: expanded from macro 'CHECK_NUMBER_COERCE_MARKER' do { if (XTYPE ((x)) == Lisp_Marker) XFASTINT (x) = marker_position (x); \ ^ indent.c:1279:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] hscroll = XINT (XCONS (offsets)->car); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1279:17: note: place parentheses around the '-' expression to silence this warning hscroll = XINT (XCONS (offsets)->car); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1279:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] hscroll = XINT (XCONS (offsets)->car); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1279:17: note: place parentheses around the '-' expression to silence this warning hscroll = XINT (XCONS (offsets)->car); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1280:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tab_offset = XINT (XCONS (offsets)->cdr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1280:20: note: place parentheses around the '-' expression to silence this warning tab_offset = XINT (XCONS (offsets)->cdr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1280:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tab_offset = XINT (XCONS (offsets)->cdr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1280:20: note: place parentheses around the '-' expression to silence this warning tab_offset = XINT (XCONS (offsets)->cdr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1286:14: warning: implicit declaration of function 'Fselected_window' is invalid in C99 [-Wimplicit-function-declaration] window = Fselected_window (); ^ indent.c:1290:25: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = compute_motion (XINT (from), XINT (XCONS (frompos)->cdr), ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1290:25: note: place parentheses around the '-' expression to silence this warning pos = compute_motion (XINT (from), XINT (XCONS (frompos)->cdr), ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1290:25: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = compute_motion (XINT (from), XINT (XCONS (frompos)->cdr), ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1290:25: note: place parentheses around the '-' expression to silence this warning pos = compute_motion (XINT (from), XINT (XCONS (frompos)->cdr), ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1290:38: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = compute_motion (XINT (from), XINT (XCONS (frompos)->cdr), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1290:38: note: place parentheses around the '-' expression to silence this warning pos = compute_motion (XINT (from), XINT (XCONS (frompos)->cdr), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1290:38: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = compute_motion (XINT (from), XINT (XCONS (frompos)->cdr), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1290:38: note: place parentheses around the '-' expression to silence this warning pos = compute_motion (XINT (from), XINT (XCONS (frompos)->cdr), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1291:4: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (XCONS (frompos)->car), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1291:4: note: place parentheses around the '-' expression to silence this warning XINT (XCONS (frompos)->car), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1291:4: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (XCONS (frompos)->car), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1291:4: note: place parentheses around the '-' expression to silence this warning XINT (XCONS (frompos)->car), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1292:4: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (to), XINT (XCONS (topos)->cdr), ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1292:4: note: place parentheses around the '-' expression to silence this warning XINT (to), XINT (XCONS (topos)->cdr), ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1292:4: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (to), XINT (XCONS (topos)->cdr), ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1292:4: note: place parentheses around the '-' expression to silence this warning XINT (to), XINT (XCONS (topos)->cdr), ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1292:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (to), XINT (XCONS (topos)->cdr), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1292:15: note: place parentheses around the '-' expression to silence this warning XINT (to), XINT (XCONS (topos)->cdr), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1292:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (to), XINT (XCONS (topos)->cdr), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1292:15: note: place parentheses around the '-' expression to silence this warning XINT (to), XINT (XCONS (topos)->cdr), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1293:4: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (XCONS (topos)->car), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1293:4: note: place parentheses around the '-' expression to silence this warning XINT (XCONS (topos)->car), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1293:4: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (XCONS (topos)->car), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1293:4: note: place parentheses around the '-' expression to silence this warning XINT (XCONS (topos)->car), ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1294:4: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (width), hscroll, tab_offset, ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1294:4: note: place parentheses around the '-' expression to silence this warning XINT (width), hscroll, tab_offset, ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1294:4: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (width), hscroll, tab_offset, ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1294:4: note: place parentheses around the '-' expression to silence this warning XINT (width), hscroll, tab_offset, ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1327:5: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1327:5: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1327:5: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1327:5: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1327:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1327:29: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1327:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1327:29: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll) ? 1 - XINT (w->hscroll) : 0, ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1329:5: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll), 0, w, 0); /* 92.8.2 Y.Niibe */ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1329:5: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll), 0, w, 0); /* 92.8.2 Y.Niibe */ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1329:5: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll), 0, w, 0); /* 92.8.2 Y.Niibe */ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1329:5: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll), 0, w, 0); /* 92.8.2 Y.Niibe */ ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1366:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1366:9: note: place parentheses around the '-' expression to silence this warning ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1366:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1366:9: note: place parentheses around the '-' expression to silence this warning ? XINT (current_buffer->selective_display) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1492:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = *vmotion (point, XINT (lines), window_internal_width (w) - 1, ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1492:26: note: place parentheses around the '-' expression to silence this warning pos = *vmotion (point, XINT (lines), window_internal_width (w) - 1, ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1492:26: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = *vmotion (point, XINT (lines), window_internal_width (w) - 1, ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1492:26: note: place parentheses around the '-' expression to silence this warning pos = *vmotion (point, XINT (lines), window_internal_width (w) - 1, ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1494:5: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll), window); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1494:5: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll), window); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1494:5: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (w->hscroll), window); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ indent.c:1494:5: note: place parentheses around the '-' expression to silence this warning XINT (w->hscroll), window); ^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ indent.c:1500:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_indent () ^ indent.c:1513:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 74 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include search.c In file included from search.c:39: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from search.c:39: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ search.c:145:4: warning: implicit declaration of function 'set_pattern' is invalid in C99 [-Wimplicit-function-declaration] set_pattern (compiled, bufp, translate); ^ search.c:166:3: warning: implicit declaration of function 'reinvoke_input_signal' is invalid in C99 [-Wimplicit-function-declaration] UNBLOCK_INPUT; ^ ./blockinput.h:73:8: note: expanded from macro 'UNBLOCK_INPUT' ? (reinvoke_input_signal (), 0) \ ^ search.c:191:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_pattern (pattern, bufp, translate) ^ search.c:211:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bufp->buffer = (char *) XSTRING (temp)->data; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.c:246:2: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero (fastmap, 256); ^ search.c:246:2: note: include the header or explicitly provide a declaration for 'bzero' search.c:248:4: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (XSTRING (fmap)->data, fastmap, XSTRING (fmap)->size); ^ search.c:278:7: warning: implicit declaration of function 'pack_mnemonic_string' is invalid in C99 [-Wimplicit-function-declaration] pack_mnemonic_string ^ search.c:318:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ search.c:351:6: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] !NILP (current_buffer->case_fold_search) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.c:118:109: note: passing argument to parameter 'translate' here void compile_pattern (Lisp_Object pattern, struct re_pattern_buffer *bufp, struct re_registers *regp, char *translate, int backward) ^ search.c:363:5: warning: implicit declaration of function 'move_gap' is invalid in C99 [-Wimplicit-function-declaration] move_gap (validate_position (GPT, 1)); ^ search.c:363:15: warning: implicit declaration of function 'validate_position' is invalid in C99 [-Wimplicit-function-declaration] move_gap (validate_position (GPT, 1)); ^ search.c:440:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:440:11: note: place parentheses around the '-' expression to silence this warning s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:440:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:440:11: note: place parentheses around the '-' expression to silence this warning s = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:449:6: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] !NILP (current_buffer->case_fold_search) ? DOWNCASE_TABLE : 0, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.c:118:109: note: passing argument to parameter 'translate' here void compile_pattern (Lisp_Object pattern, struct re_pattern_buffer *bufp, struct re_registers *regp, char *translate, int backward) ^ search.c:496:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] scan_buffer (target, start, count, shortage, allow_quit) ^ search.c:601:10: warning: implicit declaration of function 'skip_chars' is invalid in C99 [-Wimplicit-function-declaration] return skip_chars (1, string, lim); ^ search.c:615:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] skip_chars (forwardp, string, lim) ^ search.c:632:5: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] CHECK_NUMBER_COERCE_MARKER (lim, 1); ^ ./lisp.h:880:55: note: expanded from macro 'CHECK_NUMBER_COERCE_MARKER' do { if (XTYPE ((x)) == Lisp_Marker) XFASTINT (x) = marker_position (x); \ ^ search.c:652:3: warning: implicit declaration of function 'init_compile_charset_information' is invalid in C99 [-Wimplicit-function-declaration] init_compile_charset_information (ip, b, p, pend, 0, mc_flag, 1); ^ search.c:654:7: warning: implicit declaration of function 'compile_charset' is invalid in C99 [-Wimplicit-function-declaration] if (compile_charset (ip)) ^ search.c:670:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] while (point < XINT (lim)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:670:17: note: place parentheses around the '-' expression to silence this warning while (point < XINT (lim)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:670:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] while (point < XINT (lim)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:670:17: note: place parentheses around the '-' expression to silence this warning while (point < XINT (lim)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:674:3: warning: implicit declaration of function 'string_to_mchar' is invalid in C99 [-Wimplicit-function-declaration] FETCH_MC_CHAR(c, point); ^ ./charset.h:201:9: note: expanded from macro 'FETCH_MC_CHAR' c = STRtoCHAR (p, len); \ ^ ./charset.h:225:11: note: expanded from macro 'STRtoCHAR' *(s) : string_to_mchar(s, len)) ^ search.c:679:10: warning: implicit declaration of function 'lookup_charset' is invalid in C99 [-Wimplicit-function-declaration] if (lookup_charset(b, c, 0, 0) == negate) ^ search.c:687:3: warning: implicit declaration of function 'set_point' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (pos); ^ ./buffer.h:46:27: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^ search.c:695:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] while (point > XINT (lim)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:695:17: note: place parentheses around the '-' expression to silence this warning while (point > XINT (lim)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:695:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] while (point > XINT (lim)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:695:17: note: place parentheses around the '-' expression to silence this warning while (point > XINT (lim)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:702:16: warning: while loop has empty body [-Wempty-body] DEC_POS (pos); ^ search.c:702:16: note: put the semicolon on a separate line to silence this warning search.c:904:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] n *= XINT (count); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:904:12: note: place parentheses around the '-' expression to silence this warning n *= XINT (count); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:904:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] n *= XINT (count); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:904:12: note: place parentheses around the '-' expression to silence this warning n *= XINT (count); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:917:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] lim = XINT (bound); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:917:13: note: place parentheses around the '-' expression to silence this warning lim = XINT (bound); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:917:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] lim = XINT (bound); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:917:13: note: place parentheses around the '-' expression to silence this warning lim = XINT (bound); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:926:8: warning: implicit declaration of function 'search_buffer' is invalid in C99 [-Wimplicit-function-declaration] np = search_buffer (string, point, lim, n, RE, ^ search.c:970:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] search_buffer (string, pos, lim, n, RE, trt, inverse_trt) ^ search.c:1068:35: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = re_search_2 (&searchbuf, (char *) p1, s1, (char *) p2, s2, ^~~~~~~~~~~ ./regex19.h:489:69: note: passing argument to parameter 'string1' here _RE_ARGS ((struct re_pattern_buffer *buffer, const unsigned char *string1, ^ search.c:1068:52: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = re_search_2 (&searchbuf, (char *) p1, s1, (char *) p2, s2, ^~~~~~~~~~~ ./regex19.h:490:48: note: passing argument to parameter 'string2' here int length1, const unsigned char *string2, int length2, ^ search.c:1101:35: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = re_search_2 (&searchbuf, (char *) p1, s1, (char *) p2, s2, ^~~~~~~~~~~ ./regex19.h:489:69: note: passing argument to parameter 'string1' here _RE_ARGS ((struct re_pattern_buffer *buffer, const unsigned char *string1, ^ search.c:1101:52: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = re_search_2 (&searchbuf, (char *) p1, s1, (char *) p2, s2, ^~~~~~~~~~~ ./regex19.h:490:48: note: passing argument to parameter 'string2' here int length1, const unsigned char *string2, int length2, ^ search.c:1653:5: warning: implicit declaration of function 'Finsert_and_inherit' is invalid in C99 [-Wimplicit-function-declaration] Finsert_and_inherit (1, &newtext); ^ search.c:1668:3: warning: implicit declaration of function 'Finsert_buffer_substring' is invalid in C99 [-Wimplicit-function-declaration] Finsert_buffer_substring ^ search.c:1681:3: warning: implicit declaration of function 'insert_char' is invalid in C99 [-Wimplicit-function-declaration] insert_char (c); ^ search.c:1690:3: warning: implicit declaration of function 'del_range' is invalid in C99 [-Wimplicit-function-declaration] del_range (search_regs.start[0] + inslen, search_regs.end[0] + inslen); ^ search.c:1693:5: warning: implicit declaration of function 'Fupcase_region' is invalid in C99 [-Wimplicit-function-declaration] Fupcase_region (make_number (point - inslen), make_number (point)); ^ search.c:1695:5: warning: implicit declaration of function 'upcase_initials_region' is invalid in C99 [-Wimplicit-function-declaration] upcase_initials_region (make_number (point - inslen), make_number (point)); ^ search.c:1707:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] n = XINT (num); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:1707:7: note: place parentheses around the '-' expression to silence this warning n = XINT (num); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:1707:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] n = XINT (num); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:1707:7: note: place parentheses around the '-' expression to silence this warning n = XINT (num); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:1770:8: warning: implicit declaration of function 'Fset_marker' is invalid in C99 [-Wimplicit-function-declaration] Fset_marker (data[2 * i], ^ search.c:1859:27: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] search_regs.start[i] = XINT (marker); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:1859:27: note: place parentheses around the '-' expression to silence this warning search_regs.start[i] = XINT (marker); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:1859:27: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] search_regs.start[i] = XINT (marker); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:1859:27: note: place parentheses around the '-' expression to silence this warning search_regs.start[i] = XINT (marker); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:1868:25: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] search_regs.end[i] = XINT (marker); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:1868:25: note: place parentheses around the '-' expression to silence this warning search_regs.end[i] = XINT (marker); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:1868:25: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] search_regs.end[i] = XINT (marker); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ search.c:1868:25: note: place parentheses around the '-' expression to silence this warning search_regs.end[i] = XINT (marker); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ search.c:1927:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] (!NILP (current_buffer->case_fold_search) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.c:118:109: note: passing argument to parameter 'translate' here void compile_pattern (Lisp_Object pattern, struct re_pattern_buffer *bufp, struct re_registers *regp, char *translate, int backward) ^ search.c:1951:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_search () ^ search.c:1956:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] searchbuf.buffer = (char *) malloc (searchbuf.allocated); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.c:2030:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 61 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include regex.c In file included from regex.c:30: In file included from ./regex19.c:37: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from regex.c:30: In file included from ./regex19.c:37: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from regex.c:30: ./regex19.c:1549:8: warning: implicit declaration of function 'mchar_to_string' is invalid in C99 [-Wimplicit-function-declaration] b += CHARtoSTR (c1, b); ^ ./charset.h:221:34: note: expanded from macro 'CHARtoSTR' *(s) = (unsigned int)(c), 1 : mchar_to_string(c, s)) ^ In file included from regex.c:30: ./regex19.c:1557:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_compile_charset_information (ip, b, p, pend, translate, mc_flag, skip) ^ ./regex19.c:1576:3: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero (ip->bitmap, ip->bitmap_size); ^ ./regex19.c:1576:3: note: include the header or explicitly provide a declaration for 'bzero' ./regex19.c:1577:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ./regex19.c:1611:11: warning: implicit declaration of function 'string_to_mchar' is invalid in C99 [-Wimplicit-function-declaration] c = STRtoCHAR (ip->p, 4); ^ ./charset.h:225:11: note: expanded from macro 'STRtoCHAR' *(s) : string_to_mchar(s, len)) ^ In file included from regex.c:30: ./regex19.c:2266:47: warning: passing 'const char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] init_compile_charset_information (ip, b, p, pend, translate, ^ ./regex19.c:2266:50: warning: passing 'const char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] init_compile_charset_information (ip, b, p, pend, translate, ^~~~ ./regex19.c:2266:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] init_compile_charset_information (ip, b, p, pend, translate, ^~~~~~~~~ ./regex19.c:2432:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ./regex19.c:2452:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ./regex19.c:2854:55: warning: passing 'const char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (!(bufp->mc_flag && (q = (char *) valid_mc_p (&p[-1], pend)))) ^~~~~~ ./regex19.c:2854:63: warning: passing 'const char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (!(bufp->mc_flag && (q = (char *) valid_mc_p (&p[-1], pend)))) ^~~~ ./regex19.c:3533:20: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] if (!PUSH_PATTERN_OP (p + j, fail_stack)) ^ ./regex19.c:1032:9: note: expanded from macro 'PUSH_PATTERN_OP' && !DOUBLE_FAIL_STACK (fail_stack)) \ ^ ./regex19.c:1016:9: note: expanded from macro 'DOUBLE_FAIL_STACK' REGEX_REALLOCATE ((fail_stack).stack, \ ^ ./regex19.c:241:4: note: expanded from macro 'REGEX_REALLOCATE' bcopy (source, destination, osize), \ ^ ./regex19.c:3641:38: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return re_search_2 (bufp, NULL, 0, string, size, startpos, range, ^~~~~~ ./regex19.h:490:48: note: passing argument to parameter 'string2' here int length1, const unsigned char *string2, int length2, ^ In file included from regex.c:30: ./regex19.c:3763:41: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (mc_flag && (p = valid_mc_p (d, d + range - lim))) ^ ./regex19.c:3763:44: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (mc_flag && (p = valid_mc_p (d, d + range - lim))) ^~~~~~~~~~~~~~~ ./regex19.c:3788:41: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (mc_flag && (p = valid_mc_p (d, d + range - lim))) ^ ./regex19.c:3788:44: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (mc_flag && (p = valid_mc_p (d, d + range - lim))) ^~~~~~~~~~~~~~~ ./regex19.c:4243:18: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char *translate = bufp->translate; ^ ~~~~~~~~~~~~~~~ ./regex19.c:4734:4: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADVANCEn (); ^~~~~~~~~~~ ./regex19.c:4064:3: note: expanded from macro 'ADVANCEn' FETCHn (advancen_dummy); \ ^~~~~~~~~~~~~~~~~~~~~~~ ./regex19.c:4011:39: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^ ./regex19.c:4734:4: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADVANCEn (); ^~~~~~~~~~~ ./regex19.c:4064:3: note: expanded from macro 'ADVANCEn' FETCHn (advancen_dummy); \ ^~~~~~~~~~~~~~~~~~~~~~~ ./regex19.c:4011:42: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^~~~~~ ./regex19.c:4734:4: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADVANCEn (); ^~~~~~~~~~~ ./regex19.c:4064:3: note: expanded from macro 'ADVANCEn' FETCHn (advancen_dummy); \ ^~~~~~~~~~~~~~~~~~~~~~~ ./regex19.c:4033:36: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^~~~~~ ./regex19.c:4734:4: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADVANCEn (); ^~~~~~~~~~~ ./regex19.c:4064:3: note: expanded from macro 'ADVANCEn' FETCHn (advancen_dummy); \ ^~~~~~~~~~~~~~~~~~~~~~~ ./regex19.c:4033:44: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^ ./regex19.c:4742:4: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADVANCEn (); ^~~~~~~~~~~ ./regex19.c:4064:3: note: expanded from macro 'ADVANCEn' FETCHn (advancen_dummy); \ ^~~~~~~~~~~~~~~~~~~~~~~ ./regex19.c:4011:39: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^ ./regex19.c:4742:4: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADVANCEn (); ^~~~~~~~~~~ ./regex19.c:4064:3: note: expanded from macro 'ADVANCEn' FETCHn (advancen_dummy); \ ^~~~~~~~~~~~~~~~~~~~~~~ ./regex19.c:4011:42: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^~~~~~ ./regex19.c:4742:4: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADVANCEn (); ^~~~~~~~~~~ ./regex19.c:4064:3: note: expanded from macro 'ADVANCEn' FETCHn (advancen_dummy); \ ^~~~~~~~~~~~~~~~~~~~~~~ ./regex19.c:4033:36: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^~~~~~ ./regex19.c:4742:4: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ADVANCEn (); ^~~~~~~~~~~ ./regex19.c:4064:3: note: expanded from macro 'ADVANCEn' FETCHn (advancen_dummy); \ ^~~~~~~~~~~~~~~~~~~~~~~ ./regex19.c:4033:44: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^ ./regex19.c:4752:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:39: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^ ./regex19.c:4752:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:42: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^~~~~~ ./regex19.c:4752:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:36: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^~~~~~ ./regex19.c:4752:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:44: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^ ./regex19.c:4847:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:39: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^ ./regex19.c:4847:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:42: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^~~~~~ ./regex19.c:4847:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:36: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^~~~~~ ./regex19.c:4847:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:44: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^ ./regex19.c:4898:51: warning: unsequenced modification and access to 'p' [-Wunsequenced] register unsigned char *offset = p + 1 + ((*p--) << 1); ~ ^ ./regex19.c:4922:8: warning: cast to 'fail_stack_elt_t' (aka 'unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (pend, d, -2); ^ ./regex19.c:1120:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (lowest_active_reg); \ ^ ./regex19.c:1041:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^ ./regex19.c:4922:8: warning: cast to 'fail_stack_elt_t' (aka 'unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] ./regex19.c:1123:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (highest_active_reg); \ ^ ./regex19.c:1041:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^ ./regex19.c:5109:19: warning: cast to 'fail_stack_elt_t' (aka 'unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (p1 + mcnt, d, -2); ^ ./regex19.c:1120:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (lowest_active_reg); \ ^ ./regex19.c:1041:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^ ./regex19.c:5109:19: warning: cast to 'fail_stack_elt_t' (aka 'unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] ./regex19.c:1123:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (highest_active_reg); \ ^ ./regex19.c:1041:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^ ./regex19.c:5174:23: warning: implicit declaration of function 'bcmp' is invalid in C99 [-Wimplicit-function-declaration] : bcmp (d, d2, mcnt)) ^ ./regex19.c:5292:11: warning: cast to 'fail_stack_elt_t' (aka 'unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (p + mcnt, NULL, -2); ^ ./regex19.c:1120:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (lowest_active_reg); \ ^ ./regex19.c:1041:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^ ./regex19.c:5292:11: warning: cast to 'fail_stack_elt_t' (aka 'unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] ./regex19.c:1123:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (highest_active_reg); \ ^ ./regex19.c:1041:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^ ./regex19.c:5345:11: warning: cast to 'fail_stack_elt_t' (aka 'unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (p + mcnt, d, -2); ^ ./regex19.c:1120:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (lowest_active_reg); \ ^ ./regex19.c:1041:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^ ./regex19.c:5345:11: warning: cast to 'fail_stack_elt_t' (aka 'unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] ./regex19.c:1123:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (highest_active_reg); \ ^ ./regex19.c:1041:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^ ./regex19.c:5553:11: warning: cast to 'fail_stack_elt_t' (aka 'unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (0, 0, -2); ^ ./regex19.c:1120:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (lowest_active_reg); \ ^ ./regex19.c:1041:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^ ./regex19.c:5553:11: warning: cast to 'fail_stack_elt_t' (aka 'unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] ./regex19.c:1123:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (highest_active_reg); \ ^ ./regex19.c:1041:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^ ./regex19.c:5566:11: warning: cast to 'fail_stack_elt_t' (aka 'unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (0, 0, -2); ^ ./regex19.c:1120:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (lowest_active_reg); \ ^ ./regex19.c:1041:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^ ./regex19.c:5566:11: warning: cast to 'fail_stack_elt_t' (aka 'unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] ./regex19.c:1123:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (highest_active_reg); \ ^ ./regex19.c:1041:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^ ./regex19.c:5644:35: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && re_match_2(wordbuf[1], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5644:51: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && re_match_2(wordbuf[1], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5647:31: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && re_match_2(wordbuf[0], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5647:47: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] && re_match_2(wordbuf[0], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5650:35: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (re_match_2(wordbuf[i], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5650:51: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (re_match_2(wordbuf[i], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5652:32: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] re_match_2(wordbuf[i + 1], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5652:48: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] re_match_2(wordbuf[i + 1], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5683:33: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (re_match_2(wordbuf[i], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5683:49: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (re_match_2(wordbuf[i], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5685:30: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] re_match_2(wordbuf[i + 1], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5685:46: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] re_match_2(wordbuf[i + 1], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5711:34: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || re_match_2(wordbuf[0], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5711:50: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || re_match_2(wordbuf[0], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5716:33: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (re_match_2(wordbuf[i], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5716:49: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (re_match_2(wordbuf[i], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5718:30: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] re_match_2(wordbuf[i + 1], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5718:46: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] re_match_2(wordbuf[i + 1], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5745:34: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || re_match_2(wordbuf[1], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5745:50: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || re_match_2(wordbuf[1], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5750:33: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (re_match_2(wordbuf[i], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5750:49: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (re_match_2(wordbuf[i], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5752:30: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] re_match_2(wordbuf[i + 1], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5752:46: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] re_match_2(wordbuf[i + 1], string1, size1, string2, size2, ^~~~~~~ ./regex19.c:5813:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:39: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^ ./regex19.c:5813:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:42: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^~~~~~ ./regex19.c:5813:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:36: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^~~~~~ ./regex19.c:5813:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:44: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^ ./regex19.c:5825:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:39: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^ ./regex19.c:5825:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:42: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^~~~~~ ./regex19.c:5825:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:36: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^~~~~~ ./regex19.c:5825:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:44: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^ ./regex19.c:5856:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:39: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^ ./regex19.c:5856:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:42: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^~~~~~ ./regex19.c:5856:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:36: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^~~~~~ ./regex19.c:5856:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:44: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^ ./regex19.c:5868:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:39: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^ ./regex19.c:5868:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:42: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^~~~~~ ./regex19.c:5868:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:36: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^~~~~~ ./regex19.c:5868:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:44: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^ ./regex19.c:5882:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:39: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^ ./regex19.c:5882:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:42: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^~~~~~ ./regex19.c:5882:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:36: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^~~~~~ ./regex19.c:5882:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:44: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^ ./regex19.c:5884:11: warning: implicit declaration of function 'check_category_at' is invalid in C99 [-Wimplicit-function-declaration] if (!check_category_at(buffer, len, ^ ./regex19.c:5898:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:39: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^ ./regex19.c:5898:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4011:42: note: expanded from macro 'FETCHn' CH = composite_string_to_char (d, dstart); \ ^~~~~~ ./regex19.c:5898:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:36: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^~~~~~ ./regex19.c:5898:6: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FETCHn (ch); ^~~~~~~~~~~ ./regex19.c:4033:44: note: expanded from macro 'FETCHn' CH = composite_string_to_char (dstart, d); \ ^ ./regex19.c:5939:11: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] POP_FAILURE_POINT (d, p, ^~~~~~~~~~~~~~~~~~~~~~~~ ./regex19.c:1197:9: note: expanded from macro 'POP_FAILURE_POINT' str = (const char *) string_temp; \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ./regex19.c:5939:11: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] POP_FAILURE_POINT (d, p, ^~~~~~~~~~~~~~~~~~~~~~~~ ./regex19.c:1221:24: note: expanded from macro 'POP_FAILURE_POINT' regend[this_reg] = (const char *) POP_FAILURE_ITEM (); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./regex19.c:5939:11: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] POP_FAILURE_POINT (d, p, ^~~~~~~~~~~~~~~~~~~~~~~~ ./regex19.c:1224:26: note: expanded from macro 'POP_FAILURE_POINT' regstart[this_reg] = (const char *) POP_FAILURE_ITEM (); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include undo.c In file included from undo.c:22: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from undo.c:22: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ undo.c:71:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (XCONS (elt)->cdr) == XINT (beg)) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ undo.c:71:7: note: place parentheses around the '-' expression to silence this warning && XINT (XCONS (elt)->cdr) == XINT (beg)) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ undo.c:71:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (XCONS (elt)->cdr) == XINT (beg)) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ undo.c:71:7: note: place parentheses around the '-' expression to silence this warning && XINT (XCONS (elt)->cdr) == XINT (beg)) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ undo.c:71:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (XCONS (elt)->cdr) == XINT (beg)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ undo.c:71:34: note: place parentheses around the '-' expression to silence this warning && XINT (XCONS (elt)->cdr) == XINT (beg)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ undo.c:71:34: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (XCONS (elt)->cdr) == XINT (beg)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ undo.c:71:34: note: place parentheses around the '-' expression to silence this warning && XINT (XCONS (elt)->cdr) == XINT (beg)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ undo.c:73:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (XCONS (elt)->cdr, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ undo.c:73:31: note: place parentheses around the '-' expression to silence this warning XSETINT (XCONS (elt)->cdr, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ undo.c:73:31: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (XCONS (elt)->cdr, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ undo.c:73:31: note: place parentheses around the '-' expression to silence this warning XSETINT (XCONS (elt)->cdr, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ undo.c:73:44: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (XCONS (elt)->cdr, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ undo.c:73:44: note: place parentheses around the '-' expression to silence this warning XSETINT (XCONS (elt)->cdr, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ undo.c:73:44: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (XCONS (elt)->cdr, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ undo.c:73:44: note: place parentheses around the '-' expression to silence this warning XSETINT (XCONS (elt)->cdr, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ undo.c:79:25: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (lend, Lisp_Int, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ undo.c:79:25: note: place parentheses around the '-' expression to silence this warning XSET (lend, Lisp_Int, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ undo.c:79:25: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (lend, Lisp_Int, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ undo.c:79:25: note: place parentheses around the '-' expression to silence this warning XSET (lend, Lisp_Int, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ undo.c:79:38: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (lend, Lisp_Int, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ undo.c:79:38: note: place parentheses around the '-' expression to silence this warning XSET (lend, Lisp_Int, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ undo.c:79:38: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (lend, Lisp_Int, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ undo.c:79:38: note: place parentheses around the '-' expression to silence this warning XSET (lend, Lisp_Int, XINT (beg) + XINT (length)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ undo.c:133:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] record_change (beg, length) ^ undo.c:138:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ undo.c:350:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] arg = XINT (n); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ undo.c:350:9: note: place parentheses around the '-' expression to silence this warning arg = XINT (n); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ undo.c:350:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] arg = XINT (n); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ undo.c:350:9: note: place parentheses around the '-' expression to silence this warning arg = XINT (n); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ undo.c:356:5: warning: implicit declaration of function 'specbind' is invalid in C99 [-Wimplicit-function-declaration] specbind (Qinhibit_read_only, Qt); ^ undo.c:369:6: warning: implicit declaration of function 'set_point' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (clip_to_bounds (BEGV, XINT (next), ZV)); ^ ./buffer.h:46:27: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^ undo.c:369:14: warning: implicit declaration of function 'clip_to_bounds' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (clip_to_bounds (BEGV, XINT (next), ZV)); ^ undo.c:369:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SET_PT (clip_to_bounds (BEGV, XINT (next), ZV)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./buffer.h:46:39: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^~~~~~~~ undo.c:369:36: note: place parentheses around the '-' expression to silence this warning SET_PT (clip_to_bounds (BEGV, XINT (next), ZV)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./buffer.h:46:39: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^~~~~~~~ undo.c:369:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SET_PT (clip_to_bounds (BEGV, XINT (next), ZV)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./buffer.h:46:39: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^~~~~~~~ undo.c:369:36: note: place parentheses around the '-' expression to silence this warning SET_PT (clip_to_bounds (BEGV, XINT (next), ZV)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./buffer.h:46:39: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^~~~~~~~ undo.c:391:5: warning: implicit declaration of function 'Funlock_buffer' is invalid in C99 [-Wimplicit-function-declaration] Funlock_buffer (); ^ undo.c:393:5: warning: implicit declaration of function 'Fset_buffer_modified_p' is invalid in C99 [-Wimplicit-function-declaration] Fset_buffer_modified_p (Qnil); ^ undo.c:408:5: warning: implicit declaration of function 'Fput_text_property' is invalid in C99 [-Wimplicit-function-declaration] Fput_text_property (beg, end, prop, val, Qnil); ^ undo.c:416:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (car) < BEGV ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ undo.c:416:9: note: place parentheses around the '-' expression to silence this warning if (XINT (car) < BEGV ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ undo.c:416:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (car) < BEGV ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ undo.c:416:9: note: place parentheses around the '-' expression to silence this warning if (XINT (car) < BEGV ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ undo.c:417:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || XINT (cdr) > ZV) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ undo.c:417:12: note: place parentheses around the '-' expression to silence this warning || XINT (cdr) > ZV) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ undo.c:417:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] || XINT (cdr) > ZV) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ undo.c:417:12: note: place parentheses around the '-' expression to silence this warning || XINT (cdr) > ZV) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ undo.c:422:5: warning: implicit declaration of function 'Fdelete_region' is invalid in C99 [-Wimplicit-function-declaration] Fdelete_region (car, cdr); ^ undo.c:428:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int pos = XINT (cdr); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ undo.c:428:15: note: place parentheses around the '-' expression to silence this warning int pos = XINT (cdr); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ undo.c:428:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int pos = XINT (cdr); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ undo.c:428:15: note: place parentheses around the '-' expression to silence this warning int pos = XINT (cdr); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ undo.c:451:9: warning: implicit declaration of function 'Finsert_before_markers' is invalid in C99 [-Wimplicit-function-declaration] Finsert_before_markers (1, &membuf); ^ undo.c:464:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_undo () ^ undo.c:474:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 40 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include alloc.c In file included from alloc.c:35: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from alloc.c:35: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ alloc.c:143:3: warning: implicit declaration of function 'write_string' is invalid in C99 [-Wimplicit-function-declaration] write_string ("\nKilling some buffers may delay running out of memory.\n", -1); ^ alloc.c:150:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] malloc_warning (str) ^ alloc.c:154:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ alloc.c:156:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] display_malloc_warning () ^ alloc.c:162:3: warning: implicit declaration of function 'internal_with_output_to_temp_buffer' is invalid in C99 [-Wimplicit-function-declaration] internal_with_output_to_temp_buffer (" *Danger*", malloc_warning_1, val); ^ alloc.c:163:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ alloc.c:166:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] memory_full () ^ alloc.c:184:3: warning: implicit declaration of function 'reinvoke_input_signal' is invalid in C99 [-Wimplicit-function-declaration] UNBLOCK_INPUT; ^ ./blockinput.h:73:8: note: expanded from macro 'UNBLOCK_INPUT' ? (reinvoke_input_signal (), 0) \ ^ alloc.c:317:3: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero (interval_block->intervals, sizeof interval_block->intervals); ^ alloc.c:317:3: note: include the header or explicitly provide a declaration for 'bzero' alloc.c:341:27: warning: incompatible pointer types passing 'struct interval_block *' to parameter of type 'long *' [-Wincompatible-pointer-types] VALIDATE_LISP_STORAGE (newi, sizeof *newi); ^~~~ alloc.c:61:9: note: expanded from macro 'VALIDATE_LISP_STORAGE' xfree (address); \ ^~~~~~~ alloc.c:449:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] free_float (ptr) ^ alloc.c:454:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ alloc.c:472:27: warning: incompatible pointer types passing 'struct float_block *' to parameter of type 'long *' [-Wincompatible-pointer-types] VALIDATE_LISP_STORAGE (new, sizeof *new); ^~~ alloc.c:61:9: note: expanded from macro 'VALIDATE_LISP_STORAGE' xfree (address); \ ^~~~~~~ alloc.c:522:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] free_cons (ptr) ^ alloc.c:527:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ alloc.c:546:27: warning: incompatible pointer types passing 'struct cons_block *' to parameter of type 'long *' [-Wincompatible-pointer-types] VALIDATE_LISP_STORAGE (new, sizeof *new); ^~~ alloc.c:61:9: note: expanded from macro 'VALIDATE_LISP_STORAGE' xfree (address); \ ^~~~~~~ alloc.c:587:37: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (length) != Lisp_Int || XINT (length) < 0) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:587:37: note: place parentheses around the '-' expression to silence this warning if (XTYPE (length) != Lisp_Int || XINT (length) < 0) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:587:37: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (length) != Lisp_Int || XINT (length) < 0) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:587:37: note: place parentheses around the '-' expression to silence this warning if (XTYPE (length) != Lisp_Int || XINT (length) < 0) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:589:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] size = XINT (length); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:589:10: note: place parentheses around the '-' expression to silence this warning size = XINT (length); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:589:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] size = XINT (length); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:589:10: note: place parentheses around the '-' expression to silence this warning size = XINT (length); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:612:37: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (length) != Lisp_Int || XINT (length) < 0) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:612:37: note: place parentheses around the '-' expression to silence this warning if (XTYPE (length) != Lisp_Int || XINT (length) < 0) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:612:37: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (length) != Lisp_Int || XINT (length) < 0) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:612:37: note: place parentheses around the '-' expression to silence this warning if (XTYPE (length) != Lisp_Int || XINT (length) < 0) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:614:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] sizei = XINT (length); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:614:11: note: place parentheses around the '-' expression to silence this warning sizei = XINT (length); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:614:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] sizei = XINT (length); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:614:11: note: place parentheses around the '-' expression to silence this warning sizei = XINT (length); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:617:26: warning: incompatible pointer types passing 'struct Lisp_Vector *' to parameter of type 'long *' [-Wincompatible-pointer-types] VALIDATE_LISP_STORAGE (p, 0); ^ alloc.c:61:9: note: expanded from macro 'VALIDATE_LISP_STORAGE' xfree (address); \ ^~~~~~~ alloc.c:734:27: warning: incompatible pointer types passing 'struct symbol_block *' to parameter of type 'long *' [-Wincompatible-pointer-types] VALIDATE_LISP_STORAGE (new, sizeof *new); ^~~ alloc.c:61:9: note: expanded from macro 'VALIDATE_LISP_STORAGE' xfree (address); \ ^~~~~~~ alloc.c:796:27: warning: incompatible pointer types passing 'struct marker_block *' to parameter of type 'long *' [-Wincompatible-pointer-types] VALIDATE_LISP_STORAGE (new, sizeof *new); ^~~ alloc.c:61:9: note: expanded from macro 'VALIDATE_LISP_STORAGE' xfree (address); \ ^~~~~~~ alloc.c:894:37: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (length) != Lisp_Int || XINT (length) < 0) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:894:37: note: place parentheses around the '-' expression to silence this warning if (XTYPE (length) != Lisp_Int || XINT (length) < 0) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:894:37: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (length) != Lisp_Int || XINT (length) < 0) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:894:37: note: place parentheses around the '-' expression to silence this warning if (XTYPE (length) != Lisp_Int || XINT (length) < 0) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:897:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val = make_uninit_string (XINT (length)); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:897:29: note: place parentheses around the '-' expression to silence this warning val = make_uninit_string (XINT (length)); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:897:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val = make_uninit_string (XINT (length)); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:897:29: note: place parentheses around the '-' expression to silence this warning val = make_uninit_string (XINT (length)); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:898:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] c = XINT (init); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:898:7: note: place parentheses around the '-' expression to silence this warning c = XINT (init); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:898:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] c = XINT (init); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:898:7: note: place parentheses around the '-' expression to silence this warning c = XINT (init); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:914:3: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (contents, XSTRING (val)->data, length); ^ alloc.c:922:28: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] return make_string (str, strlen (str)); ^ alloc.c:922:28: note: include the header or explicitly provide a declaration for 'strlen' alloc.c:946:30: warning: incompatible pointer types passing 'struct string_block *' to parameter of type 'long *' [-Wincompatible-pointer-types] VALIDATE_LISP_STORAGE (new, 0); ^~~ alloc.c:61:9: note: expanded from macro 'VALIDATE_LISP_STORAGE' xfree (address); \ ^~~~~~~ alloc.c:959:30: warning: incompatible pointer types passing 'struct string_block *' to parameter of type 'long *' [-Wincompatible-pointer-types] VALIDATE_LISP_STORAGE (new, sizeof *new); ^~~ alloc.c:61:9: note: expanded from macro 'VALIDATE_LISP_STORAGE' xfree (address); \ ^~~~~~~ alloc.c:1011:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSTRING (result)->data[i] = XINT (args[i]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:1011:30: note: place parentheses around the '-' expression to silence this warning XSTRING (result)->data[i] = XINT (args[i]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:1011:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSTRING (result)->data[i] = XINT (args[i]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:1011:30: note: place parentheses around the '-' expression to silence this warning XSTRING (result)->data[i] = XINT (args[i]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:1013:6: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (args[i]) & CHAR_META) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:1013:6: note: place parentheses around the '-' expression to silence this warning if (XINT (args[i]) & CHAR_META) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:1013:6: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (args[i]) & CHAR_META) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ alloc.c:1013:6: note: place parentheses around the '-' expression to silence this warning if (XINT (args[i]) & CHAR_META) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ alloc.c:1159:32: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_pure_string (XSTRING (obj)->data, XSTRING (obj)->size); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ alloc.c:1203:21: warning: '/*' within block comment [-Wcomment] /* jmp_buf jmp; /* We don't need this for GC purposes */ ^ alloc.c:1256:38: warning: incompatible pointer types passing 'char *' to parameter of type 'long *' [-Wincompatible-pointer-types] stack_copy = (char *) xrealloc (stack_copy, (stack_copy_size = i)); ^~~~~~~~~~ alloc.c:1269:5: warning: implicit declaration of function 'message1' is invalid in C99 [-Wimplicit-function-declaration] message1 ("Garbage collecting..."); ^ alloc.c:1384:5: warning: implicit declaration of function 'message2' is invalid in C99 [-Wimplicit-function-declaration] message2 (omessage, omessage_length); ^ alloc.c:1620:15: warning: incompatible pointer types passing 'struct Lisp_String **' to parameter of type 'long *' [-Wincompatible-pointer-types] mark_object (&ptr->name); ^~~~~~~~~~ alloc.c:1921:11: warning: incompatible pointer types passing 'struct buffer *' to parameter of type 'long *' [-Wincompatible-pointer-types] xfree (buffer); ^~~~~~ alloc.c:1962:11: warning: incompatible pointer types passing 'struct Lisp_Vector *' to parameter of type 'long *' [-Wincompatible-pointer-types] xfree (vector); ^~~~~~ alloc.c:1996:13: warning: incompatible pointer types passing 'struct string_block *' to parameter of type 'long *' [-Wincompatible-pointer-types] xfree (sb); ^~ alloc.c:2117:14: warning: incompatible pointer types passing 'struct string_block *' to parameter of type 'long *' [-Wincompatible-pointer-types] xfree (from_sb); ^~~~~~~ alloc.c:2126:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (to_sb = from_sb->next) ~~~~~~^~~~~~~~~~~~~~~ alloc.c:2126:16: note: place parentheses around the assignment to silence this warning while (to_sb = from_sb->next) ^ ( ) alloc.c:2126:16: note: use '==' to turn this assignment into an equality comparison while (to_sb = from_sb->next) ^ == alloc.c:2130:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (from_sb->next = to_sb->next) ~~~~~~~~~~~~~~^~~~~~~~~~~~~ alloc.c:2130:22: note: place parentheses around the assignment to silence this warning if (from_sb->next = to_sb->next) ^ ( ) alloc.c:2130:22: note: use '==' to turn this assignment into an equality comparison if (from_sb->next = to_sb->next) ^ == alloc.c:2132:11: warning: incompatible pointer types passing 'struct string_block *' to parameter of type 'long *' [-Wincompatible-pointer-types] xfree (to_sb); ^~~~~ alloc.c:2149:42: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] XSET (end, Lisp_Int, (Lisp_Object_Int) sbrk (0) / 1024); ^ alloc.c:2157:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_alloc_once () ^ alloc.c:2184:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ alloc.c:2186:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_alloc () ^ alloc.c:2189:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 65 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include data.c In file included from data.c:25: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from data.c:25: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ data.c:114:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pure_write_error () ^ data.c:117:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ data.c:156:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return num | ((-LISP_OBJECT_1) << VALBITS); ~~~~~~~~~~~~~~~~ ^ data.c:336:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (obj) == Lisp_Int && XINT (obj) >= 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:336:34: note: place parentheses around the '-' expression to silence this warning if (XTYPE (obj) == Lisp_Int && XINT (obj) >= 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:336:34: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (obj) == Lisp_Int && XINT (obj) >= 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:336:34: note: place parentheses around the '-' expression to silence this warning if (XTYPE (obj) == Lisp_Int && XINT (obj) >= 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:475:11: warning: 22 enumeration values not handled in switch: 'Lisp_Int', 'Lisp_Symbol', 'Lisp_Marker'... [-Wswitch] switch (XTYPE (valcontents)) ^ ./lisp.h:344:18: note: expanded from macro 'XTYPE' #define XTYPE(a) ((enum Lisp_Type) ((a) >> VALBITS)) ^ data.c:640:11: warning: 20 enumeration values not handled in switch: 'Lisp_Int', 'Lisp_Symbol', 'Lisp_Marker'... [-Wswitch] switch (XTYPE (valcontents)) ^ ./lisp.h:344:18: note: expanded from macro 'XTYPE' #define XTYPE(a) ((enum Lisp_Type) ((a) >> VALBITS)) ^ data.c:679:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] *XINTPTR (valcontents) = XINT (newval); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:679:32: note: place parentheses around the '-' expression to silence this warning *XINTPTR (valcontents) = XINT (newval); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:679:32: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] *XINTPTR (valcontents) = XINT (newval); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:679:32: note: place parentheses around the '-' expression to silence this warning *XINTPTR (valcontents) = XINT (newval); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:697:27: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XTYPE (newval) != XINT (type)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:697:27: note: place parentheses around the '-' expression to silence this warning && XTYPE (newval) != XINT (type)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:697:27: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XTYPE (newval) != XINT (type)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:697:27: note: place parentheses around the '-' expression to silence this warning && XTYPE (newval) != XINT (type)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:698:4: warning: implicit declaration of function 'buffer_slot_type_mismatch' is invalid in C99 [-Wimplicit-function-declaration] buffer_slot_type_mismatch (valcontents, newval); ^ data.c:776:11: warning: 17 enumeration values not handled in switch: 'Lisp_Int', 'Lisp_Symbol', 'Lisp_Marker'... [-Wswitch] switch (XTYPE (valcontents)) ^ ./lisp.h:344:18: note: expanded from macro 'XTYPE' #define XTYPE(a) ((enum Lisp_Type) ((a) >> VALBITS)) ^ data.c:1330:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1330:12: note: place parentheses around the '-' expression to silence this warning idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1330:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1330:12: note: place parentheses around the '-' expression to silence this warning idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1356:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1356:12: note: place parentheses around the '-' expression to silence this warning idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1356:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1356:12: note: place parentheses around the '-' expression to silence this warning idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1368:39: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSTRING (array)->data[idxval] = XINT (newelt); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1368:39: note: place parentheses around the '-' expression to silence this warning XSTRING (array)->data[idxval] = XINT (newelt); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1368:39: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSTRING (array)->data[idxval] = XINT (newelt); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1368:39: note: place parentheses around the '-' expression to silence this warning XSTRING (array)->data[idxval] = XINT (newelt); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1399:3: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] CHECK_NUMBER_OR_FLOAT_COERCE_MARKER (num1, 0); ^ ./lisp.h:900:53: note: expanded from macro 'CHECK_NUMBER_OR_FLOAT_COERCE_MARKER' do { if (XTYPE (x) == Lisp_Marker) XFASTINT (x) = marker_position (x); \ ^ data.c:1405:65: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f1 = (XTYPE (num1) == Lisp_Float) ? XFLOAT (num1)->data : XINT (num1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1405:65: note: place parentheses around the '-' expression to silence this warning f1 = (XTYPE (num1) == Lisp_Float) ? XFLOAT (num1)->data : XINT (num1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1405:65: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f1 = (XTYPE (num1) == Lisp_Float) ? XFLOAT (num1)->data : XINT (num1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1405:65: note: place parentheses around the '-' expression to silence this warning f1 = (XTYPE (num1) == Lisp_Float) ? XFLOAT (num1)->data : XINT (num1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1406:65: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f2 = (XTYPE (num2) == Lisp_Float) ? XFLOAT (num2)->data : XINT (num2); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1406:65: note: place parentheses around the '-' expression to silence this warning f2 = (XTYPE (num2) == Lisp_Float) ? XFLOAT (num2)->data : XINT (num2); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1406:65: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f2 = (XTYPE (num2) == Lisp_Float) ? XFLOAT (num2)->data : XINT (num2); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1406:65: note: place parentheses around the '-' expression to silence this warning f2 = (XTYPE (num2) == Lisp_Float) ? XFLOAT (num2)->data : XINT (num2); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1416:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 == f2 : XINT (num1) == XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1416:31: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 == f2 : XINT (num1) == XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1416:31: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 == f2 : XINT (num1) == XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1416:31: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 == f2 : XINT (num1) == XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1416:46: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 == f2 : XINT (num1) == XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1416:46: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 == f2 : XINT (num1) == XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1416:46: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 == f2 : XINT (num1) == XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1416:46: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 == f2 : XINT (num1) == XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1421:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 != f2 : XINT (num1) != XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1421:31: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 != f2 : XINT (num1) != XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1421:31: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 != f2 : XINT (num1) != XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1421:31: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 != f2 : XINT (num1) != XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1421:46: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 != f2 : XINT (num1) != XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1421:46: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 != f2 : XINT (num1) != XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1421:46: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 != f2 : XINT (num1) != XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1421:46: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 != f2 : XINT (num1) != XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1426:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 < f2 : XINT (num1) < XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1426:30: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 < f2 : XINT (num1) < XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1426:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 < f2 : XINT (num1) < XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1426:30: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 < f2 : XINT (num1) < XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1426:44: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 < f2 : XINT (num1) < XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1426:44: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 < f2 : XINT (num1) < XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1426:44: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 < f2 : XINT (num1) < XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1426:44: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 < f2 : XINT (num1) < XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1431:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 <= f2 : XINT (num1) <= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1431:31: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 <= f2 : XINT (num1) <= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1431:31: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 <= f2 : XINT (num1) <= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1431:31: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 <= f2 : XINT (num1) <= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1431:46: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 <= f2 : XINT (num1) <= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1431:46: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 <= f2 : XINT (num1) <= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1431:46: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 <= f2 : XINT (num1) <= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1431:46: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 <= f2 : XINT (num1) <= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1436:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 > f2 : XINT (num1) > XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1436:30: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 > f2 : XINT (num1) > XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1436:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 > f2 : XINT (num1) > XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1436:30: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 > f2 : XINT (num1) > XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1436:44: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 > f2 : XINT (num1) > XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1436:44: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 > f2 : XINT (num1) > XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1436:44: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 > f2 : XINT (num1) > XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1436:44: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 > f2 : XINT (num1) > XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1441:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 >= f2 : XINT (num1) >= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1441:31: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 >= f2 : XINT (num1) >= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1441:31: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 >= f2 : XINT (num1) >= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1441:31: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 >= f2 : XINT (num1) >= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1441:46: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 >= f2 : XINT (num1) >= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1441:46: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 >= f2 : XINT (num1) >= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1441:46: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (floatp ? f1 >= f2 : XINT (num1) >= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1441:46: note: place parentheses around the '-' expression to silence this warning if (floatp ? f1 >= f2 : XINT (num1) >= XINT (num2)) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1517:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!XINT (num)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1517:8: note: place parentheses around the '-' expression to silence this warning if (!XINT (num)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1517:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!XINT (num)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1517:8: note: place parentheses around the '-' expression to silence this warning if (!XINT (num)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1543:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return XINT (c); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1543:12: note: place parentheses around the '-' expression to silence this warning return XINT (c); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1543:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return XINT (c); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1543:12: note: place parentheses around the '-' expression to silence this warning return XINT (c); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1548:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return ((XINT (top) << 16) | XINT (bot)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1548:12: note: place parentheses around the '-' expression to silence this warning return ((XINT (top) << 16) | XINT (bot)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1548:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return ((XINT (top) << 16) | XINT (bot)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1548:12: note: place parentheses around the '-' expression to silence this warning return ((XINT (top) << 16) | XINT (bot)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1548:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return ((XINT (top) << 16) | XINT (bot)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1548:32: note: place parentheses around the '-' expression to silence this warning return ((XINT (top) << 16) | XINT (bot)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1548:32: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return ((XINT (top) << 16) | XINT (bot)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1548:32: note: place parentheses around the '-' expression to silence this warning return ((XINT (top) << 16) | XINT (bot)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1569:7: warning: implicit declaration of function 'float_to_string' is invalid in C99 [-Wimplicit-function-declaration] float_to_string (pigbuf, XFLOAT(num)->data); ^ data.c:1574:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] sprintf (buffer, "%d", XINT (num)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1574:26: note: place parentheses around the '-' expression to silence this warning sprintf (buffer, "%d", XINT (num)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1574:26: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] sprintf (buffer, "%d", XINT (num)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1574:26: note: place parentheses around the '-' expression to silence this warning sprintf (buffer, "%d", XINT (num)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1574:26: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf (buffer, "%d", XINT (num)); ~~ ^~~~~~~~~~ %ld ./lisp.h:359:17: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data.c:1597:7: warning: implicit declaration of function 'isfloat_string' is invalid in C99 [-Wimplicit-function-declaration] if (isfloat_string (p)) ^ data.c:1598:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_float (atof (p)); ^ data.c:1601:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return make_number (atoi (p)); ^ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ data.c:1623:11: warning: enumeration values 'Adiv', 'Amax', and 'Amin' not handled in switch [-Wswitch] switch (code) ^ data.c:1650:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] next = XINT (args[argnum]); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1650:14: note: place parentheses around the '-' expression to silence this warning next = XINT (args[argnum]); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1650:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] next = XINT (args[argnum]); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1650:14: note: place parentheses around the '-' expression to silence this warning next = XINT (args[argnum]); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1713:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] next = XINT (args[argnum]); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1713:11: note: place parentheses around the '-' expression to silence this warning next = XINT (args[argnum]); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1713:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] next = XINT (args[argnum]); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1713:11: note: place parentheses around the '-' expression to silence this warning next = XINT (args[argnum]); ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1814:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (val, Lisp_Int, XINT (num1) % XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1814:24: note: place parentheses around the '-' expression to silence this warning XSET (val, Lisp_Int, XINT (num1) % XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1814:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (val, Lisp_Int, XINT (num1) % XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1814:24: note: place parentheses around the '-' expression to silence this warning XSET (val, Lisp_Int, XINT (num1) % XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1814:38: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (val, Lisp_Int, XINT (num1) % XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1814:38: note: place parentheses around the '-' expression to silence this warning XSET (val, Lisp_Int, XINT (num1) % XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1814:38: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (val, Lisp_Int, XINT (num1) % XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1814:38: note: place parentheses around the '-' expression to silence this warning XSET (val, Lisp_Int, XINT (num1) % XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1849:63: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f1 = XTYPE (num1) == Lisp_Float ? XFLOAT (num1)->data : XINT (num1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1849:63: note: place parentheses around the '-' expression to silence this warning f1 = XTYPE (num1) == Lisp_Float ? XFLOAT (num1)->data : XINT (num1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1849:63: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f1 = XTYPE (num1) == Lisp_Float ? XFLOAT (num1)->data : XINT (num1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1849:63: note: place parentheses around the '-' expression to silence this warning f1 = XTYPE (num1) == Lisp_Float ? XFLOAT (num1)->data : XINT (num1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1850:63: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f2 = XTYPE (num2) == Lisp_Float ? XFLOAT (num2)->data : XINT (num2); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1850:63: note: place parentheses around the '-' expression to silence this warning f2 = XTYPE (num2) == Lisp_Float ? XFLOAT (num2)->data : XINT (num2); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1850:63: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f2 = XTYPE (num2) == Lisp_Float ? XFLOAT (num2)->data : XINT (num2); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1850:63: note: place parentheses around the '-' expression to silence this warning f2 = XTYPE (num2) == Lisp_Float ? XFLOAT (num2)->data : XINT (num2); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1865:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] i1 = XINT (num1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1865:8: note: place parentheses around the '-' expression to silence this warning i1 = XINT (num1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1865:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] i1 = XINT (num1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1865:8: note: place parentheses around the '-' expression to silence this warning i1 = XINT (num1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1866:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] i2 = XINT (num2); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1866:8: note: place parentheses around the '-' expression to silence this warning i2 = XINT (num2); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1866:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] i2 = XINT (num2); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1866:8: note: place parentheses around the '-' expression to silence this warning i2 = XINT (num2); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1943:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (num2) > 0) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1943:7: note: place parentheses around the '-' expression to silence this warning if (XINT (num2) > 0) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1943:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (num2) > 0) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1943:7: note: place parentheses around the '-' expression to silence this warning if (XINT (num2) > 0) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1944:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (val, Lisp_Int, XINT (num1) << XFASTINT (num2)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1944:26: note: place parentheses around the '-' expression to silence this warning XSET (val, Lisp_Int, XINT (num1) << XFASTINT (num2)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1944:26: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (val, Lisp_Int, XINT (num1) << XFASTINT (num2)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1944:26: note: place parentheses around the '-' expression to silence this warning XSET (val, Lisp_Int, XINT (num1) << XFASTINT (num2)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1946:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (val, Lisp_Int, XINT (num1) >> -XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1946:26: note: place parentheses around the '-' expression to silence this warning XSET (val, Lisp_Int, XINT (num1) >> -XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1946:26: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (val, Lisp_Int, XINT (num1) >> -XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1946:26: note: place parentheses around the '-' expression to silence this warning XSET (val, Lisp_Int, XINT (num1) >> -XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1946:42: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (val, Lisp_Int, XINT (num1) >> -XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1946:42: note: place parentheses around the '-' expression to silence this warning XSET (val, Lisp_Int, XINT (num1) >> -XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1946:42: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (val, Lisp_Int, XINT (num1) >> -XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1946:42: note: place parentheses around the '-' expression to silence this warning XSET (val, Lisp_Int, XINT (num1) >> -XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1962:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (num2) > 0) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1962:7: note: place parentheses around the '-' expression to silence this warning if (XINT (num2) > 0) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1962:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (num2) > 0) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ data.c:1962:7: note: place parentheses around the '-' expression to silence this warning if (XINT (num2) > 0) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ data.c:1965:57: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (val, Lisp_Int, (unsigned) XFASTINT (num1) >> -XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1965:57: note: place parentheses around the '-' expression to silence this warning XSET (val, Lisp_Int, (unsigned) XFASTINT (num1) >> -XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1965:57: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSET (val, Lisp_Int, (unsigned) XFASTINT (num1) >> -XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ data.c:1965:57: note: place parentheses around the '-' expression to silence this warning XSET (val, Lisp_Int, (unsigned) XFASTINT (num1) >> -XINT (num2)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:406:72: note: expanded from macro 'XSET' ((var) = ((Lisp_Object_Int)(type) << VALBITS) + ((Lisp_Object_Int) (ptr) & VALMASK)) ^~~ 98 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include doc.c In file included from doc.c:21: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from doc.c:21: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ doc.c:64:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy (name, XSTRING (Vdoc_directory)->data); ^ doc.c:64:3: note: include the header or explicitly provide a declaration for 'strcpy' doc.c:64:17: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (name, XSTRING (Vdoc_directory)->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ doc.c:65:3: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat (name, XSTRING (Vdoc_file_name)->data); ^ doc.c:65:3: note: include the header or explicitly provide a declaration for 'strcat' doc.c:65:17: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (name, XSTRING (Vdoc_file_name)->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ doc.c:141:43: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XTYPE (tem) == Lisp_Int && XINT (tem) >= 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ doc.c:141:43: note: place parentheses around the '-' expression to silence this warning else if (XTYPE (tem) == Lisp_Int && XINT (tem) >= 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ doc.c:141:43: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XTYPE (tem) == Lisp_Int && XINT (tem) >= 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ doc.c:141:43: note: place parentheses around the '-' expression to silence this warning else if (XTYPE (tem) == Lisp_Int && XINT (tem) >= 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ doc.c:164:40: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XTYPE (tem) == Lisp_Int && XINT (tem) >= 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ doc.c:164:40: note: place parentheses around the '-' expression to silence this warning else if (XTYPE (tem) == Lisp_Int && XINT (tem) >= 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ doc.c:164:40: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XTYPE (tem) == Lisp_Int && XINT (tem) >= 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ doc.c:164:40: note: place parentheses around the '-' expression to silence this warning else if (XTYPE (tem) == Lisp_Int && XINT (tem) >= 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ doc.c:206:27: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tem = get_doc_string (XINT (tem) > 0 ? XINT (tem) : - XINT (tem)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ doc.c:206:27: note: place parentheses around the '-' expression to silence this warning tem = get_doc_string (XINT (tem) > 0 ? XINT (tem) : - XINT (tem)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ doc.c:206:27: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tem = get_doc_string (XINT (tem) > 0 ? XINT (tem) : - XINT (tem)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ doc.c:206:27: note: place parentheses around the '-' expression to silence this warning tem = get_doc_string (XINT (tem) > 0 ? XINT (tem) : - XINT (tem)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ doc.c:206:44: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tem = get_doc_string (XINT (tem) > 0 ? XINT (tem) : - XINT (tem)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ doc.c:206:44: note: place parentheses around the '-' expression to silence this warning tem = get_doc_string (XINT (tem) > 0 ? XINT (tem) : - XINT (tem)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ doc.c:206:44: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tem = get_doc_string (XINT (tem) > 0 ? XINT (tem) : - XINT (tem)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ doc.c:206:44: note: place parentheses around the '-' expression to silence this warning tem = get_doc_string (XINT (tem) > 0 ? XINT (tem) : - XINT (tem)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ doc.c:206:59: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tem = get_doc_string (XINT (tem) > 0 ? XINT (tem) : - XINT (tem)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ doc.c:206:59: note: place parentheses around the '-' expression to silence this warning tem = get_doc_string (XINT (tem) > 0 ? XINT (tem) : - XINT (tem)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ doc.c:206:59: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tem = get_doc_string (XINT (tem) > 0 ? XINT (tem) : - XINT (tem)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ doc.c:206:59: note: place parentheses around the '-' expression to silence this warning tem = get_doc_string (XINT (tem) > 0 ? XINT (tem) : - XINT (tem)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ doc.c:291:17: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (name, XSTRING (filename)->data); /*** Add this line ***/ ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ doc.c:311:5: warning: implicit declaration of function 'report_file_error' is invalid in C99 [-Wimplicit-function-declaration] report_file_error ("Opening doc string file", ^ doc.c:355:7: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (end, buf, filled); ^ doc.c:498:4: warning: implicit declaration of function 'set_buffer_internal' is invalid in C99 [-Wimplicit-function-declaration] set_buffer_internal (XBUFFER (Vprin1_to_string_buffer)); ^ doc.c:503:8: warning: implicit declaration of function 'insert_string' is invalid in C99 [-Wimplicit-function-declaration] insert_string ("\nUses keymap \""); ^ doc.c:504:8: warning: implicit declaration of function 'insert_from_string' is invalid in C99 [-Wimplicit-function-declaration] insert_from_string (name, 0, XSTRING (name)->size, 1); ^ doc.c:511:6: warning: implicit declaration of function 'describe_map_tree' is invalid in C99 [-Wimplicit-function-declaration] describe_map_tree (tem, 1, Qnil, Qnil, 0, 1); ^ doc.c:513:4: warning: implicit declaration of function 'Ferase_buffer' is invalid in C99 [-Wimplicit-function-declaration] Ferase_buffer (); ^ doc.c:540:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_doc () ^ doc.c:550:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 30 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include editfns.c In file included from editfns.c:51: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from editfns.c:51: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ editfns.c:95:36: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] pw = (struct passwd *) getpwuid (getuid ()); ^ editfns.c:105:40: warning: implicit declaration of function 'geteuid' is invalid in C99 [-Wimplicit-function-declaration] pw = (struct passwd *) getpwuid (geteuid ()); ^ editfns.c:114:38: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pw = (struct passwd *) getpwnam (XSTRING (Vuser_name)->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/pwd.h:123:37: note: passing argument to parameter here struct passwd *getpwnam(const char *) __RENAME(__getpwnam50); ^ editfns.c:117: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:118:49: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] Vuser_full_name = make_string (p, q ? q - p : strlen (p)); ^ editfns.c:118:49: note: include the header or explicitly provide a declaration for 'strlen' editfns.c:118:57: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Vuser_full_name = make_string (p, q ? q - p : strlen (p)); ^ editfns.c:122:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] q = (char *) index (p, '&'); ^ editfns.c:122:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] q = (char *) index (p, '&'); ^ ~~~~~~~~~~~~~~~~~~~~~~~ editfns.c:126:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] r = (char *) alloca (strlen (p) + XSTRING (Vuser_name)->size + 1); ^ editfns.c:126:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] r = (char *) alloca (strlen (p) + XSTRING (Vuser_name)->size + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ editfns.c:127:7: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (p, r, q - p); ^ editfns.c:129:7: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat (r, XSTRING (Vuser_name)->data); ^ editfns.c:129:7: note: include the header or explicitly provide a declaration for 'strcat' editfns.c:129:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (r, XSTRING (Vuser_name)->data); ^ editfns.c:129:18: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (r, XSTRING (Vuser_name)->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ editfns.c:131: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); ^ editfns.c:131: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); ^~~~~ editfns.c:146:7: warning: implicit declaration of function 'mchar_to_string' is invalid in C99 [-Wimplicit-function-declaration] i = CHARtoSTR (XFASTINT (n), str); ^ ./charset.h:221:34: note: expanded from macro 'CHARtoSTR' *(s) = (unsigned int)(c), 1 : mchar_to_string(c, s)) ^ editfns.c:167:21: warning: implicit declaration of function 'string_to_mchar' is invalid in C99 [-Wimplicit-function-declaration] XSETINT (val, STRtoCHAR (p->data, p->size)); ^ ./charset.h:225:11: note: expanded from macro 'STRtoCHAR' *(s) : string_to_mchar(s, len)) ^ editfns.c:187:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:187:12: note: place parentheses around the '-' expression to silence this warning idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:187:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:187:12: note: place parentheses around the '-' expression to silence this warning idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:220:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:220:12: note: place parentheses around the '-' expression to silence this warning idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:220:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:220:12: note: place parentheses around the '-' expression to silence this warning idxval = XINT (idx); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:244:3: warning: implicit declaration of function 'Fset_marker' is invalid in C99 [-Wimplicit-function-declaration] Fset_marker (mark, make_number (val), Qnil); ^ editfns.c:285:3: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] CHECK_NUMBER_COERCE_MARKER (n, 0); ^ ./lisp.h:880:55: note: expanded from macro 'CHECK_NUMBER_COERCE_MARKER' do { if (XTYPE ((x)) == Lisp_Marker) XFASTINT (x) = marker_position (x); \ ^ editfns.c:287:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] n = clip_to_bounds (BEGV, XINT (n), ZV); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:287:29: note: place parentheses around the '-' expression to silence this warning n = clip_to_bounds (BEGV, XINT (n), ZV); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:287:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] n = clip_to_bounds (BEGV, XINT (n), ZV); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:287:29: note: place parentheses around the '-' expression to silence this warning n = clip_to_bounds (BEGV, XINT (n), ZV); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:289:9: warning: implicit declaration of function 'validate_position' is invalid in C99 [-Wimplicit-function-declaration] n = validate_position (n, 0); ^ editfns.c:455:3: warning: implicit declaration of function 'record_unwind_protect' is invalid in C99 [-Wimplicit-function-declaration] record_unwind_protect (save_excursion_restore, save_excursion_save ()); ^ editfns.c:545:17: warning: while loop has empty body [-Wempty-body] DEC_POS (pos); ^ editfns.c:545:17: note: put the semicolon on a separate line to silence this warning editfns.c:605:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] n = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:605:7: note: place parentheses around the '-' expression to silence this warning n = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:605:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] n = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:605:7: note: place parentheses around the '-' expression to silence this warning n = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:629:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] n = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:629:7: note: place parentheses around the '-' expression to silence this warning n = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:629:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] n = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:629:7: note: place parentheses around the '-' expression to silence this warning n = XINT (pos); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:707:23: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] return make_number (getpid ()); ^ editfns.c:749:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] *result = (XINT (high) << 16) + (XINT (low) & 0xffff); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:749:18: note: place parentheses around the '-' expression to silence this warning *result = (XINT (high) << 16) + (XINT (low) & 0xffff); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:749:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] *result = (XINT (high) << 16) + (XINT (low) & 0xffff); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:749:18: note: place parentheses around the '-' expression to silence this warning *result = (XINT (high) << 16) + (XINT (low) & 0xffff); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:749:40: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] *result = (XINT (high) << 16) + (XINT (low) & 0xffff); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:749:40: note: place parentheses around the '-' expression to silence this warning *result = (XINT (high) << 16) + (XINT (low) & 0xffff); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:749:40: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] *result = (XINT (high) << 16) + (XINT (low) & 0xffff); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:749:40: note: place parentheses around the '-' expression to silence this warning *result = (XINT (high) << 16) + (XINT (low) & 0xffff); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:750:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return *result >> 16 == XINT (high); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:750:31: note: place parentheses around the '-' expression to silence this warning return *result >> 16 == XINT (high); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:750:31: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return *result >> 16 == XINT (high); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:750:31: note: place parentheses around the '-' expression to silence this warning return *result >> 16 == XINT (high); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:777:3: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy (buf, tem, 24); ^ editfns.c:777:3: note: include the header or explicitly provide a declaration for 'strncpy' editfns.c:898:3: warning: implicit declaration of function 'insert_with_specified_function' is invalid in C99 [-Wimplicit-function-declaration] insert_with_specified_function (insert, insert_from_string, 0, nargs, args); ^ editfns.c:902:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insert_with_specified_function (insert_function, insert_from_string_function, ^ editfns.c:920:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] str[0] = XINT (tem), i = 1; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:920:15: note: place parentheses around the '-' expression to silence this warning str[0] = XINT (tem), i = 1; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:920:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] str[0] = XINT (tem), i = 1; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:920:15: note: place parentheses around the '-' expression to silence this warning str[0] = XINT (tem), i = 1; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1038:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] n = XINT (count) * j; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1038:7: note: place parentheses around the '-' expression to silence this warning n = XINT (count) * j; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1038:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] n = XINT (count) * j; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1038:7: note: place parentheses around the '-' expression to silence this warning n = XINT (count) * j; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1081:5: warning: implicit declaration of function 'move_gap' is invalid in C99 [-Wimplicit-function-declaration] move_gap (start); ^ editfns.c:1090:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (tem) != end || !NILP (tem1)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1090:7: note: place parentheses around the '-' expression to silence this warning if (XINT (tem) != end || !NILP (tem1)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1090:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (tem) != end || !NILP (tem1)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1090:7: note: place parentheses around the '-' expression to silence this warning if (XINT (tem) != end || !NILP (tem1)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1108:3: warning: implicit declaration of function 'validate_region' is invalid in C99 [-Wimplicit-function-declaration] validate_region (&b, &e); ^ editfns.c:1109:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] beg = XINT (b); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1109:9: note: place parentheses around the '-' expression to silence this warning beg = XINT (b); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1109:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] beg = XINT (b); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1109:9: note: place parentheses around the '-' expression to silence this warning beg = XINT (b); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1110:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] end = XINT (e); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1110:9: note: place parentheses around the '-' expression to silence this warning end = XINT (e); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1110:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] end = XINT (e); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1110:9: note: place parentheses around the '-' expression to silence this warning end = XINT (e); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1137:5: warning: implicit declaration of function 'nsberror' is invalid in C99 [-Wimplicit-function-declaration] nsberror (buf); ^ editfns.c:1145:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] beg = XINT (b); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1145:13: note: place parentheses around the '-' expression to silence this warning beg = XINT (b); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1145:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] beg = XINT (b); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1145:13: note: place parentheses around the '-' expression to silence this warning beg = XINT (b); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1152:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] end = XINT (e); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1152:13: note: place parentheses around the '-' expression to silence this warning end = XINT (e); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1152:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] end = XINT (e); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1152:13: note: place parentheses around the '-' expression to silence this warning end = XINT (e); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1163:5: warning: implicit declaration of function 'make_gap' is invalid in C99 [-Wimplicit-function-declaration] make_gap (end - beg - GAP_SIZE); ^ editfns.c:1227:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] begp1 = XINT (start1); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1227:15: note: place parentheses around the '-' expression to silence this warning begp1 = XINT (start1); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1227:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] begp1 = XINT (start1); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1227:15: note: place parentheses around the '-' expression to silence this warning begp1 = XINT (start1); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1234:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] endp1 = XINT (end1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1234:15: note: place parentheses around the '-' expression to silence this warning endp1 = XINT (end1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1234:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] endp1 = XINT (end1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1234:15: note: place parentheses around the '-' expression to silence this warning endp1 = XINT (end1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1263:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] begp2 = XINT (start2); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1263:15: note: place parentheses around the '-' expression to silence this warning begp2 = XINT (start2); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1263:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] begp2 = XINT (start2); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1263:15: note: place parentheses around the '-' expression to silence this warning begp2 = XINT (start2); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1270:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] endp2 = XINT (end2); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1270:15: note: place parentheses around the '-' expression to silence this warning endp2 = XINT (end2); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1270:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] endp2 = XINT (end2); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1270:15: note: place parentheses around the '-' expression to silence this warning endp2 = XINT (end2); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1331:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1331:9: note: place parentheses around the '-' expression to silence this warning pos = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1331:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1331:9: note: place parentheses around the '-' expression to silence this warning pos = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1332:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] stop = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1332:10: note: place parentheses around the '-' expression to silence this warning stop = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1332:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] stop = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1332:10: note: place parentheses around the '-' expression to silence this warning stop = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1377:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (pos >= XINT (end)) break; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1377:15: note: place parentheses around the '-' expression to silence this warning if (pos >= XINT (end)) break; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1377:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (pos >= XINT (end)) break; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1377:15: note: place parentheses around the '-' expression to silence this warning if (pos >= XINT (end)) break; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1378:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] stop = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1378:11: note: place parentheses around the '-' expression to silence this warning stop = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1378:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] stop = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1378:11: note: place parentheses around the '-' expression to silence this warning stop = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1391:8: warning: implicit declaration of function 'modify_region' is invalid in C99 [-Wimplicit-function-declaration] modify_region (current_buffer, XINT (start), XINT (end)); ^ editfns.c:1391:39: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] modify_region (current_buffer, XINT (start), XINT (end)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1391:39: note: place parentheses around the '-' expression to silence this warning modify_region (current_buffer, XINT (start), XINT (end)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1391:39: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] modify_region (current_buffer, XINT (start), XINT (end)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1391:39: note: place parentheses around the '-' expression to silence this warning modify_region (current_buffer, XINT (start), XINT (end)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1391:53: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] modify_region (current_buffer, XINT (start), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1391:53: note: place parentheses around the '-' expression to silence this warning modify_region (current_buffer, XINT (start), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1391:53: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] modify_region (current_buffer, XINT (start), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1391:53: note: place parentheses around the '-' expression to silence this warning modify_region (current_buffer, XINT (start), XINT (end)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1405:6: warning: implicit declaration of function 'record_change' is invalid in C99 [-Wimplicit-function-declaration] record_change (pos, i); ^ editfns.c:1418:5: warning: implicit declaration of function 'signal_after_change' is invalid in C99 [-Wimplicit-function-declaration] signal_after_change (XINT (start), ^ editfns.c:1418:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] signal_after_change (XINT (start), ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1418:26: note: place parentheses around the '-' expression to silence this warning signal_after_change (XINT (start), ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1418:26: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] signal_after_change (XINT (start), ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1418:26: note: place parentheses around the '-' expression to silence this warning signal_after_change (XINT (start), ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1419:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] stop - XINT (start), stop - XINT (start)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1419:12: note: place parentheses around the '-' expression to silence this warning stop - XINT (start), stop - XINT (start)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1419:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] stop - XINT (start), stop - XINT (start)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1419:12: note: place parentheses around the '-' expression to silence this warning stop - XINT (start), stop - XINT (start)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1419:33: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] stop - XINT (start), stop - XINT (start)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1419:33: note: place parentheses around the '-' expression to silence this warning stop - XINT (start), stop - XINT (start)); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1419:33: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] stop - XINT (start), stop - XINT (start)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1419:33: note: place parentheses around the '-' expression to silence this warning stop - XINT (start), stop - XINT (start)); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1447:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1447:9: note: place parentheses around the '-' expression to silence this warning pos = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1447:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] pos = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1447:9: note: place parentheses around the '-' expression to silence this warning pos = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1448:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] stop = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1448:10: note: place parentheses around the '-' expression to silence this warning stop = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1448:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] stop = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1448:10: note: place parentheses around the '-' expression to silence this warning stop = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1480:3: warning: implicit declaration of function 'del_range' is invalid in C99 [-Wimplicit-function-declaration] del_range (XINT (b), XINT (e)); ^ editfns.c:1480:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] del_range (XINT (b), XINT (e)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1480:14: note: place parentheses around the '-' expression to silence this warning del_range (XINT (b), XINT (e)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1480:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] del_range (XINT (b), XINT (e)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1480:14: note: place parentheses around the '-' expression to silence this warning del_range (XINT (b), XINT (e)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1480:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] del_range (XINT (b), XINT (e)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1480:24: note: place parentheses around the '-' expression to silence this warning del_range (XINT (b), XINT (e)); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1480:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] del_range (XINT (b), XINT (e)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1480:24: note: place parentheses around the '-' expression to silence this warning del_range (XINT (b), XINT (e)); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1493:3: warning: implicit declaration of function 'invalidate_current_column' is invalid in C99 [-Wimplicit-function-declaration] invalidate_current_column (); ^ editfns.c:1514:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (b) > XINT (e)) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1514:7: note: place parentheses around the '-' expression to silence this warning if (XINT (b) > XINT (e)) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1514:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (b) > XINT (e)) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1514:7: note: place parentheses around the '-' expression to silence this warning if (XINT (b) > XINT (e)) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1514:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (b) > XINT (e)) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1514:18: note: place parentheses around the '-' expression to silence this warning if (XINT (b) > XINT (e)) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1514:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (b) > XINT (e)) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1514:18: note: place parentheses around the '-' expression to silence this warning if (XINT (b) > XINT (e)) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1521:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1521:16: note: place parentheses around the '-' expression to silence this warning if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1521:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1521:16: note: place parentheses around the '-' expression to silence this warning if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1521:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1521:28: note: place parentheses around the '-' expression to silence this warning if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1521:28: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1521:28: note: place parentheses around the '-' expression to silence this warning if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1521:40: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1521:40: note: place parentheses around the '-' expression to silence this warning if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1521:40: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1521:40: note: place parentheses around the '-' expression to silence this warning if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1521:52: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1521:52: note: place parentheses around the '-' expression to silence this warning if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1521:52: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1521:52: note: place parentheses around the '-' expression to silence this warning if (!(BEG <= XINT (b) && XINT (b) <= XINT (e) && XINT (e) <= Z)) ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1562:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] newhead = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1562:13: note: place parentheses around the '-' expression to silence this warning newhead = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1562:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] newhead = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1562:13: note: place parentheses around the '-' expression to silence this warning newhead = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1564:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] newtail = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1564:13: note: place parentheses around the '-' expression to silence this warning newtail = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1564:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] newtail = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1564:13: note: place parentheses around the '-' expression to silence this warning newtail = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1632:7: warning: implicit declaration of function 'message' is invalid in C99 [-Wimplicit-function-declaration] message (0); ^ editfns.c:1651:7: warning: implicit declaration of function 'message2' is invalid in C99 [-Wimplicit-function-declaration] message2 (message_text, XSTRING (val)->size); ^ editfns.c:1691:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] minlen = atoi (format); ^~~~~~ /usr/include/stdlib.h:101:23: note: passing argument to parameter here int atoi(const char *); ^ editfns.c:1772:37: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] strings[i++] = (unsigned char *) XINT (args[n]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1772:37: note: place parentheses around the '-' expression to silence this warning strings[i++] = (unsigned char *) XINT (args[n]); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1772:37: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] strings[i++] = (unsigned char *) XINT (args[n]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1772:37: note: place parentheses around the '-' expression to silence this warning strings[i++] = (unsigned char *) XINT (args[n]); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1779:21: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] strings[i++] = (unsigned char *) u.half[0]; ^ editfns.c:1780:21: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] strings[i++] = (unsigned char *) u.half[1]; ^ editfns.c:1793:11: warning: implicit declaration of function 'doprnt' is invalid in C99 [-Wimplicit-function-declaration] length = doprnt (buf, total + 1, strings[0], end, i-1, strings + 1); ^ editfns.c:1845:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] : XINT (c1) == XINT (c2)) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1845:9: note: place parentheses around the '-' expression to silence this warning : XINT (c1) == XINT (c2)) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1845:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] : XINT (c1) == XINT (c2)) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1845:9: note: place parentheses around the '-' expression to silence this warning : XINT (c1) == XINT (c2)) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1845:22: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] : XINT (c1) == XINT (c2)) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1845:22: note: place parentheses around the '-' expression to silence this warning : XINT (c1) == XINT (c2)) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:1845:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] : XINT (c1) == XINT (c2)) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ editfns.c:1845:22: note: place parentheses around the '-' expression to silence this warning : XINT (c1) == XINT (c2)) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ editfns.c:2113:11: warning: implicit declaration of function 'safe_bcopy' is invalid in C99 [-Wimplicit-function-declaration] safe_bcopy (start1_addr + len1, start1_addr + len2, len_mid); ^ editfns.c:2174:7: warning: implicit declaration of function 'fix_overlays_in_range' is invalid in C99 [-Wimplicit-function-declaration] fix_overlays_in_range (start1, end2); ^ In file included from editfns.c:60: ./intervals.h:186:20: warning: inline function 'copy_intervals_to_string' is not defined [-Wundefined-inline] extern INLINE void copy_intervals_to_string (); ^ editfns.c:1091:5: note: used here copy_intervals_to_string (result, current_buffer, start, end - start); ^ In file included from editfns.c:60: ./intervals.h:183:20: warning: inline function 'temp_set_point' is not defined [-Wundefined-inline] extern INLINE void temp_set_point (); ^ editfns.c:1871:5: note: used here TEMP_SET_PT (PT + (end2 - end1)); ^ ./buffer.h:47:32: note: expanded from macro 'TEMP_SET_PT' #define TEMP_SET_PT(position) (temp_set_point ((position), current_buffer)) ^ 138 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include callint.c In file included from callint.c:28: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from callint.c:28: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ callint.c:249:7: warning: implicit declaration of function 'do_autoload' is invalid in C99 [-Wimplicit-function-declaration] do_autoload (fun, function); ^ callint.c:271:7: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (XSTRING (specs)->data, string, XSTRING (specs)->size + 1); ^ callint.c:364: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:389:5: warning: implicit declaration of function 'specbind' is invalid in C99 [-Wimplicit-function-declaration] specbind (Qenable_recursive_minibuffers, Qt); ^ callint.c:394:7: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy (prompt1, tem + 1, sizeof prompt1 - 1); ^ callint.c:394:7: note: include the header or explicitly provide a declaration for 'strncpy' callint.c:394: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); ^~~~~~~ callint.c:406:7: warning: implicit declaration of function 'doprnt' is invalid in C99 [-Wimplicit-function-declaration] doprnt (prompt, sizeof prompt, prompt1, 0, j - 1, argstrings + 1); ^ callint.c:432:4: warning: implicit declaration of function 'message1' is invalid in C99 [-Wimplicit-function-declaration] message1 (prompt); ^ callint.c:500:25: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] XFASTINT (args[i]) = marker_position (current_buffer->mark); ^ callint.c:595: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:646:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (val, XINT (XCONS (raw)->car)); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ callint.c:646:19: note: place parentheses around the '-' expression to silence this warning XSETINT (val, XINT (XCONS (raw)->car)); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ callint.c:646:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (val, XINT (XCONS (raw)->car)); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ callint.c:646:19: note: place parentheses around the '-' expression to silence this warning XSETINT (val, XINT (XCONS (raw)->car)); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ callint.c:655:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_callint () ^ callint.c:720:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 20 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include eval.c In file included from eval.c:28: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from eval.c:28: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ eval.c:157:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_eval_once () ^ eval.c:163:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ eval.c:165:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_eval () ^ eval.c:176:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ eval.c:191:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_debug_on_call (code) ^ eval.c:197:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ eval.c:645:44: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (documentation) == Lisp_Int && XINT (documentation) < 0) ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:645:44: note: place parentheses around the '-' expression to silence this warning if (XTYPE (documentation) == Lisp_Int && XINT (documentation) < 0) ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:645:44: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (documentation) == Lisp_Int && XINT (documentation) < 0) ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:645:44: note: place parentheses around the '-' expression to silence this warning if (XTYPE (documentation) == Lisp_Int && XINT (documentation) < 0) ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:763:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] (!EQ (Vmocklisp_arguments, Qt) ? XINT (tem) : !NILP (tem))) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:763:36: note: place parentheses around the '-' expression to silence this warning (!EQ (Vmocklisp_arguments, Qt) ? XINT (tem) : !NILP (tem))) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:763:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] (!EQ (Vmocklisp_arguments, Qt) ? XINT (tem) : !NILP (tem))) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:763:36: note: place parentheses around the '-' expression to silence this warning (!EQ (Vmocklisp_arguments, Qt) ? XINT (tem) : !NILP (tem))) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:828:5: warning: implicit declaration of function 'do_autoload' is invalid in C99 [-Wimplicit-function-declaration] do_autoload (def, sym); ^ eval.c:928:3: warning: implicit declaration of function 'set_poll_suppress_count' is invalid in C99 [-Wimplicit-function-declaration] set_poll_suppress_count (catch->poll_suppress_count); ^ eval.c:1169:3: warning: implicit declaration of function 'quit_error_check' is invalid in C99 [-Wimplicit-function-declaration] quit_error_check (); ^ eval.c:1224:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ eval.c:1266:2: warning: implicit declaration of function 'internal_with_output_to_temp_buffer' is invalid in C99 [-Wimplicit-function-declaration] internal_with_output_to_temp_buffer ("*Backtrace*", Fbacktrace, Qnil); ^ eval.c:1332:10: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] mlen = strlen (m); ^ eval.c:1332:10: note: include the header or explicitly provide a declaration for 'strlen' eval.c:1336:18: warning: implicit declaration of function 'doprnt' is invalid in C99 [-Wimplicit-function-declaration] int used = doprnt (buf, size, m, m + mlen, 3, args); ^ eval.c:1486:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_autoload (fundef, funname) ^ eval.c:1526:34: warning: too few arguments in call to 'error' XSYMBOL (funname)->name->data); ^ eval.c:1526:5: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] XSYMBOL (funname)->name->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:489:20: note: expanded from macro 'XSYMBOL' #define XSYMBOL(a) ((struct Lisp_Symbol *) XPNTR(a)) ^ eval.c:1527:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ eval.c:1566:51: warning: too few arguments in call to 'error' error ("Lisp nesting exceeds max-lisp-eval-depth"); ~~~~~ ^ eval.c:1598:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (numargs) < XSUBR (fun)->min_args || ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:1598:11: note: place parentheses around the '-' expression to silence this warning if (XINT (numargs) < XSUBR (fun)->min_args || ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:1598:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (numargs) < XSUBR (fun)->min_args || ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:1598:11: note: place parentheses around the '-' expression to silence this warning if (XINT (numargs) < XSUBR (fun)->min_args || ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:1599:59: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] (XSUBR (fun)->max_args >= 0 && XSUBR (fun)->max_args < XINT (numargs))) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:1599:59: note: place parentheses around the '-' expression to silence this warning (XSUBR (fun)->max_args >= 0 && XSUBR (fun)->max_args < XINT (numargs))) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:1599:59: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] (XSUBR (fun)->max_args >= 0 && XSUBR (fun)->max_args < XINT (numargs))) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:1599:59: note: place parentheses around the '-' expression to silence this warning (XSUBR (fun)->max_args >= 0 && XSUBR (fun)->max_args < XINT (numargs))) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:1615:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] vals = (Lisp_Object *) alloca (XINT (numargs) * sizeof (Lisp_Object)); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:1615:35: note: place parentheses around the '-' expression to silence this warning vals = (Lisp_Object *) alloca (XINT (numargs) * sizeof (Lisp_Object)); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:1615:35: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] vals = (Lisp_Object *) alloca (XINT (numargs) * sizeof (Lisp_Object)); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:1615:35: note: place parentheses around the '-' expression to silence this warning vals = (Lisp_Object *) alloca (XINT (numargs) * sizeof (Lisp_Object)); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:1629:22: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] backtrace.nargs = XINT (numargs); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:1629:22: note: place parentheses around the '-' expression to silence this warning backtrace.nargs = XINT (numargs); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:1629:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] backtrace.nargs = XINT (numargs); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:1629:22: note: place parentheses around the '-' expression to silence this warning backtrace.nargs = XINT (numargs); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:1631:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val = (*XSUBR (fun)->function) (XINT (numargs), vals); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:1631:36: note: place parentheses around the '-' expression to silence this warning val = (*XSUBR (fun)->function) (XINT (numargs), vals); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:1631:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val = (*XSUBR (fun)->function) (XINT (numargs), vals); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:1631:36: note: place parentheses around the '-' expression to silence this warning val = (*XSUBR (fun)->function) (XINT (numargs), vals); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:1650:25: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] backtrace.nargs = XINT (numargs); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:1650:25: note: place parentheses around the '-' expression to silence this warning backtrace.nargs = XINT (numargs); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:1650:25: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] backtrace.nargs = XINT (numargs); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:1650:25: note: place parentheses around the '-' expression to silence this warning backtrace.nargs = XINT (numargs); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:1749:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] numargs = XINT (Flength (spread_arg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:1749:13: note: place parentheses around the '-' expression to silence this warning numargs = XINT (Flength (spread_arg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:1749:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] numargs = XINT (Flength (spread_arg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:1749:13: note: place parentheses around the '-' expression to silence this warning numargs = XINT (Flength (spread_arg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:1797:3: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (args, funcall_args, nargs * sizeof (Lisp_Object)); ^ eval.c:2012:51: warning: too few arguments in call to 'error' error ("Lisp nesting exceeds max-lisp-eval-depth"); ~~~~~ ^ eval.c:2147:40: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] arg_vector = (Lisp_Object *) alloca (XINT (numargs) * sizeof (Lisp_Object)); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:2147:40: note: place parentheses around the '-' expression to silence this warning arg_vector = (Lisp_Object *) alloca (XINT (numargs) * sizeof (Lisp_Object)); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:2147:40: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] arg_vector = (Lisp_Object *) alloca (XINT (numargs) * sizeof (Lisp_Object)); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:2147:40: note: place parentheses around the '-' expression to silence this warning arg_vector = (Lisp_Object *) alloca (XINT (numargs) * sizeof (Lisp_Object)); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:2153:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] for (i = 0; i < XINT (numargs);) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:2153:19: note: place parentheses around the '-' expression to silence this warning for (i = 0; i < XINT (numargs);) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:2153:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] for (i = 0; i < XINT (numargs);) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:2153:19: note: place parentheses around the '-' expression to silence this warning for (i = 0; i < XINT (numargs);) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:2169:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tem = funcall_lambda (fun, XINT (numargs), arg_vector); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:2169:30: note: place parentheses around the '-' expression to silence this warning tem = funcall_lambda (fun, XINT (numargs), arg_vector); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:2169:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tem = funcall_lambda (fun, XINT (numargs), arg_vector); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:2169:30: note: place parentheses around the '-' expression to silence this warning tem = funcall_lambda (fun, XINT (numargs), arg_vector); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:2386:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] for (i = 0; backlist && i < XINT (level); i++) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:2386:31: note: place parentheses around the '-' expression to silence this warning for (i = 0; backlist && i < XINT (level); i++) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:2386:31: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] for (i = 0; backlist && i < XINT (level); i++) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:2386:31: note: place parentheses around the '-' expression to silence this warning for (i = 0; backlist && i < XINT (level); i++) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:2416:7: warning: implicit declaration of function 'write_string' is invalid in C99 [-Wimplicit-function-declaration] write_string (backlist->debug_on_exit ? "* " : " ", 2); ^ eval.c:2472:3: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] CHECK_NATNUM (nframes, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:2472:3: note: place parentheses around the '-' expression to silence this warning CHECK_NATNUM (nframes, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:2472:3: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] CHECK_NATNUM (nframes, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ eval.c:2472:3: note: place parentheses around the '-' expression to silence this warning CHECK_NATNUM (nframes, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ eval.c:2493:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_eval () ^ eval.c:2632:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 57 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include floatfns.c In file included from floatfns.c:48: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from floatfns.c:48: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ floatfns.c:218:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return (double) XINT (num); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:218:19: note: place parentheses around the '-' expression to silence this warning return (double) XINT (num); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:218:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return (double) XINT (num); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:218:19: note: place parentheses around the '-' expression to silence this warning return (double) XINT (num); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:449:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x = XINT (arg1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:449:11: note: place parentheses around the '-' expression to silence this warning x = XINT (arg1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:449:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] x = XINT (arg1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:449:11: note: place parentheses around the '-' expression to silence this warning x = XINT (arg1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:450:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] y = XINT (arg2); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:450:11: note: place parentheses around the '-' expression to silence this warning y = XINT (arg2); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:450:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] y = XINT (arg2); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:450:11: note: place parentheses around the '-' expression to silence this warning y = XINT (arg2); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:475:61: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f1 = (XTYPE (arg1) == Lisp_Float) ? XFLOAT (arg1)->data : XINT (arg1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:475:61: note: place parentheses around the '-' expression to silence this warning f1 = (XTYPE (arg1) == Lisp_Float) ? XFLOAT (arg1)->data : XINT (arg1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:475:61: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f1 = (XTYPE (arg1) == Lisp_Float) ? XFLOAT (arg1)->data : XINT (arg1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:475:61: note: place parentheses around the '-' expression to silence this warning f1 = (XTYPE (arg1) == Lisp_Float) ? XFLOAT (arg1)->data : XINT (arg1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:476:61: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f2 = (XTYPE (arg2) == Lisp_Float) ? XFLOAT (arg2)->data : XINT (arg2); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:476:61: note: place parentheses around the '-' expression to silence this warning f2 = (XTYPE (arg2) == Lisp_Float) ? XFLOAT (arg2)->data : XINT (arg2); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:476:61: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f2 = (XTYPE (arg2) == Lisp_Float) ? XFLOAT (arg2)->data : XINT (arg2); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:476:61: note: place parentheses around the '-' expression to silence this warning f2 = (XTYPE (arg2) == Lisp_Float) ? XFLOAT (arg2)->data : XINT (arg2); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:646:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XINT (arg) < 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:646:12: note: place parentheses around the '-' expression to silence this warning else if (XINT (arg) < 0) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:646:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XINT (arg) < 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:646:12: note: place parentheses around the '-' expression to silence this warning else if (XINT (arg) < 0) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:660:33: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return make_float ((double) XINT (arg)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:660:33: note: place parentheses around the '-' expression to silence this warning return make_float ((double) XINT (arg)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:660:33: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return make_float ((double) XINT (arg)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:660:33: note: place parentheses around the '-' expression to silence this warning return make_float ((double) XINT (arg)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:754:58: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f1 = XTYPE (arg) == Lisp_Float ? XFLOAT (arg)->data : XINT (arg); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:754:58: note: place parentheses around the '-' expression to silence this warning f1 = XTYPE (arg) == Lisp_Float ? XFLOAT (arg)->data : XINT (arg); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:754:58: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] f1 = XTYPE (arg) == Lisp_Float ? XFLOAT (arg)->data : XINT (arg); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:754:58: note: place parentheses around the '-' expression to silence this warning f1 = XTYPE (arg) == Lisp_Float ? XFLOAT (arg)->data : XINT (arg); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:756:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XFLOAT (divisor)->data : XINT (divisor)); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:756:30: note: place parentheses around the '-' expression to silence this warning ? XFLOAT (divisor)->data : XINT (divisor)); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:756:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ? XFLOAT (divisor)->data : XINT (divisor)); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:756:30: note: place parentheses around the '-' expression to silence this warning ? XFLOAT (divisor)->data : XINT (divisor)); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:766:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] i1 = XINT (arg); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:766:12: note: place parentheses around the '-' expression to silence this warning i1 = XINT (arg); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:766:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] i1 = XINT (arg); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:766:12: note: place parentheses around the '-' expression to silence this warning i1 = XINT (arg); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:767:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] i2 = XINT (divisor); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:767:12: note: place parentheses around the '-' expression to silence this warning i2 = XINT (divisor); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:767:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] i2 = XINT (divisor); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ floatfns.c:767:12: note: place parentheses around the '-' expression to silence this warning i2 = XINT (divisor); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ floatfns.c:941:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_floatfns () ^ floatfns.c:947:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ floatfns.c:956:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_floatfns () ^ floatfns.c:1001:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 32 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include fns.c In file included from fns.c:29: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from fns.c:29: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ fns.c:74:14: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] srandom (getpid () + time (0)); ^ fns.c:75:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (limit) == Lisp_Int && XINT (limit) > 0) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:75:36: note: place parentheses around the '-' expression to silence this warning if (XTYPE (limit) == Lisp_Int && XINT (limit) > 0) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:75:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (limit) == Lisp_Int && XINT (limit) > 0) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:75:36: note: place parentheses around the '-' expression to silence this warning if (XTYPE (limit) == Lisp_Int && XINT (limit) > 0) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:77:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (limit) >= 0x40000000) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:77:11: note: place parentheses around the '-' expression to silence this warning if (XINT (limit) >= 0x40000000) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:77:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (limit) >= 0x40000000) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:77:11: note: place parentheses around the '-' expression to silence this warning if (XINT (limit) >= 0x40000000) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:79:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val = random () % XINT (limit); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:79:20: note: place parentheses around the '-' expression to silence this warning val = random () % XINT (limit); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:79:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] val = random () % XINT (limit); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:79:20: note: place parentheses around the '-' expression to silence this warning val = random () % XINT (limit); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:153:7: warning: implicit declaration of function 'bcmp' is invalid in C99 [-Wimplicit-function-declaration] bcmp (XSTRING (s1)->data, XSTRING (s2)->data, XSTRING (s1)->size)) ^ fns.c:330:39: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] thislen = Flength (this), thisleni = XINT (thislen); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:330:39: note: place parentheses around the '-' expression to silence this warning thislen = Flength (this), thisleni = XINT (thislen); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:330:39: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] thislen = Flength (this), thisleni = XINT (thislen); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:330:39: note: place parentheses around the '-' expression to silence this warning thislen = Flength (this), thisleni = XINT (thislen); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:377:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSTRING (val)->data[toindex++] = XINT (elt); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:377:36: note: place parentheses around the '-' expression to silence this warning XSTRING (val)->data[toindex++] = XINT (elt); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:377:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSTRING (val)->data[toindex++] = XINT (elt); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:377:36: note: place parentheses around the '-' expression to silence this warning XSTRING (val)->data[toindex++] = XINT (elt); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:433:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (from) < 0) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:433:7: note: place parentheses around the '-' expression to silence this warning if (XINT (from) < 0) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:433:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (from) < 0) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:433:7: note: place parentheses around the '-' expression to silence this warning if (XINT (from) < 0) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:434:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (from, XINT (from) + XSTRING (string)->size); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ fns.c:434:20: note: place parentheses around the '-' expression to silence this warning XSETINT (from, XINT (from) + XSTRING (string)->size); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ fns.c:434:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (from, XINT (from) + XSTRING (string)->size); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ fns.c:434:20: note: place parentheses around the '-' expression to silence this warning XSETINT (from, XINT (from) + XSTRING (string)->size); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ fns.c:435:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (to) < 0) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:435:7: note: place parentheses around the '-' expression to silence this warning if (XINT (to) < 0) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:435:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (to) < 0) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:435:7: note: place parentheses around the '-' expression to silence this warning if (XINT (to) < 0) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:436:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (to, XINT (to) + XSTRING (string)->size); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ fns.c:436:18: note: place parentheses around the '-' expression to silence this warning XSETINT (to, XINT (to) + XSTRING (string)->size); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ fns.c:436:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (to, XINT (to) + XSTRING (string)->size); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ fns.c:436:18: note: place parentheses around the '-' expression to silence this warning XSETINT (to, XINT (to) + XSTRING (string)->size); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ fns.c:437:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(0 <= XINT (from) && XINT (from) <= XINT (to) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:437:14: note: place parentheses around the '-' expression to silence this warning if (!(0 <= XINT (from) && XINT (from) <= XINT (to) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:437:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(0 <= XINT (from) && XINT (from) <= XINT (to) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:437:14: note: place parentheses around the '-' expression to silence this warning if (!(0 <= XINT (from) && XINT (from) <= XINT (to) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:437:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(0 <= XINT (from) && XINT (from) <= XINT (to) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:437:29: note: place parentheses around the '-' expression to silence this warning if (!(0 <= XINT (from) && XINT (from) <= XINT (to) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:437:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(0 <= XINT (from) && XINT (from) <= XINT (to) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:437:29: note: place parentheses around the '-' expression to silence this warning if (!(0 <= XINT (from) && XINT (from) <= XINT (to) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:437:44: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(0 <= XINT (from) && XINT (from) <= XINT (to) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:437:44: note: place parentheses around the '-' expression to silence this warning if (!(0 <= XINT (from) && XINT (from) <= XINT (to) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:437:44: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(0 <= XINT (from) && XINT (from) <= XINT (to) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:437:44: note: place parentheses around the '-' expression to silence this warning if (!(0 <= XINT (from) && XINT (from) <= XINT (to) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:438:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (to) <= XSTRING (string)->size)) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:438:12: note: place parentheses around the '-' expression to silence this warning && XINT (to) <= XSTRING (string)->size)) ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:438:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && XINT (to) <= XSTRING (string)->size)) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:438:12: note: place parentheses around the '-' expression to silence this warning && XINT (to) <= XSTRING (string)->size)) ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:441:47: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] res = make_string (XSTRING (string)->data + XINT (from), ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:441:47: note: place parentheses around the '-' expression to silence this warning res = make_string (XSTRING (string)->data + XINT (from), ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:441:47: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] res = make_string (XSTRING (string)->data + XINT (from), ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:441:47: note: place parentheses around the '-' expression to silence this warning res = make_string (XSTRING (string)->data + XINT (from), ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:442:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (to) - XINT (from)); ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:442:8: note: place parentheses around the '-' expression to silence this warning XINT (to) - XINT (from)); ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:442:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (to) - XINT (from)); ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:442:8: note: place parentheses around the '-' expression to silence this warning XINT (to) - XINT (from)); ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:442:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (to) - XINT (from)); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:442:20: note: place parentheses around the '-' expression to silence this warning XINT (to) - XINT (from)); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:442:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (to) - XINT (from)); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:442:20: note: place parentheses around the '-' expression to silence this warning XINT (to) - XINT (from)); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:455:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] num = XINT (n); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:455:9: note: place parentheses around the '-' expression to silence this warning num = XINT (n); ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:455:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] num = XINT (n); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:455:9: note: place parentheses around the '-' expression to silence this warning num = XINT (n); ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:710:33: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] vec = (Lisp_Object *) alloca (XINT (length) * sizeof (Lisp_Object)); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:710:33: note: place parentheses around the '-' expression to silence this warning vec = (Lisp_Object *) alloca (XINT (length) * sizeof (Lisp_Object)); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:710:33: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] vec = (Lisp_Object *) alloca (XINT (length) * sizeof (Lisp_Object)); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:710:33: note: place parentheses around the '-' expression to silence this warning vec = (Lisp_Object *) alloca (XINT (length) * sizeof (Lisp_Object)); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:711:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] for (i = XINT (length) - 1, tail = list; i >= 0; i--, tail = Fcdr (tail)) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:711:12: note: place parentheses around the '-' expression to silence this warning for (i = XINT (length) - 1, tail = list; i >= 0; i--, tail = Fcdr (tail)) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:711:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] for (i = XINT (length) - 1, tail = list; i >= 0; i--, tail = Fcdr (tail)) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:711:12: note: place parentheses around the '-' expression to silence this warning for (i = XINT (length) - 1, tail = list; i >= 0; i--, tail = Fcdr (tail)) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:714:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return Flist (XINT (length), vec); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:714:17: note: place parentheses around the '-' expression to silence this warning return Flist (XINT (length), vec); ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:714:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return Flist (XINT (length), vec); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:714:17: note: place parentheses around the '-' expression to silence this warning return Flist (XINT (length), vec); ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:734:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] length = XINT (len); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:734:12: note: place parentheses around the '-' expression to silence this warning length = XINT (len); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:734:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] length = XINT (len); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:734:12: note: place parentheses around the '-' expression to silence this warning length = XINT (len); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:946:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] charval = XINT (item); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:946:17: note: place parentheses around the '-' expression to silence this warning charval = XINT (item); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:946:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] charval = XINT (item); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:946:17: note: place parentheses around the '-' expression to silence this warning charval = XINT (item); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:1085:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] leni = XINT (len); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:1085:10: note: place parentheses around the '-' expression to silence this warning leni = XINT (len); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:1085:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] leni = XINT (len); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ fns.c:1085:10: note: place parentheses around the '-' expression to silence this warning leni = XINT (len); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ fns.c:1152:7: warning: implicit declaration of function 'using_x_p' is invalid in C99 [-Wimplicit-function-declaration] && using_x_p ()) ^ fns.c:1155:4: warning: implicit declaration of function 'redisplay_preserve_echo_area' is invalid in C99 [-Wimplicit-function-declaration] redisplay_preserve_echo_area (); ^ fns.c:1160:10: warning: implicit declaration of function 'Fx_popup_dialog' is invalid in C99 [-Wimplicit-function-declaration] obj = Fx_popup_dialog (Qt, menu); ^ fns.c:1166:7: warning: implicit declaration of function 'message' is invalid in C99 [-Wimplicit-function-declaration] message ("%s(y or n) ", XSTRING (xprompt)->data); ^ fns.c:1174:13: warning: implicit declaration of function 'Flookup_key' is invalid in C99 [-Wimplicit-function-declaration] def = Flookup_key (map, key); ^ fns.c:1189:4: warning: implicit declaration of function 'Frecenter' is invalid in C99 [-Wimplicit-function-declaration] Frecenter (Qnil); ^ fns.c:1202:7: warning: implicit declaration of function 'Fding' is invalid in C99 [-Wimplicit-function-declaration] Fding (Qnil); ^ fns.c:1280:40: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (XSTRING (ans)->size == 3 && !strcmp (XSTRING (ans)->data, "yes")) ^ fns.c:1280:40: note: include the header or explicitly provide a declaration for 'strcmp' fns.c:1280:48: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (XSTRING (ans)->size == 3 && !strcmp (XSTRING (ans)->data, "yes")) ^~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ fns.c:1285:48: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (XSTRING (ans)->size == 2 && !strcmp (XSTRING (ans)->data, "no")) ^~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ fns.c:1294:7: warning: implicit declaration of function 'Fsleep_for' is invalid in C99 [-Wimplicit-function-declaration] Fsleep_for (make_number (2), Qnil); ^ fns.c:1370:7: warning: implicit declaration of function 'record_unwind_protect' is invalid in C99 [-Wimplicit-function-declaration] record_unwind_protect (un_autoload, Vautoload_queue); ^ fns.c:1388:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_fns () ^ fns.c:1441:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 68 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include print.c In file included from print.c:23: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from print.c:23: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ print.c:197:7: warning: implicit declaration of function 'Finsert_char' is invalid in C99 [-Wimplicit-function-declaration] Finsert_char (ch, 1, Qt); /* 91.11.17 by K.Handa */ ^ print.c:229:12: warning: implicit declaration of function 'mchar_to_string' is invalid in C99 [-Wimplicit-function-declaration] int i = CHARtoSTR (ch, str); ^ ./charset.h:221:34: note: expanded from macro 'CHARtoSTR' *(s) = (unsigned int)(c), 1 : mchar_to_string(c, s)) ^ print.c:257:7: warning: implicit declaration of function 'insert' is invalid in C99 [-Wimplicit-function-declaration] insert (ptr, size >= 0 ? size : strlen (ptr)); ^ print.c:257:39: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] insert (ptr, size >= 0 ? size : strlen (ptr)); ^ print.c:257:39: note: include the header or explicitly provide a declaration for 'strlen' print.c:298:7: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (ptr, &FRAME_MESSAGE_BUF (mini_frame) [printbufidx], i); ^ print.c:317:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] print_string (string, printcharfun) ^ print.c:323:13: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strout (XSTRING (string)->data, XSTRING (string)->size, printcharfun); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ print.c:335:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ print.c:351:3: warning: implicit declaration of function 'set_buffer_internal' is invalid in C99 [-Wimplicit-function-declaration] PRINTPREPARE; ^ print.c:162:10: note: expanded from macro 'PRINTPREPARE' set_buffer_internal (XMARKER (original)->buffer); \ ^ print.c:351:3: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] print.c:164:16: note: expanded from macro 'PRINTPREPARE' SET_PT (marker_position (printcharfun)); \ ^ print.c:353:3: warning: implicit declaration of function 'Fset_marker' is invalid in C99 [-Wimplicit-function-declaration] PRINTFINISH; ^ print.c:170:6: note: expanded from macro 'PRINTFINISH' Fset_marker (original, make_number (point), Qnil); \ ^ print.c:361:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] write_string (data, size) ^ print.c:376:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ print.c:382:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] write_string_1 (data, size, printcharfun) ^ print.c:395:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ print.c:410:3: warning: implicit declaration of function 'Ferase_buffer' is invalid in C99 [-Wimplicit-function-declaration] Ferase_buffer (); ^ print.c:413:3: warning: implicit declaration of function 'specbind' is invalid in C99 [-Wimplicit-function-declaration] specbind (Qstandard_output, buf); ^ print.c:429:3: warning: implicit declaration of function 'record_unwind_protect' is invalid in C99 [-Wimplicit-function-declaration] record_unwind_protect (Fset_buffer, Fcurrent_buffer ()); ^ print.c:466:29: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] temp_output_buffer_setup (XSTRING (name)->data); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ print.c:626:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] putc (XINT (character), stderr); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/stdio.h:497:29: note: expanded from macro 'putc' #define putc(x, fp) __sputc(x, fp) ^ print.c:626:9: note: place parentheses around the '-' expression to silence this warning putc (XINT (character), stderr); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/stdio.h:497:29: note: expanded from macro 'putc' #define putc(x, fp) __sputc(x, fp) ^ print.c:626:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] putc (XINT (character), stderr); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/stdio.h:497:29: note: expanded from macro 'putc' #define putc(x, fp) __sputc(x, fp) ^ print.c:626:9: note: place parentheses around the '-' expression to silence this warning putc (XINT (character), stderr); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/stdio.h:497:29: note: expanded from macro 'putc' #define putc(x, fp) __sputc(x, fp) ^ print.c:668:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (buf, "%.17g", data); ^~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ print.c:704:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (buf, XSTRING (Vfloat_output_format)->data, data); ^~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ print.c:704:21: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (buf, XSTRING (Vfloat_output_format)->data, data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/stdio.h:268:56: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ print.c:794: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(obj)->data); ^~~~~~ print.c:801:27: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] sprintf (buf, "%d", XINT (obj)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ print.c:801:27: note: place parentheses around the '-' expression to silence this warning sprintf (buf, "%d", XINT (obj)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ print.c:801:27: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] sprintf (buf, "%d", XINT (obj)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ print.c:801:27: note: place parentheses around the '-' expression to silence this warning sprintf (buf, "%d", XINT (obj)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ print.c:801:27: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf (buf, "%d", XINT (obj)); ~~ ^~~~~~~~~~ %ld ./lisp.h:359:17: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c:898:21: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && print_depth > XINT (Vprint_level)) ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ print.c:898:21: note: place parentheses around the '-' expression to silence this warning && print_depth > XINT (Vprint_level)) ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ print.c:898:21: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && print_depth > XINT (Vprint_level)) ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ print.c:898:21: note: place parentheses around the '-' expression to silence this warning && print_depth > XINT (Vprint_level)) ^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ print.c:910:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] max = XINT (Vprint_length); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ print.c:910:10: note: place parentheses around the '-' expression to silence this warning max = XINT (Vprint_length); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ print.c:910:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] max = XINT (Vprint_length); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ print.c:910:10: note: place parentheses around the '-' expression to silence this warning max = XINT (Vprint_length); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ print.c:989:27: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf (buf, "%d", XFASTINT (XWINDOW (obj)->sequence_number)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld ./lisp.h:353:21: note: expanded from macro 'XFASTINT' #define XFASTINT(a) (a) ^~~ 39 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include lread.c In file included from lread.c:39: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from lread.c:39: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ lread.c:151:14: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] mpos = marker_position (readcharfun); ^ lread.c:159:2: warning: implicit declaration of function 'Fset_marker' is invalid in C99 [-Wimplicit-function-declaration] Fset_marker (readcharfun, make_number (mpos + 1), ^ lread.c:193:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:193:10: note: place parentheses around the '-' expression to silence this warning return XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:193:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:193:10: note: place parentheses around the '-' expression to silence this warning return XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:211:2: warning: implicit declaration of function 'set_point' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (point - 1); ^ ./buffer.h:46:27: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^ lread.c:289:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (val) = XINT (tem1) | XINT (Fcar (Fcdr (tem))); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:289:20: note: place parentheses around the '-' expression to silence this warning XFASTINT (val) = XINT (tem1) | XINT (Fcar (Fcdr (tem))); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:289:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (val) = XINT (tem1) | XINT (Fcar (Fcdr (tem))); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:289:20: note: place parentheses around the '-' expression to silence this warning XFASTINT (val) = XINT (tem1) | XINT (Fcar (Fcdr (tem))); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:289:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (val) = XINT (tem1) | XINT (Fcar (Fcdr (tem))); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:289:34: note: place parentheses around the '-' expression to silence this warning XFASTINT (val) = XINT (tem1) | XINT (Fcar (Fcdr (tem))); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:289:34: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (val) = XINT (tem1) | XINT (Fcar (Fcdr (tem))); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:289:34: note: place parentheses around the '-' expression to silence this warning XFASTINT (val) = XINT (tem1) | XINT (Fcar (Fcdr (tem))); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:398:12: warning: implicit declaration of function 'openp' is invalid in C99 [-Wimplicit-function-declaration] fd = openp (Vload_path, str, !NILP (nosuffix) ? "" : ".elc:.el:", ^ lread.c:413:8: warning: implicit declaration of function 'bcmp' is invalid in C99 [-Wimplicit-function-declaration] if (!bcmp (&(XSTRING (found)->data[XSTRING (found)->size - 4]), ^ lread.c:427:4: warning: implicit declaration of function 'message' is invalid in C99 [-Wimplicit-function-declaration] message ("Source file `%s' newer than byte-compiled file", ^ lread.c:444:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (fd); ^ lread.c:458:3: warning: implicit declaration of function 'record_unwind_protect' is invalid in C99 [-Wimplicit-function-declaration] record_unwind_protect (load_unwind, lispstream); ^ lread.c:492:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ lread.c:599:19: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] want_size = strlen (suffix) + XSTRING (filename)->size + 1; ^ lread.c:599:19: note: include the header or explicitly provide a declaration for 'strlen' lread.c:608:29: warning: implicitly declaring library function 'index' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] char *esuffix = (char *) index (nsuffix, ':'); ^ lread.c:608:29: note: include the header or explicitly provide a declaration for 'index' lread.c:612:4: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy (fn, XSTRING (filename)->data, XSTRING (filename)->size); ^ lread.c:612:4: note: include the header or explicitly provide a declaration for 'strncpy' lread.c:612:17: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy (fn, XSTRING (filename)->data, XSTRING (filename)->size); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ lread.c:615:6: warning: implicitly declaring library function 'strncat' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncat (fn, nsuffix, lsuffix); ^ lread.c:615:6: note: include the header or explicitly provide a declaration for 'strncat' lread.c:623:9: warning: implicit declaration of function 'mc_access' is invalid in C99 [-Wimplicit-function-declaration] fd = (access (fn, X_OK) == 0) ? 1 : -1; ^ ./mcpath.h:124:22: note: expanded from macro 'access' # define access mc_access ^ lread.c:747:3: warning: implicit declaration of function 'specbind' is invalid in C99 [-Wimplicit-function-declaration] specbind (Qstandard_input, readcharfun); ^ lread.c:894:3: warning: implicit declaration of function 'Fnarrow_to_region' is invalid in C99 [-Wimplicit-function-declaration] Fnarrow_to_region (make_number (BEGV), e); ^ lread.c:950:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] endval = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:950:16: note: place parentheses around the '-' expression to silence this warning endval = XINT (end); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:950:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] endval = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:950:16: note: place parentheses around the '-' expression to silence this warning endval = XINT (end); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:959:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] startval = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:959:18: note: place parentheses around the '-' expression to silence this warning startval = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:959:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] startval = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:959:18: note: place parentheses around the '-' expression to silence this warning startval = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:983:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] c = XINT (val); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:983:11: note: place parentheses around the '-' expression to silence this warning c = XINT (val); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:983:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] c = XINT (val); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:983:11: note: place parentheses around the '-' expression to silence this warning c = XINT (val); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:1155:10: warning: implicit declaration of function 'string_to_mchar' is invalid in C99 [-Wimplicit-function-declaration] c = STRtoCHAR (str, i); ^ ./charset.h:225:11: note: expanded from macro 'STRtoCHAR' *(s) : string_to_mchar(s, len)) ^ lread.c:1219:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) == ')') ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:1219:9: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) == ')') ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:1219:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (beg) == ')') ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:1219:9: note: place parentheses around the '-' expression to silence this warning if (XINT (beg) == ')') ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:1232:8: warning: implicit declaration of function 'Fset_text_properties' is invalid in C99 [-Wimplicit-function-declaration] Fset_text_properties (beg, end, plist, tmp); ^ lread.c:1426:10: warning: implicit declaration of function 'isfloat_string' is invalid in C99 [-Wimplicit-function-declaration] if (isfloat_string (read_buffer)) ^ lread.c:1448:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register state; ~~~~~~~~ ^ lread.c:1507:43: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] vector = (read_pure ? make_pure_vector (XINT (len)) : Fmake_vector (len, Qnil)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:1507:43: note: place parentheses around the '-' expression to silence this warning vector = (read_pure ? make_pure_vector (XINT (len)) : Fmake_vector (len, Qnil)); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:1507:43: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] vector = (read_pure ? make_pure_vector (XINT (len)) : Fmake_vector (len, Qnil)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:1507:43: note: place parentheses around the '-' expression to silence this warning vector = (read_pure ? make_pure_vector (XINT (len)) : Fmake_vector (len, Qnil)); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:1517:7: warning: implicit declaration of function 'free_cons' is invalid in C99 [-Wimplicit-function-declaration] free_cons (otem); ^ lread.c:1551:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (elt) == ']') ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:1551:12: note: place parentheses around the '-' expression to silence this warning if (XINT (elt) == ']') ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:1551:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (elt) == ']') ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:1551:12: note: place parentheses around the '-' expression to silence this warning if (XINT (elt) == ']') ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:1555:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (elt) == ')') ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:1555:8: note: place parentheses around the '-' expression to silence this warning if (XINT (elt) == ')') ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:1555:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (elt) == ')') ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:1555:8: note: place parentheses around the '-' expression to silence this warning if (XINT (elt) == ')') ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:1557:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (elt) == '.') ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:1557:8: note: place parentheses around the '-' expression to silence this warning if (XINT (elt) == '.') ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:1557:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (elt) == '.') ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:1557:8: note: place parentheses around the '-' expression to silence this warning if (XINT (elt) == '.') ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:1566:44: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (elt) == Lisp_Internal && XINT (elt) == ')') ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:1566:44: note: place parentheses around the '-' expression to silence this warning if (XTYPE (elt) == Lisp_Internal && XINT (elt) == ')') ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:1566:44: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (elt) == Lisp_Internal && XINT (elt) == ')') ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:1566:44: note: place parentheses around the '-' expression to silence this warning if (XTYPE (elt) == Lisp_Internal && XINT (elt) == ')') ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:1650:38: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ptr = &XVECTOR (obarray)->contents[XINT (tem)]; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:1650:38: note: place parentheses around the '-' expression to silence this warning ptr = &XVECTOR (obarray)->contents[XINT (tem)]; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:1650:38: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] ptr = &XVECTOR (obarray)->contents[XINT (tem)]; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ lread.c:1650:38: note: place parentheses around the '-' expression to silence this warning ptr = &XVECTOR (obarray)->contents[XINT (tem)]; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ lread.c:1757:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mapatoms_1 (sym, function) ^ lread.c:1761:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ lread.c:1795:23: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] hash = hash_string ("nil", 3); ^~~~~ lread.c:1926:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_lread () ^ lread.c:1963:15: warning: implicit declaration of function 'Fmember' is invalid in C99 [-Wimplicit-function-declaration] if (NILP (Fmember (tem, Vload_path))) ^ lread.c:2009:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 60 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include abbrev.c In file included from abbrev.c:21: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from abbrev.c:21: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ abbrev.c:237:7: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] CHECK_NUMBER_COERCE_MARKER (tem, 0); ^ ./lisp.h:880:55: note: expanded from macro 'CHECK_NUMBER_COERCE_MARKER' do { if (XTYPE ((x)) == Lisp_Marker) XFASTINT (x) = marker_position (x); \ ^ abbrev.c:238:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] wordstart = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ abbrev.c:238:19: note: place parentheses around the '-' expression to silence this warning wordstart = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ abbrev.c:238:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] wordstart = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ abbrev.c:238:19: note: place parentheses around the '-' expression to silence this warning wordstart = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ abbrev.c:241:2: warning: implicit declaration of function 'del_range' is invalid in C99 [-Wimplicit-function-declaration] del_range (wordstart, wordstart + 1); ^ abbrev.c:244:17: warning: implicit declaration of function 'scan_words' is invalid in C99 [-Wimplicit-function-declaration] wordstart = scan_words (point, -1); ^ abbrev.c:282:7: warning: implicit declaration of function 'set_point' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (wordend); ^ ./buffer.h:46:27: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^ abbrev.c:296:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (XSYMBOL (sym)->plist) + 1); /* Increment use count */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ abbrev.c:296:7: note: place parentheses around the '-' expression to silence this warning XINT (XSYMBOL (sym)->plist) + 1); /* Increment use count */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ abbrev.c:296:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (XSYMBOL (sym)->plist) + 1); /* Increment use count */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ abbrev.c:296:7: note: place parentheses around the '-' expression to silence this warning XINT (XSYMBOL (sym)->plist) + 1); /* Increment use count */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ abbrev.c:299:3: warning: implicit declaration of function 'insert_from_string' is invalid in C99 [-Wimplicit-function-declaration] insert_from_string (expansion, 0, XSTRING (expansion)->size, 1); ^ abbrev.c:311:6: warning: implicit declaration of function 'upcase_initials_region' is invalid in C99 [-Wimplicit-function-declaration] upcase_initials_region (make_number (wordstart), ^ abbrev.c:316:7: warning: implicit declaration of function 'Fupcase_region' is invalid in C99 [-Wimplicit-function-declaration] Fupcase_region (make_number (wordstart), make_number (point)); ^ abbrev.c:328:7: warning: implicit declaration of function 'Fcapitalize_word' is invalid in C99 [-Wimplicit-function-declaration] Fcapitalize_word (make_number (1)); ^ abbrev.c:379:3: warning: implicit declaration of function 'insert' is invalid in C99 [-Wimplicit-function-declaration] insert (" (", 5); ^ abbrev.c:435:7: warning: implicit declaration of function 'insert_string' is invalid in C99 [-Wimplicit-function-declaration] insert_string ("("); ^ abbrev.c:438:7: warning: implicit declaration of function 'map_obarray' is invalid in C99 [-Wimplicit-function-declaration] map_obarray (table, describe_abbrev, stream); ^ abbrev.c:487:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_abbrev () ^ abbrev.c:532:3: warning: implicit declaration of function 'defvar_per_buffer' is invalid in C99 [-Wimplicit-function-declaration] DEFVAR_PER_BUFFER ("local-abbrev-table", ¤t_buffer->abbrev_table, Qnil, ^ ./lisp.h:1015:2: note: expanded from macro 'DEFVAR_PER_BUFFER' defvar_per_buffer (lname, vname, type, 0) ^ abbrev.c:563:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 24 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include syntax.c In file included from syntax.c:46: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from syntax.c:46: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ syntax.c:121:9: warning: implicit declaration of function 'scan_buffer' is invalid in C99 [-Wimplicit-function-declaration] tem = scan_buffer ('\n', pos, -1, &shortage, 1); ^ syntax.c:193:3: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (XVECTOR (table)->contents, ^ syntax.c:285:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return XINT (syntax_spec_code[XFASTINT (code) & 0xFF]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:285:10: note: place parentheses around the '-' expression to silence this warning return XINT (syntax_spec_code[XFASTINT (code) & 0xFF]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:285:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return XINT (syntax_spec_code[XFASTINT (code) & 0xFF]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:285:10: note: place parentheses around the '-' expression to silence this warning return XINT (syntax_spec_code[XFASTINT (code) & 0xFF]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:294:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XFASTINT (code) >= (int) Smax) return XINT (0); /* K.Nozoe */ ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:294:45: note: place parentheses around the '-' expression to silence this warning if (XFASTINT (code) >= (int) Smax) return XINT (0); /* K.Nozoe */ ^~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:294:45: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XFASTINT (code) >= (int) Smax) return XINT (0); /* K.Nozoe */ ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:294:45: note: place parentheses around the '-' expression to silence this warning if (XFASTINT (code) >= (int) Smax) return XINT (0); /* K.Nozoe */ ^~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:295:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return XINT (syntax_code_spec[XFASTINT (code)]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:295:10: note: place parentheses around the '-' expression to silence this warning return XINT (syntax_code_spec[XFASTINT (code)]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:295:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return XINT (syntax_code_spec[XFASTINT (code)]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:295:10: note: place parentheses around the '-' expression to silence this warning return XINT (syntax_code_spec[XFASTINT (code)]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:307:20: warning: implicit declaration of function 'mchar_to_string' is invalid in C99 [-Wimplicit-function-declaration] register int i = CHARtoSTR (c, str); ^ ./charset.h:221:34: note: expanded from macro 'CHARtoSTR' *(s) = (unsigned int)(c), 1 : mchar_to_string(c, s)) ^ syntax.c:390:3: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] CHECK_NUMBER_COERCE_MARKER (pos, 0); ^ ./lisp.h:880:55: note: expanded from macro 'CHECK_NUMBER_COERCE_MARKER' do { if (XTYPE ((x)) == Lisp_Marker) XFASTINT (x) = marker_position (x); \ ^ syntax.c:413:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] modify_syntax_entry(c, tbl, syntax) ^ syntax.c:432:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ syntax.c:444:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] | SYNTAX_MATCH (XINT (ch))); ~~~~~~~~~~~~~~^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./syntax.h:90:30: note: expanded from macro 'SYNTAX_MATCH' ({ unsigned int character = c; \ ^ syntax.c:444:20: note: place parentheses around the '-' expression to silence this warning | SYNTAX_MATCH (XINT (ch))); ~~~~~~~~~~~~~~^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./syntax.h:90:30: note: expanded from macro 'SYNTAX_MATCH' ({ unsigned int character = c; \ ^ syntax.c:444:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] | SYNTAX_MATCH (XINT (ch))); ~~~~~~~~~~~~~~^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./syntax.h:90:30: note: expanded from macro 'SYNTAX_MATCH' ({ unsigned int character = c; \ ^ syntax.c:444:20: note: place parentheses around the '-' expression to silence this warning | SYNTAX_MATCH (XINT (ch))); ~~~~~~~~~~~~~~^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./syntax.h:90:30: note: expanded from macro 'SYNTAX_MATCH' ({ unsigned int character = c; \ ^ syntax.c:522:30: warning: expression result unused [-Wunused-value] while (NONASCII_P(*p)) *p++; ^~~~ syntax.c:577:7: warning: implicit declaration of function 'insert_string' is invalid in C99 [-Wimplicit-function-declaration] insert_string ("deeper\t"); ^ syntax.c:581:7: warning: implicit declaration of function 'describe_syntax_2' is invalid in C99 [-Wimplicit-function-declaration] describe_syntax_2 (value, parent); ^ syntax.c:591:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] code = (enum syntaxcode) (XINT (value) & 0377); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:591:29: note: place parentheses around the '-' expression to silence this warning code = (enum syntaxcode) (XINT (value) & 0377); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:591:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] code = (enum syntaxcode) (XINT (value) & 0377); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:591:29: note: place parentheses around the '-' expression to silence this warning code = (enum syntaxcode) (XINT (value) & 0377); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:592:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] match = (XINT (value) >> 8) & 0377; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:592:12: note: place parentheses around the '-' expression to silence this warning match = (XINT (value) >> 8) & 0377; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:592:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] match = (XINT (value) >> 8) & 0377; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:592:12: note: place parentheses around the '-' expression to silence this warning match = (XINT (value) >> 8) & 0377; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:593:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] start1 = (XINT (value) >> 16) & 1; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:593:13: note: place parentheses around the '-' expression to silence this warning start1 = (XINT (value) >> 16) & 1; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:593:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] start1 = (XINT (value) >> 16) & 1; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:593:13: note: place parentheses around the '-' expression to silence this warning start1 = (XINT (value) >> 16) & 1; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:594:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] start2 = (XINT (value) >> 17) & 1; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:594:13: note: place parentheses around the '-' expression to silence this warning start2 = (XINT (value) >> 17) & 1; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:594:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] start2 = (XINT (value) >> 17) & 1; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:594:13: note: place parentheses around the '-' expression to silence this warning start2 = (XINT (value) >> 17) & 1; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:595:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] end1 = (XINT (value) >> 18) & 1; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:595:11: note: place parentheses around the '-' expression to silence this warning end1 = (XINT (value) >> 18) & 1; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:595:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] end1 = (XINT (value) >> 18) & 1; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:595:11: note: place parentheses around the '-' expression to silence this warning end1 = (XINT (value) >> 18) & 1; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:596:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] end2 = (XINT (value) >> 19) & 1; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:596:11: note: place parentheses around the '-' expression to silence this warning end2 = (XINT (value) >> 19) & 1; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:596:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] end2 = (XINT (value) >> 19) & 1; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:596:11: note: place parentheses around the '-' expression to silence this warning end2 = (XINT (value) >> 19) & 1; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:597:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] prefix = (XINT (value) >> 20) & 1; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:597:13: note: place parentheses around the '-' expression to silence this warning prefix = (XINT (value) >> 20) & 1; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:597:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] prefix = (XINT (value) >> 20) & 1; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:597:13: note: place parentheses around the '-' expression to silence this warning prefix = (XINT (value) >> 20) & 1; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:598:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] comstyle = (XINT (value) >> 21) & 1; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:598:15: note: place parentheses around the '-' expression to silence this warning comstyle = (XINT (value) >> 21) & 1; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:598:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] comstyle = (XINT (value) >> 21) & 1; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:598:15: note: place parentheses around the '-' expression to silence this warning comstyle = (XINT (value) >> 21) & 1; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:608:3: warning: implicit declaration of function 'insert' is invalid in C99 [-Wimplicit-function-declaration] insert (str, 1); ^ syntax.c:611:5: warning: implicit declaration of function 'insert_character_description' is invalid in C99 [-Wimplicit-function-declaration] insert_character_description((parent & 0xFFFFFF00) | (unsigned char)match); ^ syntax.c:697:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] describe_syntax_2 (vector, parent) /* 93.6.7, 94.2.23 by K.Handa */ ^ syntax.c:723:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ syntax.c:730:3: warning: implicit declaration of function 'set_buffer_internal' is invalid in C99 [-Wimplicit-function-declaration] set_buffer_internal (XBUFFER (Vstandard_output)); ^ syntax.c:741:3: warning: implicit declaration of function 'internal_with_output_to_temp_buffer' is invalid in C99 [-Wimplicit-function-declaration] internal_with_output_to_temp_buffer ^ syntax.c:751:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] scan_words (from, count) ^ syntax.c:777:4: warning: implicit declaration of function 'string_to_mchar' is invalid in C99 [-Wimplicit-function-declaration] FETCH_MC_CHAR (c, from); ^ ./charset.h:201:9: note: expanded from macro 'FETCH_MC_CHAR' c = STRtoCHAR (p, len); \ ^ ./charset.h:225:11: note: expanded from macro 'STRtoCHAR' *(s) : string_to_mchar(s, len)) ^ syntax.c:817:18: warning: while loop has empty body [-Wempty-body] DEC_POS (temp); ^ syntax.c:817:18: note: put the semicolon on a separate line to silence this warning syntax.c:835:18: warning: while loop has empty body [-Wempty-body] DEC_POS (temp); ^ syntax.c:835:18: note: put the semicolon on a separate line to silence this warning syntax.c:874:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (count) > 0) re = Vforward_word_regexp, lim = ZV; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:874:11: note: place parentheses around the '-' expression to silence this warning if (XINT (count) > 0) re = Vforward_word_regexp, lim = ZV; ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:874:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (count) > 0) re = Vforward_word_regexp, lim = ZV; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:874:11: note: place parentheses around the '-' expression to silence this warning if (XINT (count) > 0) re = Vforward_word_regexp, lim = ZV; ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:876:17: warning: implicit declaration of function 'search_buffer' is invalid in C99 [-Wimplicit-function-declaration] if ((np = search_buffer(re, point, lim, XINT (count), 1, 0)) <= 0) ^ syntax.c:876:47: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if ((np = search_buffer(re, point, lim, XINT (count), 1, 0)) <= 0) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:876:47: note: place parentheses around the '-' expression to silence this warning if ((np = search_buffer(re, point, lim, XINT (count), 1, 0)) <= 0) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:876:47: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if ((np = search_buffer(re, point, lim, XINT (count), 1, 0)) <= 0) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:876:47: note: place parentheses around the '-' expression to silence this warning if ((np = search_buffer(re, point, lim, XINT (count), 1, 0)) <= 0) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:878:4: warning: implicit declaration of function 'set_point' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (lim); ^ ./buffer.h:46:27: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^ syntax.c:889:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(val = scan_words (point, XINT (count)))) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:889:34: note: place parentheses around the '-' expression to silence this warning if (!(val = scan_words (point, XINT (count)))) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:889:34: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (!(val = scan_words (point, XINT (count)))) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:889:34: note: place parentheses around the '-' expression to silence this warning if (!(val = scan_words (point, XINT (count)))) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:891:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SET_PT (XINT (count) > 0 ? ZV : BEGV); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./buffer.h:46:39: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^~~~~~~~ syntax.c:891:15: note: place parentheses around the '-' expression to silence this warning SET_PT (XINT (count) > 0 ? ZV : BEGV); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./buffer.h:46:39: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^~~~~~~~ syntax.c:891:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SET_PT (XINT (count) > 0 ? ZV : BEGV); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./buffer.h:46:39: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^~~~~~~~ syntax.c:891:15: note: place parentheses around the '-' expression to silence this warning SET_PT (XINT (count) > 0 ? ZV : BEGV); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./buffer.h:46:39: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^~~~~~~~ syntax.c:916:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] count1 = XINT (count); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:916:12: note: place parentheses around the '-' expression to silence this warning count1 = XINT (count); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:916:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] count1 = XINT (count); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:916:12: note: place parentheses around the '-' expression to silence this warning count1 = XINT (count); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:1289:23: warning: while loop has empty body [-Wempty-body] { INC_POS (from); break; } ^ syntax.c:1289:23: note: put the semicolon on a separate line to silence this warning syntax.c:1281:19: warning: while loop has empty body [-Wempty-body] INC_POS (from); ^ syntax.c:1281:19: note: put the semicolon on a separate line to silence this warning syntax.c:1331:13: warning: 14 enumeration values not handled in switch: 'Swhitespace', 'Spunct', 'Sword'... [-Wswitch] switch (SYNTAX(c)) ^ ./syntax.h:69:2: note: expanded from macro 'SYNTAX' ({ unsigned int character = c; \ ^ syntax.c:1225:12: warning: 6 enumeration values not handled in switch: 'Swhitespace', 'Spunct', 'Squote'... [-Wswitch] switch (code) ^ syntax.c:1363:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (quoted = char_quoted (from)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~ syntax.c:1363:15: note: place parentheses around the assignment to silence this warning if (quoted = char_quoted (from)) ^ ( ) syntax.c:1363:15: note: use '==' to turn this assignment into an equality comparison if (quoted = char_quoted (from)) ^ == syntax.c:1373:22: warning: while loop has empty body [-Wempty-body] DEC_POS (temp); ^ syntax.c:1373:22: note: put the semicolon on a separate line to silence this warning syntax.c:1412:19: warning: while loop has empty body [-Wempty-body] DEC_POS (temp); ^ syntax.c:1412:19: note: put the semicolon on a separate line to silence this warning syntax.c:1504:21: warning: while loop has empty body [-Wempty-body] DEC_POS (from); ^ syntax.c:1504:21: note: put the semicolon on a separate line to silence this warning syntax.c:1606:19: warning: while loop has empty body [-Wempty-body] DEC_POS (temp); ^ syntax.c:1606:19: note: put the semicolon on a separate line to silence this warning syntax.c:1426:22: warning: while loop has empty body [-Wempty-body] DEC_POS (temp); ^ syntax.c:1426:22: note: put the semicolon on a separate line to silence this warning syntax.c:1636:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ syntax.c:1649:20: warning: while loop has empty body [-Wempty-body] DEC_POS (pos); ^ syntax.c:1649:20: note: put the semicolon on a separate line to silence this warning syntax.c:1678:22: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return scan_lists (XINT (from), XINT (count), XINT (depth), 0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:1678:22: note: place parentheses around the '-' expression to silence this warning return scan_lists (XINT (from), XINT (count), XINT (depth), 0); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:1678:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return scan_lists (XINT (from), XINT (count), XINT (depth), 0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:1678:22: note: place parentheses around the '-' expression to silence this warning return scan_lists (XINT (from), XINT (count), XINT (depth), 0); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:1678:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return scan_lists (XINT (from), XINT (count), XINT (depth), 0); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:1678:35: note: place parentheses around the '-' expression to silence this warning return scan_lists (XINT (from), XINT (count), XINT (depth), 0); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:1678:35: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return scan_lists (XINT (from), XINT (count), XINT (depth), 0); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:1678:35: note: place parentheses around the '-' expression to silence this warning return scan_lists (XINT (from), XINT (count), XINT (depth), 0); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:1678:49: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return scan_lists (XINT (from), XINT (count), XINT (depth), 0); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:1678:49: note: place parentheses around the '-' expression to silence this warning return scan_lists (XINT (from), XINT (count), XINT (depth), 0); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:1678:49: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return scan_lists (XINT (from), XINT (count), XINT (depth), 0); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:1678:49: note: place parentheses around the '-' expression to silence this warning return scan_lists (XINT (from), XINT (count), XINT (depth), 0); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:1698:22: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return scan_lists (XINT (from), XINT (count), 0, 1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:1698:22: note: place parentheses around the '-' expression to silence this warning return scan_lists (XINT (from), XINT (count), 0, 1); ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:1698:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return scan_lists (XINT (from), XINT (count), 0, 1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:1698:22: note: place parentheses around the '-' expression to silence this warning return scan_lists (XINT (from), XINT (count), 0, 1); ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:1698:35: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return scan_lists (XINT (from), XINT (count), 0, 1); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:1698:35: note: place parentheses around the '-' expression to silence this warning return scan_lists (XINT (from), XINT (count), 0, 1); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:1698:35: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return scan_lists (XINT (from), XINT (count), 0, 1); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:1698:35: note: place parentheses around the '-' expression to silence this warning return scan_lists (XINT (from), XINT (count), 0, 1); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:1764:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] depth = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:1764:10: note: place parentheses around the '-' expression to silence this warning depth = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:1764:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] depth = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:1764:10: note: place parentheses around the '-' expression to silence this warning depth = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:1772:38: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] state.instring = !NILP (tem) ? XINT (tem) : -1; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:1772:38: note: place parentheses around the '-' expression to silence this warning state.instring = !NILP (tem) ? XINT (tem) : -1; ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:1772:38: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] state.instring = !NILP (tem) ? XINT (tem) : -1; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:1772:38: note: place parentheses around the '-' expression to silence this warning state.instring = !NILP (tem) ? XINT (tem) : -1; ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:1936:16: warning: 14 enumeration values not handled in switch: 'Swhitespace', 'Spunct', 'Sword'... [-Wswitch] switch (SYNTAX (FETCH_CHAR (from))) ^ ./syntax.h:69:2: note: expanded from macro 'SYNTAX' ({ unsigned int character = c; \ ^ syntax.c:1829:15: warning: 6 enumeration values not handled in switch: 'Swhitespace', 'Spunct', 'Squote'... [-Wswitch] switch (code) ^ syntax.c:2018:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] target = XINT (targetdepth); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:2018:16: note: place parentheses around the '-' expression to silence this warning target = XINT (targetdepth); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:2018:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] target = XINT (targetdepth); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:2018:16: note: place parentheses around the '-' expression to silence this warning target = XINT (targetdepth); ^~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:2023:3: warning: implicit declaration of function 'validate_region' is invalid in C99 [-Wimplicit-function-declaration] validate_region (&from, &to); ^ syntax.c:2024:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] scan_sexps_forward (&state, XINT (from), XINT (to), ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:2024:31: note: place parentheses around the '-' expression to silence this warning scan_sexps_forward (&state, XINT (from), XINT (to), ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:2024:31: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] scan_sexps_forward (&state, XINT (from), XINT (to), ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:2024:31: note: place parentheses around the '-' expression to silence this warning scan_sexps_forward (&state, XINT (from), XINT (to), ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:2024:44: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] scan_sexps_forward (&state, XINT (from), XINT (to), ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:2024:44: note: place parentheses around the '-' expression to silence this warning scan_sexps_forward (&state, XINT (from), XINT (to), ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:2024:44: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] scan_sexps_forward (&state, XINT (from), XINT (to), ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ syntax.c:2024:44: note: place parentheses around the '-' expression to silence this warning scan_sexps_forward (&state, XINT (from), XINT (to), ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ syntax.c:2041:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_syntax_once () ^ syntax.c:2077:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ syntax.c:2079:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_syntax () ^ syntax.c:2114:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 100 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include unexelf.c In file included from unexelf.c:428: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from unexelf.c:428: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ unexelf.c:637:2: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration] fatal ("Can't find %s in %s.\n", name, file_name); ^ unexelf.c:693:14: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] old_file = open (old_name, O_RDONLY); ^ 8 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include mocklisp.c In file included from mocklisp.c:23: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from mocklisp.c:23: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ mocklisp.c:58:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (val)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ mocklisp.c:58:11: note: place parentheses around the '-' expression to silence this warning if (XINT (val)) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ mocklisp.c:58:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (val)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ mocklisp.c:58:11: note: place parentheses around the '-' expression to silence this warning if (XINT (val)) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ mocklisp.c:91:1: warning: '/*' within block comment [-Wcomment] /* This is the main entry point to mocklisp execution. ^ mocklisp.c:102:3: warning: implicit declaration of function 'specbind' is invalid in C99 [-Wimplicit-function-declaration] specbind (Qmocklisp_arguments, args); ^ mocklisp.c:124:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (n, XINT (n) - 1); /* Mocklisp likes to be origin-1 */ ~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ mocklisp.c:124:15: note: place parentheses around the '-' expression to silence this warning XSETINT (n, XINT (n) - 1); /* Mocklisp likes to be origin-1 */ ~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ mocklisp.c:124:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (n, XINT (n) - 1); /* Mocklisp likes to be origin-1 */ ~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ mocklisp.c:124:15: note: place parentheses around the '-' expression to silence this warning XSETINT (n, XINT (n) - 1); /* Mocklisp likes to be origin-1 */ ~~~~~~~~~~~~^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ mocklisp.c:168:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else i = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ mocklisp.c:168:16: note: place parentheses around the '-' expression to silence this warning else i = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ mocklisp.c:168:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else i = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ mocklisp.c:168:16: note: place parentheses around the '-' expression to silence this warning else i = XINT (tem); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ mocklisp.c:216:2: warning: implicit declaration of function 'insert1' is invalid in C99 [-Wimplicit-function-declaration] insert1 (tem); ^ mocklisp.c:228:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_mocklisp () ^ mocklisp.c:243:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 17 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include bytecode.c In file included from bytecode.c:38: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from bytecode.c:38: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ bytecode.c:291:3: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero (stackp, XFASTINT (maxdepth) * sizeof (Lisp_Object)); ^ bytecode.c:291:3: note: include the header or explicitly provide a declaration for 'bzero' bytecode.c:350:16: warning: 16 enumeration values not handled in switch: 'Lisp_Int', 'Lisp_Marker', 'Lisp_String'... [-Wswitch] switch (XTYPE (v2)) ^ ./lisp.h:344:18: note: expanded from macro 'XTYPE' #define XTYPE(a) ((enum Lisp_Type) ((a) >> VALBITS)) ^ bytecode.c:396:4: warning: implicit declaration of function 'specbind' is invalid in C99 [-Wimplicit-function-declaration] specbind (vectorp[op], POP); ^ bytecode.c:554:4: warning: implicit declaration of function 'record_unwind_protect' is invalid in C99 [-Wimplicit-function-declaration] record_unwind_protect (save_excursion_restore, save_excursion_save ()); ^ bytecode.c:599:9: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] op = XINT (v2); ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ bytecode.c:599:9: note: place parentheses around the '-' expression to silence this warning op = XINT (v2); ^~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ bytecode.c:599:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] op = XINT (v2); ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ bytecode.c:599:9: note: place parentheses around the '-' expression to silence this warning op = XINT (v2); ^~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ bytecode.c:758:21: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (v1, XINT (v1) - 1); ~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ bytecode.c:758:21: note: place parentheses around the '-' expression to silence this warning XSETINT (v1, XINT (v1) - 1); ~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ bytecode.c:758:21: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (v1, XINT (v1) - 1); ~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ bytecode.c:758:21: note: place parentheses around the '-' expression to silence this warning XSETINT (v1, XINT (v1) - 1); ~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ bytecode.c:769:21: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (v1, XINT (v1) + 1); ~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ bytecode.c:769:21: note: place parentheses around the '-' expression to silence this warning XSETINT (v1, XINT (v1) + 1); ~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ bytecode.c:769:21: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (v1, XINT (v1) + 1); ~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ bytecode.c:769:21: note: place parentheses around the '-' expression to silence this warning XSETINT (v1, XINT (v1) + 1); ~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ bytecode.c:778:4: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] CHECK_NUMBER_OR_FLOAT_COERCE_MARKER (v1, 0); ^ ./lisp.h:900:53: note: expanded from macro 'CHECK_NUMBER_OR_FLOAT_COERCE_MARKER' do { if (XTYPE (x) == Lisp_Marker) XFASTINT (x) = marker_position (x); \ ^ bytecode.c:812:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (v1, - XINT (v1)); ~~~~~~~~~~~~~~~^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ bytecode.c:812:23: note: place parentheses around the '-' expression to silence this warning XSETINT (v1, - XINT (v1)); ~~~~~~~~~~~~~~~^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ bytecode.c:812:23: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (v1, - XINT (v1)); ~~~~~~~~~~~~~~~^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ bytecode.c:812:23: note: place parentheses around the '-' expression to silence this warning XSETINT (v1, - XINT (v1)); ~~~~~~~~~~~~~~~^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ bytecode.c:905:20: warning: implicit declaration of function 'current_column' is invalid in C99 [-Wimplicit-function-declaration] XFASTINT (v1) = current_column (); ^ bytecode.c:947:10: warning: implicit declaration of function 'Fforward_char' is invalid in C99 [-Wimplicit-function-declaration] TOP = Fforward_char (TOP); ^ bytecode.c:951:10: warning: implicit declaration of function 'Fforward_word' is invalid in C99 [-Wimplicit-function-declaration] TOP = Fforward_word (TOP); ^ bytecode.c:956:10: warning: implicit declaration of function 'Fskip_chars_forward' is invalid in C99 [-Wimplicit-function-declaration] TOP = Fskip_chars_forward (TOP, v1); ^ bytecode.c:961:10: warning: implicit declaration of function 'Fskip_chars_backward' is invalid in C99 [-Wimplicit-function-declaration] TOP = Fskip_chars_backward (TOP, v1); ^ bytecode.c:965:10: warning: implicit declaration of function 'Fforward_line' is invalid in C99 [-Wimplicit-function-declaration] TOP = Fforward_line (TOP); ^ bytecode.c:974:52: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (TOP) = syntax_code_spec[(int) SYNTAX (XINT (TOP))]; ~~~~~~~~^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./syntax.h:69:30: note: expanded from macro 'SYNTAX' ({ unsigned int character = c; \ ^ bytecode.c:974:52: note: place parentheses around the '-' expression to silence this warning XFASTINT (TOP) = syntax_code_spec[(int) SYNTAX (XINT (TOP))]; ~~~~~~~~^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./syntax.h:69:30: note: expanded from macro 'SYNTAX' ({ unsigned int character = c; \ ^ bytecode.c:974:52: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XFASTINT (TOP) = syntax_code_spec[(int) SYNTAX (XINT (TOP))]; ~~~~~~~~^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./syntax.h:69:30: note: expanded from macro 'SYNTAX' ({ unsigned int character = c; \ ^ bytecode.c:974:52: note: place parentheses around the '-' expression to silence this warning XFASTINT (TOP) = syntax_code_spec[(int) SYNTAX (XINT (TOP))]; ~~~~~~~~^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./syntax.h:69:30: note: expanded from macro 'SYNTAX' ({ unsigned int character = c; \ ^ bytecode.c:985:10: warning: implicit declaration of function 'Fdelete_region' is invalid in C99 [-Wimplicit-function-declaration] TOP = Fdelete_region (TOP, v1); ^ bytecode.c:990:10: warning: implicit declaration of function 'Fnarrow_to_region' is invalid in C99 [-Wimplicit-function-declaration] TOP = Fnarrow_to_region (TOP, v1); ^ bytecode.c:994:10: warning: implicit declaration of function 'Fwiden' is invalid in C99 [-Wimplicit-function-declaration] PUSH (Fwiden ()); ^ bytecode.c:998:10: warning: implicit declaration of function 'Fend_of_line' is invalid in C99 [-Wimplicit-function-declaration] TOP = Fend_of_line (TOP); ^ bytecode.c:1004:10: warning: implicit declaration of function 'Fset_marker' is invalid in C99 [-Wimplicit-function-declaration] TOP = Fset_marker (TOP, v2, v1); ^ bytecode.c:1008:10: warning: implicit declaration of function 'Fmatch_beginning' is invalid in C99 [-Wimplicit-function-declaration] TOP = Fmatch_beginning (TOP); ^ bytecode.c:1012:10: warning: implicit declaration of function 'Fmatch_end' is invalid in C99 [-Wimplicit-function-declaration] TOP = Fmatch_end (TOP); ^ bytecode.c:1052:10: warning: implicit declaration of function 'Felt' is invalid in C99 [-Wimplicit-function-declaration] TOP = Felt (TOP, v1); ^ bytecode.c:1057:10: warning: implicit declaration of function 'Fmember' is invalid in C99 [-Wimplicit-function-declaration] TOP = Fmember (TOP, v1); ^ bytecode.c:1145:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_bytecode () ^ bytecode.c:1178:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 38 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include process.c In file included from process.c:83: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from process.c:83: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from process.c:158: ./coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ process.c:328:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_status (p) ^ process.c:336:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ process.c:403:12: warning: assigning to 'char *' from 'const char *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] signame = sys_siglist[code]; ^ ~~~~~~~~~~~~~~~~~ process.c:441:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register c, i; ~~~~~~~~ ^ process.c:441:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register c, i; ~~~~~~~~ ^ process.c:520:6: warning: implicit declaration of function 'setup_pty' is invalid in C99 [-Wimplicit-function-declaration] setup_pty (fd); ^ process.c:575:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] remove_process (proc) ^ process.c:582:3: warning: implicit declaration of function 'Fset_marker' is invalid in C99 [-Wimplicit-function-declaration] Fset_marker (XPROCESS (proc)->mark, Qnil, Qnil); ^ process.c:584:3: warning: implicit declaration of function 'deactivate_process' is invalid in C99 [-Wimplicit-function-declaration] deactivate_process (proc); ^ process.c:585:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ process.c:681:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XINT (XPROCESS (proc)->infd) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:681:12: note: place parentheses around the '-' expression to silence this warning else if (XINT (XPROCESS (proc)->infd) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:681:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XINT (XPROCESS (proc)->infd) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:681:12: note: place parentheses around the '-' expression to silence this warning else if (XINT (XPROCESS (proc)->infd) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:688:7: warning: implicit declaration of function 'status_notify' is invalid in C99 [-Wimplicit-function-declaration] status_notify (); ^ process.c:832:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] FD_CLR (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/fd_set.h:73:31: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:832:13: note: place parentheses around the '-' expression to silence this warning FD_CLR (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/fd_set.h:73:31: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:832:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] FD_CLR (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/fd_set.h:73:31: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:832:13: note: place parentheses around the '-' expression to silence this warning FD_CLR (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/fd_set.h:73:31: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:832:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] FD_CLR (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/fd_set.h:73:61: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:832:13: note: place parentheses around the '-' expression to silence this warning FD_CLR (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/fd_set.h:73:61: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:832:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] FD_CLR (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/fd_set.h:73:61: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:832:13: note: place parentheses around the '-' expression to silence this warning FD_CLR (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/fd_set.h:73:61: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:834:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] FD_SET (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/fd_set.h:71:31: note: expanded from macro 'FD_SET' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] |= (1 << ((n) & __NFDMASK))) ^ process.c:834:13: note: place parentheses around the '-' expression to silence this warning FD_SET (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/fd_set.h:71:31: note: expanded from macro 'FD_SET' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] |= (1 << ((n) & __NFDMASK))) ^ process.c:834:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] FD_SET (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/fd_set.h:71:31: note: expanded from macro 'FD_SET' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] |= (1 << ((n) & __NFDMASK))) ^ process.c:834:13: note: place parentheses around the '-' expression to silence this warning FD_SET (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/fd_set.h:71:31: note: expanded from macro 'FD_SET' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] |= (1 << ((n) & __NFDMASK))) ^ process.c:834:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] FD_SET (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/fd_set.h:71:60: note: expanded from macro 'FD_SET' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] |= (1 << ((n) & __NFDMASK))) ^ process.c:834:13: note: place parentheses around the '-' expression to silence this warning FD_SET (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/fd_set.h:71:60: note: expanded from macro 'FD_SET' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] |= (1 << ((n) & __NFDMASK))) ^ process.c:834:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] FD_SET (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/fd_set.h:71:60: note: expanded from macro 'FD_SET' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] |= (1 << ((n) & __NFDMASK))) ^ process.c:834:13: note: place parentheses around the '-' expression to silence this warning FD_SET (XINT (XPROCESS (proc)->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/fd_set.h:71:60: note: expanded from macro 'FD_SET' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] |= (1 << ((n) & __NFDMASK))) ^ process.c:881:3: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] CHECK_NATNUM (height, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:881:3: note: place parentheses around the '-' expression to silence this warning CHECK_NATNUM (height, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:881:3: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] CHECK_NATNUM (height, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:881:3: note: place parentheses around the '-' expression to silence this warning CHECK_NATNUM (height, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:882:3: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] CHECK_NATNUM (width, 0); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:882:3: note: place parentheses around the '-' expression to silence this warning CHECK_NATNUM (width, 0); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:882:3: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] CHECK_NATNUM (width, 0); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:882:3: note: place parentheses around the '-' expression to silence this warning CHECK_NATNUM (width, 0); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:873:39: note: expanded from macro 'CHECK_NATNUM' do { if (XTYPE ((x)) != Lisp_Int || XINT ((x)) < 0) \ ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:883:7: warning: implicit declaration of function 'set_window_size' is invalid in C99 [-Wimplicit-function-declaration] if (set_window_size (XINT (XPROCESS (proc)->infd), ^ process.c:883:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (set_window_size (XINT (XPROCESS (proc)->infd), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:883:24: note: place parentheses around the '-' expression to silence this warning if (set_window_size (XINT (XPROCESS (proc)->infd), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:883:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (set_window_size (XINT (XPROCESS (proc)->infd), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:883:24: note: place parentheses around the '-' expression to silence this warning if (set_window_size (XINT (XPROCESS (proc)->infd), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:884:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (height), XINT(width)) <= 0) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:884:10: note: place parentheses around the '-' expression to silence this warning XINT (height), XINT(width)) <= 0) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:884:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (height), XINT(width)) <= 0) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:884:10: note: place parentheses around the '-' expression to silence this warning XINT (height), XINT(width)) <= 0) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:884:25: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (height), XINT(width)) <= 0) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:884:25: note: place parentheses around the '-' expression to silence this warning XINT (height), XINT(width)) <= 0) ^~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:884:25: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XINT (height), XINT(width)) <= 0) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:884:25: note: place parentheses around the '-' expression to silence this warning XINT (height), XINT(width)) <= 0) ^~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:932:3: warning: implicit declaration of function 'set_buffer_internal' is invalid in C99 [-Wimplicit-function-declaration] set_buffer_internal (XBUFFER (Vstandard_output)); ^ process.c:933:3: warning: implicit declaration of function 'Fbuffer_disable_undo' is invalid in C99 [-Wimplicit-function-declaration] Fbuffer_disable_undo (Vstandard_output); ^ process.c:937:3: warning: implicit declaration of function 'write_string' is invalid in C99 [-Wimplicit-function-declaration] write_string ("\ ^ process.c:989:32: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf (tembuf, " %d", XFASTINT (tem)); ~~ ^~~~~~~~~~~~~~ %ld ./lisp.h:353:21: note: expanded from macro 'XFASTINT' #define XFASTINT(a) (a) ^~~ process.c:999:2: warning: implicit declaration of function 'insert_string' is invalid in C99 [-Wimplicit-function-declaration] insert_string ("(none)"); ^ process.c:1037:3: warning: implicit declaration of function 'internal_with_output_to_temp_buffer' is invalid in C99 [-Wimplicit-function-declaration] internal_with_output_to_temp_buffer ("*Process List*", ^ process.c:1105:7: warning: implicit declaration of function 'report_file_error' is invalid in C99 [-Wimplicit-function-declaration] report_file_error ("Setting current directory", ^ process.c:1151:7: warning: implicit declaration of function 'openp' is invalid in C99 [-Wimplicit-function-declaration] openp (Vexec_path, program, EXEC_SUFFIXES, &tem, 1); ^ process.c:1174:3: warning: implicit declaration of function 'record_unwind_protect' is invalid in C99 [-Wimplicit-function-declaration] record_unwind_protect (start_process_unwind, proc); ^ process.c:1187:3: warning: implicit declaration of function 'create_process' is invalid in C99 [-Wimplicit-function-declaration] create_process (proc, new_argv, current_dir); ^ process.c:1214:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (XPROCESS (proc)->pid) <= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1214:7: note: place parentheses around the '-' expression to silence this warning if (XINT (XPROCESS (proc)->pid) <= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:1214:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (XPROCESS (proc)->pid) <= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1214:7: note: place parentheses around the '-' expression to silence this warning if (XINT (XPROCESS (proc)->pid) <= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:1252:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] create_process (process, new_argv, current_dir) ^ process.c:1345:3: warning: implicit declaration of function 'encode_code' is invalid in C99 [-Wimplicit-function-declaration] encode_code(XPROCESS (process)->incode, &in_state[inchannel]); ^ process.c:1521:4: warning: implicit declaration of function 'child_setup_tty' is invalid in C99 [-Wimplicit-function-declaration] child_setup_tty (xforkout); ^ process.c:1522:2: warning: implicit declaration of function 'child_setup' is invalid in C99 [-Wimplicit-function-declaration] child_setup (xforkin, xforkout, xforkout, ^ process.c:1542:3: warning: implicit declaration of function 'stop_polling' is invalid in C99 [-Wimplicit-function-declaration] stop_polling (); ^ process.c:1549:3: warning: implicit declaration of function 'start_polling' is invalid in C99 [-Wimplicit-function-declaration] start_polling (); ^ process.c:1570:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ process.c:1622:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/bswap.h:72:41: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1622:36: note: place parentheses around the '-' expression to silence this warning port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:72:41: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1622:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/bswap.h:72:41: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1622:36: note: place parentheses around the '-' expression to silence this warning port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:72:41: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1622:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/include/sys/bswap.h:60:6: note: expanded from macro '__byte_swap_u16_constant' ((((x) & 0xff00) >> 8) | \ ^ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1622:36: note: place parentheses around the '-' expression to silence this warning port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/include/sys/bswap.h:60:6: note: expanded from macro '__byte_swap_u16_constant' ((((x) & 0xff00) >> 8) | \ ^ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1622:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/include/sys/bswap.h:60:6: note: expanded from macro '__byte_swap_u16_constant' ((((x) & 0xff00) >> 8) | \ ^ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1622:36: note: place parentheses around the '-' expression to silence this warning port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/include/sys/bswap.h:60:6: note: expanded from macro '__byte_swap_u16_constant' ((((x) & 0xff00) >> 8) | \ ^ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1622:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/include/sys/bswap.h:61:6: note: expanded from macro '__byte_swap_u16_constant' (((x) & 0x00ff) << 8)))) ^ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1622:36: note: place parentheses around the '-' expression to silence this warning port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/include/sys/bswap.h:61:6: note: expanded from macro '__byte_swap_u16_constant' (((x) & 0x00ff) << 8)))) ^ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1622:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/include/sys/bswap.h:61:6: note: expanded from macro '__byte_swap_u16_constant' (((x) & 0x00ff) << 8)))) ^ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1622:36: note: place parentheses around the '-' expression to silence this warning port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/include/sys/bswap.h:61:6: note: expanded from macro '__byte_swap_u16_constant' (((x) & 0x00ff) << 8)))) ^ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1622:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/bswap.h:73:58: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1622:36: note: place parentheses around the '-' expression to silence this warning port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:73:58: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1622:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/bswap.h:73:58: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1622:36: note: place parentheses around the '-' expression to silence this warning port = htons ((unsigned short) XINT (service)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:73:58: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/sys/cdefs.h:605:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ process.c:1626:33: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] svc_info = getservbyname (XSTRING (service)->data, "tcp"); ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/netdb.h:335:43: note: passing argument to parameter here struct servent *getservbyname(const char *, const char *); ^ process.c:1643:38: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] host_info_ptr = gethostbyname (XSTRING (host)->data); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/netdb.h:324:43: note: passing argument to parameter here struct hostent *gethostbyname(const char *); ^ process.c:1648:7: warning: implicit declaration of function 'Fsleep_for' is invalid in C99 [-Wimplicit-function-declaration] Fsleep_for (make_number (1), Qnil); ^ process.c:1669:28: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] host_info.h_length = strlen (addr_list[0]); ^ process.c:1669:28: note: include the header or explicitly provide a declaration for 'strlen' process.c:1672:3: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero (&address, sizeof address); ^ process.c:1672:3: note: include the header or explicitly provide a declaration for 'bzero' process.c:1673:3: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] bcopy (host_info_ptr->h_addr, (char *) &address.sin_addr, ^ process.c:1689:5: warning: implicit declaration of function 'unrequest_sigio' is invalid in C99 [-Wimplicit-function-declaration] unrequest_sigio (); ^ process.c:1695:3: warning: implicit declaration of function 'bind_polling_period' is invalid in C99 [-Wimplicit-function-declaration] bind_polling_period (10); ^ process.c:1715:2: warning: implicit declaration of function 'request_sigio' is invalid in C99 [-Wimplicit-function-declaration] request_sigio (); ^ process.c:1793:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] deactivate_process (proc) ^ process.c:1799:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] inchannel = XINT (p->infd); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1799:15: note: place parentheses around the '-' expression to silence this warning inchannel = XINT (p->infd); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:1799:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] inchannel = XINT (p->infd); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1799:15: note: place parentheses around the '-' expression to silence this warning inchannel = XINT (p->infd); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:1800:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] outchannel = XINT (p->outfd); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1800:16: note: place parentheses around the '-' expression to silence this warning outchannel = XINT (p->outfd); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:1800:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] outchannel = XINT (p->outfd); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1800:16: note: place parentheses around the '-' expression to silence this warning outchannel = XINT (p->outfd); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:1805:7: warning: implicit declaration of function 'flush_pending_output' is invalid in C99 [-Wimplicit-function-declaration] flush_pending_output (inchannel); ^ process.c:1835:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ process.c:1841:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] close_process_descs () ^ process.c:1850:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int in = XINT (XPROCESS (process)->infd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1850:13: note: place parentheses around the '-' expression to silence this warning int in = XINT (XPROCESS (process)->infd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:1850:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int in = XINT (XPROCESS (process)->infd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1850:13: note: place parentheses around the '-' expression to silence this warning int in = XINT (XPROCESS (process)->infd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:1851:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int out = XINT (XPROCESS (process)->outfd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1851:14: note: place parentheses around the '-' expression to silence this warning int out = XINT (XPROCESS (process)->outfd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:1851:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int out = XINT (XPROCESS (process)->outfd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1851:14: note: place parentheses around the '-' expression to silence this warning int out = XINT (XPROCESS (process)->outfd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:1858:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ process.c:1879:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] useconds = XINT (timeout_msecs); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1879:18: note: place parentheses around the '-' expression to silence this warning useconds = XINT (timeout_msecs); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:1879:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] useconds = XINT (timeout_msecs); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1879:18: note: place parentheses around the '-' expression to silence this warning useconds = XINT (timeout_msecs); ^~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:1886:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (timeout, XINT (timeout) + carry); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ process.c:1886:20: note: place parentheses around the '-' expression to silence this warning XSETINT (timeout, XINT (timeout) + carry); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ process.c:1886:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (timeout, XINT (timeout) + carry); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ process.c:1886:20: note: place parentheses around the '-' expression to silence this warning XSETINT (timeout, XINT (timeout) + carry); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ process.c:1894:24: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (timeout, XINT (timeout) - 1); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ process.c:1894:24: note: place parentheses around the '-' expression to silence this warning XSETINT (timeout, XINT (timeout) - 1); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ process.c:1894:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (timeout, XINT (timeout) - 1); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ process.c:1894:24: note: place parentheses around the '-' expression to silence this warning XSETINT (timeout, XINT (timeout) - 1); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ process.c:1905:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] seconds = XINT (timeout); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1905:17: note: place parentheses around the '-' expression to silence this warning seconds = XINT (timeout); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:1905:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] seconds = XINT (timeout); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1905:17: note: place parentheses around the '-' expression to silence this warning seconds = XINT (timeout); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:1921:6: warning: implicit declaration of function 'wait_reading_process_input' is invalid in C99 [-Wimplicit-function-declaration] (wait_reading_process_input (seconds, useconds, proc, 0) ^ process.c:1968:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) ^ process.c:1991:22: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] wait_channel = XINT (wait_proc->infd); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1991:22: note: place parentheses around the '-' expression to silence this warning wait_channel = XINT (wait_proc->infd); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:1991:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] wait_channel = XINT (wait_proc->infd); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:1991:22: note: place parentheses around the '-' expression to silence this warning wait_channel = XINT (wait_proc->infd); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2002:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] waiting_for_user_input_p = XINT (read_kbd); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2002:30: note: place parentheses around the '-' expression to silence this warning waiting_for_user_input_p = XINT (read_kbd); ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2002:30: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] waiting_for_user_input_p = XINT (read_kbd); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2002:30: note: place parentheses around the '-' expression to silence this warning waiting_for_user_input_p = XINT (read_kbd); ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2016:5: warning: implicit declaration of function 'prepare_menu_bars' is invalid in C99 [-Wimplicit-function-declaration] prepare_menu_bars (); ^ process.c:2023:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (read_kbd) >= 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2023:11: note: place parentheses around the '-' expression to silence this warning if (XINT (read_kbd) >= 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2023:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (read_kbd) >= 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2023:11: note: place parentheses around the '-' expression to silence this warning if (XINT (read_kbd) >= 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2058:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (read_kbd) < 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2058:11: note: place parentheses around the '-' expression to silence this warning if (XINT (read_kbd) < 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2058:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (read_kbd) < 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2058:11: note: place parentheses around the '-' expression to silence this warning if (XINT (read_kbd) < 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2059:2: warning: implicit declaration of function 'set_waiting_for_input' is invalid in C99 [-Wimplicit-function-declaration] set_waiting_for_input (&timeout); ^ process.c:2073:8: warning: implicit declaration of function 'clear_waiting_for_input' is invalid in C99 [-Wimplicit-function-declaration] clear_waiting_for_input (); ^ process.c:2091:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (! XINT (read_kbd) && wait_for_cell == 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2091:13: note: place parentheses around the '-' expression to silence this warning if (! XINT (read_kbd) && wait_for_cell == 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2091:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (! XINT (read_kbd) && wait_for_cell == 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2091:13: note: place parentheses around the '-' expression to silence this warning if (! XINT (read_kbd) && wait_for_cell == 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2100:2: warning: implicit declaration of function 'redisplay_preserve_echo_area' is invalid in C99 [-Wimplicit-function-declaration] redisplay_preserve_echo_area (); ^ process.c:2102:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (read_kbd) && detect_input_pending ()) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2102:11: note: place parentheses around the '-' expression to silence this warning if (XINT (read_kbd) && detect_input_pending ()) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2102:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (read_kbd) && detect_input_pending ()) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2102:11: note: place parentheses around the '-' expression to silence this warning if (XINT (read_kbd) && detect_input_pending ()) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2102:30: warning: implicit declaration of function 'detect_input_pending' is invalid in C99 [-Wimplicit-function-declaration] if (XINT (read_kbd) && detect_input_pending ()) ^ process.c:2116:7: warning: implicit declaration of function 'do_pending_window_change' is invalid in C99 [-Wimplicit-function-declaration] do_pending_window_change (); ^ process.c:2176:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if ((XINT (read_kbd) || wait_for_cell) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2176:12: note: place parentheses around the '-' expression to silence this warning if ((XINT (read_kbd) || wait_for_cell) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2176:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if ((XINT (read_kbd) || wait_for_cell) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2176:12: note: place parentheses around the '-' expression to silence this warning if ((XINT (read_kbd) || wait_for_cell) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2179:4: warning: implicit declaration of function 'swallow_events' is invalid in C99 [-Wimplicit-function-declaration] swallow_events (); ^ process.c:2194:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (read_kbd) && interrupt_input ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2194:11: note: place parentheses around the '-' expression to silence this warning if (XINT (read_kbd) && interrupt_input ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2194:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (read_kbd) && interrupt_input ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2194:11: note: place parentheses around the '-' expression to silence this warning if (XINT (read_kbd) && interrupt_input ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2204:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (read_kbd) || wait_for_cell) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2204:11: note: place parentheses around the '-' expression to silence this warning if (XINT (read_kbd) || wait_for_cell) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2204:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (read_kbd) || wait_for_cell) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2204:11: note: place parentheses around the '-' expression to silence this warning if (XINT (read_kbd) || wait_for_cell) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2233:16: warning: implicit declaration of function 'read_process_output' is invalid in C99 [-Wimplicit-function-declaration] nread = read_process_output (proc, channel); ^ process.c:2302:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (read_kbd) >= 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2302:7: note: place parentheses around the '-' expression to silence this warning if (XINT (read_kbd) >= 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2302:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (read_kbd) >= 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2302:7: note: place parentheses around the '-' expression to silence this warning if (XINT (read_kbd) >= 0) ^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2305:7: warning: implicit declaration of function 'clear_input_pending' is invalid in C99 [-Wimplicit-function-declaration] clear_input_pending (); ^ process.c:2320:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] read_process_output (proc, channel) ^ process.c:2388:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int outfd = XINT (XPROCESS (proc)->outfd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2388:20: note: place parentheses around the '-' expression to silence this warning int outfd = XINT (XPROCESS (proc)->outfd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2388:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int outfd = XINT (XPROCESS (proc)->outfd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2388:20: note: place parentheses around the '-' expression to silence this warning int outfd = XINT (XPROCESS (proc)->outfd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2418:7: warning: implicit declaration of function 'specbind' is invalid in C99 [-Wimplicit-function-declaration] specbind (Qinhibit_quit, Qt); ^ process.c:2427:2: warning: implicit declaration of function 'record_asynch_buffer_change' is invalid in C99 [-Wimplicit-function-declaration] record_asynch_buffer_change (); ^ process.c:2460:2: warning: implicit declaration of function 'set_point' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (clip_to_bounds (BEGV, marker_position (p->mark), ZV)); ^ ./buffer.h:46:27: note: expanded from macro 'SET_PT' #define SET_PT(position) (set_point ((position), current_buffer)) ^ process.c:2460:10: warning: implicit declaration of function 'clip_to_bounds' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (clip_to_bounds (BEGV, marker_position (p->mark), ZV)); ^ process.c:2460:32: warning: implicit declaration of function 'marker_position' is invalid in C99 [-Wimplicit-function-declaration] SET_PT (clip_to_bounds (BEGV, marker_position (p->mark), ZV)); ^ process.c:2467:2: warning: implicit declaration of function 'Fwiden' is invalid in C99 [-Wimplicit-function-declaration] Fwiden (); ^ process.c:2482:7: warning: implicit declaration of function 'insert_before_markers' is invalid in C99 [-Wimplicit-function-declaration] insert_before_markers (chars2, nchars2); /* 91.10.28 by K.Handa */ ^ process.c:2489:2: warning: implicit declaration of function 'Fnarrow_to_region' is invalid in C99 [-Wimplicit-function-declaration] Fnarrow_to_region (old_begv, old_zv); ^ process.c:2544:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] send_process (proc, buf, len, object) ^ process.c:2566:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (XPROCESS (proc)->outfd) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2566:7: note: place parentheses around the '-' expression to silence this warning if (XINT (XPROCESS (proc)->outfd) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2566:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (XPROCESS (proc)->outfd) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2566:7: note: place parentheses around the '-' expression to silence this warning if (XINT (XPROCESS (proc)->outfd) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2569:23: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] mccode = &out_state[XINT (XPROCESS (proc)->outfd)]; /* 92.3.24 by T.Enami */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2569:23: note: place parentheses around the '-' expression to silence this warning mccode = &out_state[XINT (XPROCESS (proc)->outfd)]; /* 92.3.24 by T.Enami */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2569:23: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] mccode = &out_state[XINT (XPROCESS (proc)->outfd)]; /* 92.3.24 by T.Enami */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2569:23: note: place parentheses around the '-' expression to silence this warning mccode = &out_state[XINT (XPROCESS (proc)->outfd)]; /* 92.3.24 by T.Enami */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2660:18: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] rv = write (XINT (XPROCESS (proc)->outfd), buf, this); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2660:18: note: place parentheses around the '-' expression to silence this warning rv = write (XINT (XPROCESS (proc)->outfd), buf, this); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2660:18: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] rv = write (XINT (XPROCESS (proc)->outfd), buf, this); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2660:18: note: place parentheses around the '-' expression to silence this warning rv = write (XINT (XPROCESS (proc)->outfd), buf, this); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2731:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ process.c:2749:3: warning: implicit declaration of function 'validate_region' is invalid in C99 [-Wimplicit-function-declaration] validate_region (&start, &end); ^ process.c:2751:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (start) < GPT && XINT (end) > GPT) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2751:7: note: place parentheses around the '-' expression to silence this warning if (XINT (start) < GPT && XINT (end) > GPT) ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2751:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (start) < GPT && XINT (end) > GPT) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2751:7: note: place parentheses around the '-' expression to silence this warning if (XINT (start) < GPT && XINT (end) > GPT) ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2751:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (start) < GPT && XINT (end) > GPT) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2751:29: note: place parentheses around the '-' expression to silence this warning if (XINT (start) < GPT && XINT (end) > GPT) ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2751:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (start) < GPT && XINT (end) > GPT) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2751:29: note: place parentheses around the '-' expression to silence this warning if (XINT (start) < GPT && XINT (end) > GPT) ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2752:5: warning: implicit declaration of function 'move_gap' is invalid in C99 [-Wimplicit-function-declaration] move_gap (start); ^ process.c:2754:12: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] start1 = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2754:12: note: place parentheses around the '-' expression to silence this warning start1 = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2754:12: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] start1 = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2754:12: note: place parentheses around the '-' expression to silence this warning start1 = XINT (start); ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2755:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] send_process (proc, &FETCH_CHAR (start1), XINT (end) - XINT (start), ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2755:45: note: place parentheses around the '-' expression to silence this warning send_process (proc, &FETCH_CHAR (start1), XINT (end) - XINT (start), ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2755:45: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] send_process (proc, &FETCH_CHAR (start1), XINT (end) - XINT (start), ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2755:45: note: place parentheses around the '-' expression to silence this warning send_process (proc, &FETCH_CHAR (start1), XINT (end) - XINT (start), ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2755:58: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] send_process (proc, &FETCH_CHAR (start1), XINT (end) - XINT (start), ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2755:58: note: place parentheses around the '-' expression to silence this warning send_process (proc, &FETCH_CHAR (start1), XINT (end) - XINT (start), ^~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2755:58: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] send_process (proc, &FETCH_CHAR (start1), XINT (end) - XINT (start), ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2755:58: note: place parentheses around the '-' expression to silence this warning send_process (proc, &FETCH_CHAR (start1), XINT (end) - XINT (start), ^~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2755:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_process (proc, &FETCH_CHAR (start1), XINT (end) - XINT (start), ^~~~~~~~~~~~~~~~~~~~ process.c:2775:23: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_process (proc, XSTRING (string)->data, XSTRING (string)->size, string); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ process.c:2808:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (p->infd) < 0) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2808:7: note: place parentheses around the '-' expression to silence this warning if (XINT (p->infd) < 0) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2808:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (p->infd) < 0) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2808:7: note: place parentheses around the '-' expression to silence this warning if (XINT (p->infd) < 0) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2830:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tcgetattr (XINT (p->infd), &t); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2830:15: note: place parentheses around the '-' expression to silence this warning tcgetattr (XINT (p->infd), &t); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2830:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tcgetattr (XINT (p->infd), &t); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2830:15: note: place parentheses around the '-' expression to silence this warning tcgetattr (XINT (p->infd), &t); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2831:24: warning: passing 'cc_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_process (proc, &t.c_cc[VINTR], 1, Qnil); ^~~~~~~~~~~~~~ process.c:2835:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tcgetattr (XINT (p->infd), &t); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2835:15: note: place parentheses around the '-' expression to silence this warning tcgetattr (XINT (p->infd), &t); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2835:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tcgetattr (XINT (p->infd), &t); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2835:15: note: place parentheses around the '-' expression to silence this warning tcgetattr (XINT (p->infd), &t); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2836:26: warning: passing 'cc_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_process (proc, &t.c_cc[VQUIT], 1, Qnil); ^~~~~~~~~~~~~~ process.c:2840:15: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tcgetattr (XINT (p->infd), &t); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2840:15: note: place parentheses around the '-' expression to silence this warning tcgetattr (XINT (p->infd), &t); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2840:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] tcgetattr (XINT (p->infd), &t); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2840:15: note: place parentheses around the '-' expression to silence this warning tcgetattr (XINT (p->infd), &t); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2844:24: warning: passing 'cc_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] send_process (proc, &t.c_cc[VSUSP], 1, Qnil); ^~~~~~~~~~~~~~ process.c:2922:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] err = ioctl (XINT (p->infd), TIOCGPGRP, &gid); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2922:17: note: place parentheses around the '-' expression to silence this warning err = ioctl (XINT (p->infd), TIOCGPGRP, &gid); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2922:17: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] err = ioctl (XINT (p->infd), TIOCGPGRP, &gid); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2922:17: note: place parentheses around the '-' expression to silence this warning err = ioctl (XINT (p->infd), TIOCGPGRP, &gid); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2969:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] flush_pending_output (XINT (p->infd)); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2969:29: note: place parentheses around the '-' expression to silence this warning flush_pending_output (XINT (p->infd)); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:2969:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] flush_pending_output (XINT (p->infd)); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:2969:29: note: place parentheses around the '-' expression to silence this warning flush_pending_output (XINT (p->infd)); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3069:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return make_number (kill (XINT (pid), XINT (sig))); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3069:29: note: place parentheses around the '-' expression to silence this warning return make_number (kill (XINT (pid), XINT (sig))); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3069:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return make_number (kill (XINT (pid), XINT (sig))); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3069:29: note: place parentheses around the '-' expression to silence this warning return make_number (kill (XINT (pid), XINT (sig))); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3069:41: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return make_number (kill (XINT (pid), XINT (sig))); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3069:41: note: place parentheses around the '-' expression to silence this warning return make_number (kill (XINT (pid), XINT (sig))); ^~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3069:41: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] return make_number (kill (XINT (pid), XINT (sig))); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3069:41: note: place parentheses around the '-' expression to silence this warning return make_number (kill (XINT (pid), XINT (sig))); ^~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3108:14: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] close (XINT (XPROCESS (proc)->outfd)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3108:14: note: place parentheses around the '-' expression to silence this warning close (XINT (XPROCESS (proc)->outfd)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3108:14: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] close (XINT (XPROCESS (proc)->outfd)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3108:14: note: place parentheses around the '-' expression to silence this warning close (XINT (XPROCESS (proc)->outfd)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3119:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kill_buffer_processes (buffer) ^ process.c:3133:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XINT (XPROCESS (proc)->infd) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3133:13: note: place parentheses around the '-' expression to silence this warning else if (XINT (XPROCESS (proc)->infd) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3133:13: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] else if (XINT (XPROCESS (proc)->infd) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3133:13: note: place parentheses around the '-' expression to silence this warning else if (XINT (XPROCESS (proc)->infd) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3137:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ process.c:3188:17: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] pid = wait3 (&w, WNOHANG | WUNTRACED, 0); ^~ /usr/include/sys/wait.h:208:18: note: passing argument to parameter here pid_t wait3(int *, int, struct rusage *) __RENAME(__wait350); ^ process.c:3231:40: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (p->pid) == Lisp_Int && XINT (p->pid) == -1) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3231:40: note: place parentheses around the '-' expression to silence this warning if (XTYPE (p->pid) == Lisp_Int && XINT (p->pid) == -1) ^~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3231:40: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XTYPE (p->pid) == Lisp_Int && XINT (p->pid) == -1) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3231:40: note: place parentheses around the '-' expression to silence this warning if (XTYPE (p->pid) == Lisp_Int && XINT (p->pid) == -1) ^~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3248:10: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (p->infd) >= 0) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3248:10: note: place parentheses around the '-' expression to silence this warning if (XINT (p->infd) >= 0) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3248:10: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (p->infd) >= 0) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3248:10: note: place parentheses around the '-' expression to silence this warning if (XINT (p->infd) >= 0) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3249:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] FD_CLR (XINT (p->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/fd_set.h:73:31: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:3249:16: note: place parentheses around the '-' expression to silence this warning FD_CLR (XINT (p->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/fd_set.h:73:31: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:3249:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] FD_CLR (XINT (p->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/fd_set.h:73:31: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:3249:16: note: place parentheses around the '-' expression to silence this warning FD_CLR (XINT (p->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/fd_set.h:73:31: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:3249:16: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] FD_CLR (XINT (p->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/fd_set.h:73:61: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:3249:16: note: place parentheses around the '-' expression to silence this warning FD_CLR (XINT (p->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/fd_set.h:73:61: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:3249:16: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] FD_CLR (XINT (p->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ /usr/include/sys/fd_set.h:73:61: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:3249:16: note: place parentheses around the '-' expression to silence this warning FD_CLR (XINT (p->infd), &input_wait_mask); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ /usr/include/sys/fd_set.h:73:61: note: expanded from macro 'FD_CLR' ((p)->fds_bits[(unsigned)(n) >> __NFDSHIFT] &= ~(1 << ((n) & __NFDMASK))) ^ process.c:3274:13: warning: assigning to 'char *' from 'const char *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] signame = sys_siglist[code]; ^ ~~~~~~~~~~~~~~~~~ process.c:3351:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] status_notify () ^ process.c:3373:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (p->tick) != XINT (p->update_tick)) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3373:11: note: place parentheses around the '-' expression to silence this warning if (XINT (p->tick) != XINT (p->update_tick)) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3373:11: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (p->tick) != XINT (p->update_tick)) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3373:11: note: place parentheses around the '-' expression to silence this warning if (XINT (p->tick) != XINT (p->update_tick)) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3373:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (p->tick) != XINT (p->update_tick)) ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3373:29: note: place parentheses around the '-' expression to silence this warning if (XINT (p->tick) != XINT (p->update_tick)) ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3373:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (p->tick) != XINT (p->update_tick)) ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3373:29: note: place parentheses around the '-' expression to silence this warning if (XINT (p->tick) != XINT (p->update_tick)) ^~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3375:29: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (p->update_tick, XINT (p->tick)); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ process.c:3375:29: note: place parentheses around the '-' expression to silence this warning XSETINT (p->update_tick, XINT (p->tick)); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ process.c:3375:29: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] XSETINT (p->update_tick, XINT (p->tick)); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ process.c:3375:29: note: place parentheses around the '-' expression to silence this warning XSETINT (p->update_tick, XINT (p->tick)); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./lisp.h:393:87: note: expanded from macro 'XSETINT' #define XSETINT(a, b) ((a) = (Lisp_Object_Int)((a) & ~VALMASK) | (Lisp_Object_Int)((b) & VALMASK)) ^ process.c:3378:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (p->infd) >= 0) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3378:8: note: place parentheses around the '-' expression to silence this warning if (XINT (p->infd) >= 0) ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3378:8: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (p->infd) >= 0) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3378:8: note: place parentheses around the '-' expression to silence this warning if (XINT (p->infd) >= 0) ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3380:36: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && read_process_output (proc, XINT (p->infd)) > 0); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3380:36: note: place parentheses around the '-' expression to silence this warning && read_process_output (proc, XINT (p->infd)) > 0); ^~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3380:36: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && read_process_output (proc, XINT (p->infd)) > 0); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3380:36: note: place parentheses around the '-' expression to silence this warning && read_process_output (proc, XINT (p->infd)) > 0); ^~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3453:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ process.c:3482:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (XPROCESS (proc)->infd) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3482:7: note: place parentheses around the '-' expression to silence this warning if (XINT (XPROCESS (proc)->infd) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3482:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (XPROCESS (proc)->infd) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3482:7: note: place parentheses around the '-' expression to silence this warning if (XINT (XPROCESS (proc)->infd) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3485:7: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (XPROCESS (proc)->outfd) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3485:7: note: place parentheses around the '-' expression to silence this warning if (XINT (XPROCESS (proc)->outfd) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3485:7: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] if (XINT (XPROCESS (proc)->outfd) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3485:7: note: place parentheses around the '-' expression to silence this warning if (XINT (XPROCESS (proc)->outfd) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3492:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] &in_state[XINT (XPROCESS (proc)->infd)]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3492:19: note: place parentheses around the '-' expression to silence this warning &in_state[XINT (XPROCESS (proc)->infd)]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3492:19: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] &in_state[XINT (XPROCESS (proc)->infd)]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3492:19: note: place parentheses around the '-' expression to silence this warning &in_state[XINT (XPROCESS (proc)->infd)]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3494:20: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] &out_state[XINT (XPROCESS (proc)->outfd)]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3494:20: note: place parentheses around the '-' expression to silence this warning &out_state[XINT (XPROCESS (proc)->outfd)]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3494:20: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] &out_state[XINT (XPROCESS (proc)->outfd)]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ~~~~~~~~^~~~~~~~ process.c:3494:20: note: place parentheses around the '-' expression to silence this warning &out_state[XINT (XPROCESS (proc)->outfd)]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~~~~~~~^~~~~~~~ process.c:3496:25: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] CODE_CNTL (&out_state[XINT (XPROCESS (proc)->outfd)]) |= CC_END; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./coding.h:191:28: note: expanded from macro 'CODE_CNTL' #define CODE_CNTL(mccode) (mccode)->cntl ^~~~~~ process.c:3496:25: note: place parentheses around the '-' expression to silence this warning CODE_CNTL (&out_state[XINT (XPROCESS (proc)->outfd)]) |= CC_END; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:51: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./coding.h:191:28: note: expanded from macro 'CODE_CNTL' #define CODE_CNTL(mccode) (mccode)->cntl ^~~~~~ process.c:3496:25: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] CODE_CNTL (&out_state[XINT (XPROCESS (proc)->outfd)]) |= CC_END; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ~~ ^ ./coding.h:191:28: note: expanded from macro 'CODE_CNTL' #define CODE_CNTL(mccode) (mccode)->cntl ^~~~~~ process.c:3496:25: note: place parentheses around the '-' expression to silence this warning CODE_CNTL (&out_state[XINT (XPROCESS (proc)->outfd)]) |= CC_END; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:359:72: note: expanded from macro 'XINT' #define XINT(a) (((Lisp_Object_Int)(a) << LONGBITS-VALBITS) >> LONGBITS-VALBITS) ^ ./coding.h:191:28: note: expanded from macro 'CODE_CNTL' #define CODE_CNTL(mccode) (mccode)->cntl ^~~~~~ process.c:3501:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_process () ^ process.c:3524:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ process.c:3537:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_process () ^ process.c:3621:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 221 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include callproc.c In file included from callproc.c:57: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from callproc.c:57: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from callproc.c:108: ./coding.h:211:32: warning: '/*' within block comment [-Wcomment] /* #define CODE_ASCII_EOT 0x04 /* not used now */ ^ callproc.c:206:7: warning: implicit declaration of function 'record_unwind_protect' is invalid in C99 [-Wimplicit-function-declaration] record_unwind_protect (call_process_kill, fdpid); ^ callproc.c:207:7: warning: implicit declaration of function 'message1' is invalid in C99 [-Wimplicit-function-declaration] message1 ("Waiting for process to die...(type C-g again to kill it instantly)"); ^ callproc.c:210:7: warning: implicit declaration of function 'wait_for_termination' is invalid in C99 [-Wimplicit-function-declaration] wait_for_termination (pid); ^ callproc.c:257:3: warning: implicit declaration of function 'encode_code' is invalid in C99 [-Wimplicit-function-declaration] encode_code(Fcheck_code(nargs < 5 ? Qnil : args[4]), &mccode); ^ callproc.c:312:7: warning: implicit declaration of function 'report_file_error' is invalid in C99 [-Wimplicit-function-declaration] report_file_error ("Setting current directory", ^ callproc.c:320:18: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] filefd = open (XSTRING (infile)->data, O_RDONLY, 0); ^~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/fcntl.h:307:22: note: passing argument to parameter here int open(const char *, int, ...); ^ callproc.c:330:5: warning: implicit declaration of function 'openp' is invalid in C99 [-Wimplicit-function-declaration] openp (Vexec_path, args[0], EXEC_SUFFIXES, &path, 1); ^ callproc.c:456:2: warning: implicit declaration of function 'child_setup' is invalid in C99 [-Wimplicit-function-declaration] child_setup (filefd, fd1, fd1, new_argv, 0, current_dir); ^ callproc.c:556:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (nread = encode(&mccode, buf, buf2, nread, &dummy)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callproc.c:556:13: note: place parentheses around the assignment to silence this warning if (nread = encode(&mccode, buf, buf2, nread, &dummy)) ^ ( ) callproc.c:556:13: note: use '==' to turn this assignment into an equality comparison if (nread = encode(&mccode, buf, buf2, nread, &dummy)) ^ == callproc.c:557:5: warning: implicit declaration of function 'insert' is invalid in C99 [-Wimplicit-function-declaration] insert (buf2, nread); ^ callproc.c:568:8: warning: implicit declaration of function 'prepare_menu_bars' is invalid in C99 [-Wimplicit-function-declaration] prepare_menu_bars (); ^ callproc.c:570:6: warning: implicit declaration of function 'redisplay_preserve_echo_area' is invalid in C99 [-Wimplicit-function-declaration] redisplay_preserve_echo_area (); ^ callproc.c:582:3: warning: implicit declaration of function 'set_buffer_internal' is invalid in C99 [-Wimplicit-function-declaration] set_buffer_internal (old); ^ callproc.c:842:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] child_setup (in, out, err, new_argv, set_pgrp, current_dir) ^ callproc.c:868:3: warning: implicit declaration of function 'close_process_descs' is invalid in C99 [-Wimplicit-function-declaration] close_process_descs (); ^ callproc.c:870:3: warning: implicit declaration of function 'close_load_descs' is invalid in C99 [-Wimplicit-function-declaration] close_load_descs (); ^ callproc.c:960:8: warning: implicit declaration of function 'relocate_fd' is invalid in C99 [-Wimplicit-function-declaration] in = relocate_fd (in, 3); ^ callproc.c:1077:24: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (getenv_internal (XSTRING (var)->data, XSTRING (var)->size, ^~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ callproc.c:1103:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_callproc_1 () ^ callproc.c:1120:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ callproc.c:1124:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_callproc () ^ callproc.c:1137:17: warning: implicit declaration of function 'Fmember' is invalid in C99 [-Wimplicit-function-declaration] if (NILP (Fmember (tem, Vexec_path))) ^ callproc.c:1181:15: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (access (XSTRING (tempdir)->data, 0) < 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/unistd.h:88:25: note: passing argument to parameter here int access(const char *, int); ^ callproc.c:1190:15: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (access (XSTRING (tempdir)->data, 0) < 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./lisp.h:488:20: note: expanded from macro 'XSTRING' #define XSTRING(a) ((struct Lisp_String *) XPNTR(a)) ^ /usr/include/unistd.h:88:25: note: passing argument to parameter here int access(const char *, int); ^ callproc.c:1219:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ callproc.c:1221:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_process_environment () ^ callproc.c:1232:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ callproc.c:1234:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] syms_of_callproc () ^ callproc.c:1296:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 36 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include doprnt.c In file included from doprnt.c:29: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from doprnt.c:29: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ doprnt.c:45:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] doprnt (buffer, bufsize, format, format_end, nargs, args) ^ doprnt.c:78:27: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] format_end = format + strlen (format); ^ doprnt.c:78:27: note: include the header or explicitly provide a declaration for 'strlen' doprnt.c:169:15: warning: implicit declaration of function 'strwidth' is invalid in C99 [-Wimplicit-function-declaration] tem2 = strwidth (string); /* 93.6.18 by K.Handa */ ^ doprnt.c:182:8: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy (bufptr, string, tem); ^ doprnt.c:182:8: note: include the header or explicitly provide a declaration for 'strncpy' doprnt.c:201:14: warning: implicit declaration of function 'mchar_to_string' is invalid in C99 [-Wimplicit-function-declaration] tem = CHARtoSTR (args[cnt], charbuf); ^ ./charset.h:221:34: note: expanded from macro 'CHARtoSTR' *(s) = (unsigned int)(c), 1 : mchar_to_string(c, s)) ^ 11 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include terminfo.c terminfo.c:27:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static buffer[512]; ~~~~~~ ^ terminfo.c:47:28: warning: implicit declaration of function 'malloc' is invalid in C99 [-Wimplicit-function-declaration] outstring = ((char *) (malloc ((strlen (temp)) + 1))); ^ terminfo.c:47:37: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] outstring = ((char *) (malloc ((strlen (temp)) + 1))); ^ terminfo.c:47:37: note: include the header or explicitly provide a declaration for 'strlen' terminfo.c:47:18: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] outstring = ((char *) (malloc ((strlen (temp)) + 1))); ^ terminfo.c:48:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy (outstring, temp); ^ terminfo.c:48:3: note: include the header or explicitly provide a declaration for 'strcpy' 5 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include lastfile.c clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include gmalloc.c In file included from gmalloc.c:36: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from gmalloc.c:36: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ 6 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include ralloc.c In file included from ralloc.c:30: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from ralloc.c:30: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ 6 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include vm-limit.c In file included from vm-limit.c:21: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from vm-limit.c:21: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ 6 warnings generated. clang -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include widget.c In file included from widget.c:22: ./config.h:196:5: warning: '/*' within block comment [-Wcomment] s/*.h file that describes the system type you are using. The file ^ ./config.h:202:51: warning: '/*' within block comment [-Wcomment] See s/template.h for documentation on writing s/*.h files. */ ^ ./config.h:207:5: warning: '/*' within block comment [-Wcomment] m/*.h file that describes the machine you are using. The file is ^ ./config.h:213:51: warning: '/*' within block comment [-Wcomment] See m/template.h for documentation on writing m/*.h files. */ ^ ./config.h:241:39: warning: '/*' within block comment [-Wcomment] for the ones where they work, the s/*.h file defines this flag. */ ^ In file included from widget.c:22: In file included from ./config.h:336: ./mcpath.h:26:38: warning: '/*' within block comment [-Wcomment] /* not to confuse while compiling etc/*.c */ ^ In file included from widget.c:26: ./xterm.h:594:1: warning: '/*' within block comment [-Wcomment] /* Return the upper/left pixel position of the character cell on frame F ^ widget.c:231:32: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Wimplicit-function-declaration] if (! XtIsWMShell (wmshell)) abort (); ^ widget.c:231:32: note: include the header or explicitly provide a declaration for 'abort' widget.c:492:3: warning: implicit declaration of function 'check_frame_size' is invalid in C99 [-Wimplicit-function-declaration] check_frame_size (ew->emacs_frame.frame, &min_rows, &min_cols); ^ widget.c:517:5: warning: missing sentinel in function call [-Wsentinel] 0); ^ , NULL /data/scratch/editors/mule/work/.buildlink/include/X11/Intrinsic.h:1592:13: note: function has been explicitly marked sentinel here extern void XtVaSetValues( ^ widget.c:651:7: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (1); ^ widget.c:651:7: note: include the header or explicitly provide a declaration for 'exit' widget.c:829:68: warning: missing sentinel in function call [-Wsentinel] XtVaSetValues (wmshell, XtNiconic, new->emacs_frame.iconic, 0); ^ , NULL /data/scratch/editors/mule/work/.buildlink/include/X11/Intrinsic.h:1592:13: note: function has been explicitly marked sentinel here extern void XtVaSetValues( ^ widget.c:898:7: warning: implicit declaration of function 'XawPanedSetRefigureMode' is invalid in C99 [-Wimplicit-function-declaration] XawPanedSetRefigureMode (f->display.x->column_widget, False); ^ 13 warnings generated. clang -Demacs -DHAVE_CONFIG_H -I. -I/data/scratch/editors/mule/work/mule/src -DMCPATH -I/data/scratch/editors/mule/work/mule/src/mcpath/include -O2 -g -fno-builtin-malloc -fno-strict-aliasing -I/usr/pkg/include /data/scratch/editors/mule/work/mule/src/prefix-args.c -o prefix-args /data/scratch/editors/mule/work/mule/src/prefix-args.c:29:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ /data/scratch/editors/mule/work/mule/src/prefix-args.c:43:7: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (2); ^ /data/scratch/editors/mule/work/mule/src/prefix-args.c:43:7: note: include the header or explicitly provide a declaration for 'exit' 2 warnings generated. clang `echo | sed -e 's/-R/-Wl,-rpath,/'` -Wl,-znocombreloc -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o temacs dispnew.o frame.o scroll.o xdisp.o window.o cm.o term.o xterm.o xfns.o xfaces.o xmenu.o xselect.o xrdb.o mule.o charset.o coding.o fontset.o category.o ccl.o mcpath.o wnnfns.o canna.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o intervals.o textprop.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 mocklisp.o bytecode.o process.o callproc.o doprnt.o terminfo.o lastfile.o gmalloc.o ralloc.o vm-limit.o widget.o liblw.a -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lcrypt -lterminfo -lwnn -lcanna -lm canna.o: In function `Fcanna_initialize': /data/scratch/editors/mule/work/mule/src/canna.c:419: warning: warning: libcanna: using old wchar API; consider to use new one. buffer.o: In function `init_buffer': /data/scratch/editors/mule/work/mule/src/buffer.c:2640: warning: warning: getwd() possibly used unsafely, consider using getcwd() fileio.o: In function `Fmake_temp_name': /data/scratch/editors/mule/work/mule/src/fileio.c:773: warning: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp() rm -f ../etc/DOC ../lib-src/make-docfile -d /data/scratch/editors/mule/work/mule/src dispnew.o frame.o scroll.o xdisp.o window.o cm.o term.o xterm.o xfns.o xfaces.o xmenu.o xselect.o xrdb.o mule.o charset.o coding.o fontset.o category.o ccl.o mcpath.o wnnfns.o canna.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o intervals.o textprop.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 mocklisp.o bytecode.o process.o callproc.o doprnt.o sunfns.o /data/scratch/editors/mule/work/mule/src/../lisp/ccl.elc /data/scratch/editors/mule/work/mule/src/../lisp/gnusutil.elc /data/scratch/editors/mule/work/mule/src/../lisp/isearch-ext.elc /data/scratch/editors/mule/work/mule/src/../lisp/keyboard.elc /data/scratch/editors/mule/work/mule/src/../lisp/kinsoku.elc /data/scratch/editors/mule/work/mule/src/../lisp/mule.elc /data/scratch/editors/mule/work/mule/src/../lisp/mule-conf.el /data/scratch/editors/mule/work/mule/src/../lisp/mule-diag.elc /data/scratch/editors/mule/work/mule/src/../lisp/mule-init.elc /data/scratch/editors/mule/work/mule/src/../lisp/mule-util.elc /data/scratch/editors/mule/work/mule/src/../lisp/quail.elc /data/scratch/editors/mule/work/mule/src/../lisp/trex.elc /data/scratch/editors/mule/work/mule/src/../lisp/visual.elc /data/scratch/editors/mule/work/mule/src/../lisp/arabic.elc /data/scratch/editors/mule/work/mule/src/../lisp/chinese.elc /data/scratch/editors/mule/work/mule/src/../lisp/cyrillic.elc /data/scratch/editors/mule/work/mule/src/../lisp/ethio.elc /data/scratch/editors/mule/work/mule/src/../lisp/european.elc /data/scratch/editors/mule/work/mule/src/../lisp/japanese.elc /data/scratch/editors/mule/work/mule/src/../lisp/korean.elc /data/scratch/editors/mule/work/mule/src/../lisp/thai.elc /data/scratch/editors/mule/work/mule/src/../lisp/viet.elc /data/scratch/editors/mule/work/mule/src/../lisp/egg.elc /data/scratch/editors/mule/work/mule/src/../lisp/wnn-egg.elc /data/scratch/editors/mule/work/mule/src/../lisp/canna.elc /data/scratch/editors/mule/work/mule/src/../lisp/abbrev.elc /data/scratch/editors/mule/work/mule/src/../lisp/buff-menu.elc /data/scratch/editors/mule/work/mule/src/../lisp/byte-run.elc /data/scratch/editors/mule/work/mule/src/../lisp/c-mode.elc /data/scratch/editors/mule/work/mule/src/../lisp/faces.elc /data/scratch/editors/mule/work/mule/src/../lisp/files.elc /data/scratch/editors/mule/work/mule/src/../lisp/fill.elc /data/scratch/editors/mule/work/mule/src/../lisp/float-sup.elc /data/scratch/editors/mule/work/mule/src/../lisp/frame.elc /data/scratch/editors/mule/work/mule/src/../lisp/menu-bar.elc /data/scratch/editors/mule/work/mule/src/../lisp/mouse.elc /data/scratch/editors/mule/work/mule/src/../lisp/select.elc /data/scratch/editors/mule/work/mule/src/../lisp/scroll-bar.elc /data/scratch/editors/mule/work/mule/src/../lisp/faces.elc /data/scratch/editors/mule/work/mule/src/../lisp/help.elc /data/scratch/editors/mule/work/mule/src/../lisp/indent.elc /data/scratch/editors/mule/work/mule/src/../lisp/isearch.elc /data/scratch/editors/mule/work/mule/src/../lisp/lisp-mode.elc /data/scratch/editors/mule/work/mule/src/../lisp/lisp.elc /data/scratch/editors/mule/work/mule/src/../lisp/loaddefs.el /data/scratch/editors/mule/work/mule/src/../lisp/map-ynp.elc /data/scratch/editors/mule/work/mule/src/../lisp/page.elc /data/scratch/editors/mule/work/mule/src/../lisp/paragraphs.elc /data/scratch/editors/mule/work/mule/src/../lisp/paths.el /data/scratch/editors/mule/work/mule/src/../lisp/register.elc /data/scratch/editors/mule/work/mule/src/../lisp/replace.elc /data/scratch/editors/mule/work/mule/src/../lisp/simple.elc /data/scratch/editors/mule/work/mule/src/../lisp/startup.elc /data/scratch/editors/mule/work/mule/src/../lisp/subr.elc /data/scratch/editors/mule/work/mule/src/../lisp/text-mode.elc /data/scratch/editors/mule/work/mule/src/../lisp/vc-hooks.elc /data/scratch/editors/mule/work/mule/src/../lisp/window.elc /data/scratch/editors/mule/work/mule/src/../lisp/version.el > ../etc/DOC ./temacs -batch -l loadup dump Warning: arch-dependent data dir (/usr/pkg/lib/mule/19.28/x86_64--netbsd/) does not exist. Makefile:78: recipe for target 'emacs' failed gmake[1]: *** [emacs] Segmentation fault (core dumped) gmake[1]: Leaving directory '/data/scratch/editors/mule/work/mule/src' Makefile:254: recipe for target 'src' failed gmake: *** [src] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/editors/mule *** Error code 1 Stop. make: stopped in /data/pkgsrc/editors/mule