Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xdavidliu@cudarig:~/Downloads/mit-scheme/src$ make -j4 cross-target
- (cd microcode && make all)
- make[1]: Entering directory '/home/xdavidliu/Downloads/mit-scheme/src/microcode'
- rm -f cmpauxmd.s.tmp
- gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/home/xdavidliu/scheme-from-git/lib/mit-scheme-x86-64\" -I. -I. -O3 -frounding-math -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o termcap.o -c termcap.c
- gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/home/xdavidliu/scheme-from-git/lib/mit-scheme-x86-64\" -I. -I. -O3 -frounding-math -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o tparam.o -c tparam.c
- gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/home/xdavidliu/scheme-from-git/lib/mit-scheme-x86-64\" -I. -I. -O3 -frounding-math -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o cmpintmd.o -c cmpintmd.c
- ./makegen/m4.sh m4 -P __linux__,1 -P SUPPRESS_LEADING_UNDERSCORE,1 -P __ELF__,1 cmpauxmd.m4 > cmpauxmd.s.tmp && mv -f cmpauxmd.s.tmp cmpauxmd.s
- gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/home/xdavidliu/scheme-from-git/lib/mit-scheme-x86-64\" -I. -I. -O3 -frounding-math -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o comutl.o -c comutl.c
- tparam.c: In function ‘tparam1’:
- tparam.c:228:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
- if (tem < 100)
- ^
- tparam.c:230:6: note: here
- case '3': /* %3 means output in decimal, 3 digits. */
- ^~~~
- tparam.c:236:14: error: this statement may fall through [-Werror=implicit-fallthrough=]
- *op++ = tem / 100 + '0';
- ~~~~~~^~~~~~~~~~~~~~~~~
- tparam.c:237:6: note: here
- case '2': /* %2 means output in decimal, 2 digits. */
- ^~~~
- tparam.c:249:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
- if (tem >= 96)
- ^
- tparam.c:254:6: note: here
- case '+': /* %+x means add character code of char x */
- ^~~~
- tparam.c:255:12: error: this statement may fall through [-Werror=implicit-fallthrough=]
- tem += *p++;
- ^~
- tparam.c:256:6: note: here
- case '.': /* %. means output as character */
- ^~~~
- tparam.c:270:14: error: this statement may fall through [-Werror=implicit-fallthrough=]
- *op++ = tem | 0200;
- ~~~~~~^~~~~~~~~~~~
- tparam.c:271:6: note: here
- case 'f': /* %f means discard next arg */
- ^~~~
- termcap.c:147:1: error: return type defaults to ‘int’ [-Werror=implicit-int]
- memory_out ()
- ^~~~~~~~~~
- termcap.c: In function ‘convert_ospeed’:
- termcap.c:181:24: error: implicit declaration of function ‘OS_baud_index_to_rate’ [-Werror=implicit-function-declaration]
- unsigned int rate = (OS_baud_index_to_rate (os));
- ^~~~~~~~~~~~~~~~~~~~~
- termcap.c:181:24: error: nested extern declaration of ‘OS_baud_index_to_rate’ [-Werror=nested-externs]
- termcap.c: At top level:
- termcap.c:330:1: error: return type defaults to ‘int’ [-Werror=implicit-int]
- tputs (string, nlines, outfun)
- ^~~~~
- termcap.c: In function ‘tputs’:
- termcap.c:338:5: error: ‘return’ with no value, in function returning non-void [-Werror]
- return;
- ^~~~~~
- termcap.c:330:1: note: declared here
- tputs (string, nlines, outfun)
- ^~~~~
- termcap.c: In function ‘tgetent’:
- termcap.c:457:49: error: passing argument 2 of ‘find_capability’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
- indirect = tgetst1 (find_capability (tem, "tc"), 0);
- ^~~~
- termcap.c:203:36: note: expected ‘char *’ but argument is of type ‘const char *’
- find_capability (char * bp, char * cap)
- ~~~~~~~^~~
- termcap.c:479:9: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
- tem = "/etc/termcap";
- ^
- termcap.c:540:45: error: passing argument 2 of ‘find_capability’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
- term = tgetst1 (find_capability (bp2, "tc"), 0);
- ^~~~
- termcap.c:203:36: note: expected ‘char *’ but argument is of type ‘const char *’
- find_capability (char * bp, char * cap)
- ~~~~~~~^~~
- termcap.c:554:12: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
- return (int) bp;
- ^
- termcap.c: In function ‘scan_file’:
- termcap.c:570:9: error: unused variable ‘tem’ [-Werror=unused-variable]
- char *tem;
- ^~~
- cc1: all warnings being treated as errors
- make[1]: *** [Makefile:180: tparam.o] Error 1
- make[1]: *** Waiting for unfinished jobs....
- cc1: all warnings being treated as errors
- make[1]: *** [Makefile:180: termcap.o] Error 1
- rm cmpauxmd.s
- make[1]: Leaving directory '/home/xdavidliu/Downloads/mit-scheme/src/microcode'
- make: *** [Makefile:796: microcode/scheme] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement