Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created May 20, 2021 01:12
Show Gist options
  • Save r-rmcgibbo/a7f6a307c32d078ab95670b901c634c7 to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/a7f6a307c32d078ab95670b901c634c7 to your computer and use it in GitHub Desktop.
system: aarch64-linux | build_time: 20 seconds | https://github.com/NixOS/nixpkgs/pull/123729
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/kjxs4inlrn5yacac5a6ws9dk8mxwssbc-lush-2.0.1.tar.gz
source root is lush-2.0.1
setting SOURCE_DATE_EPOCH to timestamp 1299898671 of file lush-2.0.1/testing/test-cref.lsh
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
Updating Autotools / GNU config script to a newer upstream version: ./config/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./config/config.guess
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
configure flags: --prefix=/nix/store/yxh4ijhnpwx82kn64a2inlpf05p30dim-lush-2.0.1
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... none needed
sh: no: unknown operand
checking whether the compiler supports complex numbers... yes
checking if gcc accepts -Wall... yes
checking if gcc accepts -O3... yes
configure: WARNING: guessing cpu aarch64 (override with --with-cpu=cpuname.)
checking if gcc accepts -march=aarch64... no
checking if gcc accepts -mcpu=aarch64... no
checking if gcc accepts -mmmx... no
checking if gcc accepts -msse... no
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /nix/store/gxg2wzjvvsdfhs2gc80k255wzg4kq0d5-coreutils-8.32/bin/install -c
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for mv... /nix/store/gxg2wzjvvsdfhs2gc80k255wzg4kq0d5-coreutils-8.32/bin/mv
checking for cp... /nix/store/gxg2wzjvvsdfhs2gc80k255wzg4kq0d5-coreutils-8.32/bin/cp
checking for rm... /nix/store/gxg2wzjvvsdfhs2gc80k255wzg4kq0d5-coreutils-8.32/bin/rm
checking for ar... /nix/store/vlhkqnrml6gcl2f5yndgwpcqwxa177px-binutils-2.35.1/bin/ar
checking for touch... /nix/store/gxg2wzjvvsdfhs2gc80k255wzg4kq0d5-coreutils-8.32/bin/touch
checking for indent... /nix/store/daqx282vvamndfypbg3h8jg42pznkm32-indent-2.2.12/bin/indent
checking if /nix/store/daqx282vvamndfypbg3h8jg42pznkm32-indent-2.2.12/bin/indent accepts GNU options... yes
checking for sqrt in -lm... yes
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for openpty in -lutil... yes
checking for NSLinkModule... no
checking for xmalloc in -liberty... no
checking for mmalloc in -lmmalloc... no
checking for xcalloc in -liberty... no
checking for grep that handles long lines and -e... /nix/store/k2df1r1ww11rbisq3f4sz8wamfyy2g35-gnugrep-3.6/bin/grep
checking for egrep... /nix/store/k2df1r1ww11rbisq3f4sz8wamfyy2g35-gnugrep-3.6/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking bfd.h usability... yes
checking bfd.h presence... yes
checking for bfd.h... yes
checking for bfd_init in -lbfd... yes
checking for dcgettext in -lintl... no
checking whether bfd works with -Bstatic... no
checking whether bfd works alone... yes
checking whether bfd_hash_table_init wants two arguments... no
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for pkg-config... no
checking for library Xft... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking if more special flags are required for pthreads... no
checking for tputs in -lcurses... no
checking for readline in -lreadline... yes
checking for libiconv_open in -liconv... no
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for memory.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking fpu_control.h usability... yes
checking fpu_control.h presence... yes
checking for fpu_control.h... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking sys/stropts.h usability... no
checking sys/stropts.h presence... no
checking for sys/stropts.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/types.h... (cached) yes
checking sys/ttold.h usability... no
checking sys/ttold.h presence... no
checking for sys/ttold.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for bfd.h... (cached) yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for long long int... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for mbstate_t... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for strftime... yes
checking for strchr... yes
checking for memcpy... yes
checking for sigaction... yes
checking for sigvec... no
checking for strerror... yes
checking for getcwd... yes
checking for feenableexcept... yes
checking for fpsetmask... no
checking for __setfpucw... no
checking for tanh... yes
checking for dlopen... yes
checking for sigsetjmp... no
checking for waitpid... yes
checking for openpty... yes
checking for mprotect... yes
checking for getpagesize... (cached) yes
checking for gettimeofday... yes
checking for ftime... yes
checking for cfree... no
checking for gethostbyname... (cached) yes
checking for flockfile... yes
checking for sysconf... yes
checking for fpathconf... yes
checking for tcsetattr... yes
checking for setenv... yes
checking for putenv... yes
checking for fseeko... yes
checking for ftello... yes
checking for rl_getc... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for setlocale... yes
checking for nl_langinfo... yes
checking for iconv... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/lushmake.h
config.status: creating include/lushconf.h
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: SHELL=/nix/store/c5p1yyiz1w9kly8khx57pnv0h14zf45f-bash-4.4-p23/bin/bash
for d in src ; \
do ( cd $d && make all ) || exit ; done
make[1]: Entering directory '/build/lush-2.0.1/src'
gcc -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -pthread -c at.c
gcc -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -pthread -c binary.c
In file included from binary.c:28:
binary.c: In function 'bwrite':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
binary.c:898:7: note: in expansion of macro 'RAISEF'
898 | RAISEF("internal error (bwrite: bad file descriptor)", NIL);
| ^~~~~~
gcc -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -pthread -c cref.c
In file included from cref.c:28:
cref.c: In function 'new_cref':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
cref.c:240:7: note: in expansion of macro 'RAISEF'
240 | RAISEF("not an address", p);
| ^~~~~~
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
cref.c:261:7: note: in expansion of macro 'RAISEF'
261 | RAISEF("unsupported type", NEW_NUMBER(dht));
| ^~~~~~
cref.c: In function 'assign':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
cref.c:285:7: note: in expansion of macro 'RAISEF'
285 | RAISEF("not a cref", p);
| ^~~~~~
cref.c: In function 'xto_gptr':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
cref.c:370:13: note: in expansion of macro 'RAISEF'
370 | RAISEF("could not find function pointer", p);
| ^~~~~~
cref.c: In function 'xto_mptr':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
cref.c:411:7: note: in expansion of macro 'RAISEF'
411 | RAISEF("not a managed address", NEW_GPTR(p));
| ^~~~~~
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
cref.c:417:10: note: in expansion of macro 'RAISEF'
417 | RAISEF("not a managed address", NEW_GPTR(Gptr(p)));
| ^~~~~~
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
cref.c:441:7: note: in expansion of macro 'RAISEF'
441 | RAISEF("DH-functions are not in managed memory", p);
| ^~~~~~
cref.c: In function 'xto_index':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
cref.c:541:7: note: in expansion of macro 'RAISEFX'
541 | RAISEFX("not a pointer", p);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
cref.c:545:7: note: in expansion of macro 'RAISEFX'
545 | RAISEFX("not pointer to a lush object", p);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
cref.c:549:7: note: in expansion of macro 'RAISEFX'
549 | RAISEFX("not pointer to an index", APOINTER(1));
| ^~~~~~~
cref.c: In function 'xto_str':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
cref.c:567:10: note: in expansion of macro 'RAISEF'
567 | RAISEF("not a managed address", p);
| ^~~~~~
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
cref.c:569:7: note: in expansion of macro 'RAISEF'
569 | RAISEF("not a pointer or string", p);
| ^~~~~~
gcc -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -pthread -c calls.c
In file included from calls.c:34:
calls.c: In function 'yif':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:354:7: note: in expansion of macro 'RAISEFX'
354 | RAISEFX("syntax error", NIL);
| ^~~~~~~
calls.c: In function 'ywhen':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:365:7: note: in expansion of macro 'RAISEFX'
365 | RAISEFX("syntax error", NIL);
| ^~~~~~~
calls.c: In function 'ycond':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:381:10: note: in expansion of macro 'RAISEFX'
381 | RAISEFX("syntax error", q);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:389:7: note: in expansion of macro 'RAISEFX'
389 | RAISEFX("not a proper list", NIL);
| ^~~~~~~
calls.c: In function 'yselectq':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:397:7: note: in expansion of macro 'RAISEFX'
397 | RAISEFX("not a proper list", ARG_LIST);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:405:10: note: in expansion of macro 'RAISEFX'
405 | RAISEFX("syntax error", q);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:416:7: note: in expansion of macro 'RAISEFX'
416 | RAISEFX("not a proper list", ARG_LIST);
| ^~~~~~~
calls.c: In function 'ywhile':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:424:7: note: in expansion of macro 'RAISEFX'
424 | RAISEFX("syntax error", ARG_LIST);
| ^~~~~~~
calls.c: In function 'ydowhile':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:444:7: note: in expansion of macro 'RAISEFX'
444 | RAISEFX("syntax error", ARG_LIST);
| ^~~~~~~
calls.c: In function 'yrepeat':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:464:7: note: in expansion of macro 'RAISEFX'
464 | RAISEFX("syntax error", ARG_LIST);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:468:7: note: in expansion of macro 'RAISEFX'
468 | RAISEFX("not a number", q);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:471:7: note: in expansion of macro 'RAISEFX'
471 | RAISEFX("out of range", q);
| ^~~~~~~
calls.c: In function 'yfor':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:489:7: note: in expansion of macro 'RAISEFX'
489 | RAISEFX("syntax error", NIL);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:493:7: note: in expansion of macro 'RAISEFX'
493 | RAISEFX("not a symbol", sym);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:498:7: note: in expansion of macro 'RAISEFX'
498 | RAISEFX("not a number", num);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:503:7: note: in expansion of macro 'RAISEFX'
503 | RAISEFX("not a number", num);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:510:10: note: in expansion of macro 'RAISEFX'
510 | RAISEFX("not a number", num);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
calls.c:514:7: note: in expansion of macro 'RAISEFX'
514 | RAISEFX("syntax error", p);
| ^~~~~~~
gcc -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -pthread -c arith.c
In file included from arith.c:28:
arith.c: In function 'unarysub':
../include/header.h:105:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
105 | ((msg) ? (error(caller, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
../include/amath-macros.h:197:5: note: in expansion of macro 'RAISE'
197 | RAISE(NIL, "neither a number nor an array", arg); \
| ^~~~~
arith.c:222:1: note: in expansion of macro 'DX_NONCOMMUTATIVE_BINARY_OP'
222 | DX_NONCOMMUTATIVE_BINARY_OP(sub, MINUS, 0.0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
arith.c: In function 'unarydiv':
../include/header.h:105:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
105 | ((msg) ? (error(caller, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
../include/amath-macros.h:197:5: note: in expansion of macro 'RAISE'
197 | RAISE(NIL, "neither a number nor an array", arg); \
| ^~~~~
arith.c:223:1: note: in expansion of macro 'DX_NONCOMMUTATIVE_BINARY_OP'
223 | DX_NONCOMMUTATIVE_BINARY_OP(div, OVER, 1.0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
arith.c: In function 'unarypower':
../include/header.h:105:39: warning: right-hand operand of comma expression has no effect [-Wunused-value]
105 | ((msg) ? (error(caller, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
../include/amath-macros.h:197:5: note: in expansion of macro 'RAISE'
197 | RAISE(NIL, "neither a number nor an array", arg); \
| ^~~~~
arith.c:224:1: note: in expansion of macro 'DX_NONCOMMUTATIVE_BINARY_OP'
224 | DX_NONCOMMUTATIVE_BINARY_OP(power, pow, M_E)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
arith.c: In function 'xdivi':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
arith.c:248:7: note: in expansion of macro 'RAISEF'
248 | RAISEF("divide by zero", NIL);
| ^~~~~~
arith.c: In function 'xmodi':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
arith.c:257:7: note: in expansion of macro 'RAISEF'
257 | RAISEF("divide by zero", NIL);
| ^~~~~~
gcc -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -pthread -c check_func.c
gcc -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -pthread -c date.c
In file included from date.c:36:
date.c: In function 'xdate_to_string':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
date.c:665:10: note: in expansion of macro 'RAISEFX'
665 | RAISEFX("string too long",NIL);
| ^~~~~~~
date.c: In function 'xstring_to_date':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
date.c:688:7: note: in expansion of macro 'RAISEFX'
688 | RAISEFX("illegal date range specification", NIL);
| ^~~~~~~
gcc -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -pthread -c dh.c
dh.c: In function 'make_dhclass':
dh.c:330:8: warning: variable 'superlock' set but not used [-Wunused-but-set-variable]
330 | at *superlock = 0;
| ^~~~~~~~~
gcc -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -pthread -c dump.c
gcc -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -pthread -c eval.c
In file included from eval.c:33:
eval.c: In function 'apply':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
eval.c:176:7: note: in expansion of macro 'RAISEF'
176 | RAISEF("cannot apply nil", NIL);
| ^~~~~~
eval.c: In function 'xapply':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
eval.c:187:7: note: in expansion of macro 'RAISEFX'
187 | RAISEFX("at least two arguments expected", NIL);
| ^~~~~~~
eval.c: In function 'progn':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
eval.c:210:7: note: in expansion of macro 'RAISEF'
210 | RAISEF("form not a proper list", p);
| ^~~~~~
eval.c: In function 'prog1':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
eval.c:238:7: note: in expansion of macro 'RAISEF'
238 | RAISEF("form not a proper list", p);
| ^~~~~~
eval.c: In function 'mapc':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
eval.c:309:7: note: in expansion of macro 'RAISEF'
309 | RAISEF("at least one argument must be a list", NIL);
| ^~~~~~
eval.c: In function 'xmapc':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
eval.c:319:7: note: in expansion of macro 'RAISEFX'
319 | RAISEFX("arguments missing", NIL);
| ^~~~~~~
eval.c: In function 'mapcar':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
eval.c:330:7: note: in expansion of macro 'RAISEF'
330 | RAISEF("at least one argument must be a list", NIL);
| ^~~~~~
eval.c: In function 'xmapcar':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
eval.c:341:7: note: in expansion of macro 'RAISEFX'
341 | RAISEFX("arguments missing", NIL);
| ^~~~~~~
eval.c: In function 'mapcan':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
eval.c:352:7: note: in expansion of macro 'RAISEF'
352 | RAISEF("at least one argument must be a list", NIL);
| ^~~~~~
eval.c: In function 'xmapcan':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
eval.c:364:7: note: in expansion of macro 'RAISEFX'
364 | RAISEFX("arguments missing", NIL);
| ^~~~~~~
eval.c: In function 'yquote':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
eval.c:384:7: note: in expansion of macro 'RAISEFX'
384 | RAISEFX("one argument expected", NIL);
| ^~~~~~~
eval.c: In function 'ydquote':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
eval.c:392:7: note: in expansion of macro 'RAISEFX'
392 | RAISEFX("one argument expected", NIL);
| ^~~~~~~
gcc -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -pthread -c fileio.c
In file included from fileio.c:28:
fileio.c: In function 'xcopyfile':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:271:7: note: in expansion of macro 'RAISEFX'
271 | RAISEFX("not a string or file descriptor", atfin);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:279:7: note: in expansion of macro 'RAISEFX'
279 | RAISEFX("not a string or file descriptor", atfout);
| ^~~~~~~
fileio.c: In function 'lush_dirname':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:538:7: note: in expansion of macro 'RAISEF'
538 | RAISEF("filename is too long",NIL);
| ^~~~~~
fileio.c: In function 'lush_basename':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:613:7: note: in expansion of macro 'RAISEF'
613 | RAISEF("filename is too long",NIL);
| ^~~~~~
fileio.c: In function 'concat_fname':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:728:13: note: in expansion of macro 'RAISEF'
728 | RAISEF("filename is too long",NIL);
| ^~~~~~
fileio.c: In function 'tmpname':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:901:7: note: in expansion of macro 'RAISEF'
901 | RAISEF("invalid directory", NEW_STRING(dir));
| ^~~~~~
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:906:7: note: in expansion of macro 'RAISEF'
906 | RAISEF("suffix is too long", make_string(suffix));
| ^~~~~~
fileio.c: In function 'open_read':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:1332:7: note: in expansion of macro 'RAISEF'
1332 | RAISEF("cannot open file", NEW_STRING(s));
| ^~~~~~
fileio.c: In function 'open_write':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:1398:7: note: in expansion of macro 'RAISEF'
1398 | RAISEF("cannot open file", NEW_STRING(s));
| ^~~~~~
fileio.c: In function 'open_append':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:1465:7: note: in expansion of macro 'RAISEF'
1465 | RAISEF("cannot open file", NEW_STRING(s));
| ^~~~~~
fileio.c: In function 'file_size':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:1512:7: note: in expansion of macro 'RAISEF'
1512 | RAISEF("non exhaustable file (pipe or terminal ?)",NIL);
| ^~~~~~
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:1515:7: note: in expansion of macro 'RAISEF'
1515 | RAISEF("non rewindable file (pipe or terminal ?)",NIL);
| ^~~~~~
fileio.c: In function 'yreading':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:1686:7: note: in expansion of macro 'RAISEFX'
1686 | RAISEFX("syntax error", NIL);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:1696:7: note: in expansion of macro 'RAISEFX'
1696 | RAISEFX("file name or read descriptor expected", fdesc);
| ^~~~~~~
fileio.c: In function 'ywriting':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:1732:7: note: in expansion of macro 'RAISEFX'
1732 | RAISEFX("syntax error", NIL);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:1742:7: note: in expansion of macro 'RAISEFX'
1742 | RAISEFX("file name or write descriptor expected", fdesc);
| ^~~~~~~
fileio.c: In function 'yreading_string':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:1781:7: note: in expansion of macro 'RAISEFX'
1781 | RAISEFX("syntax error", NIL);
| ^~~~~~~
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:1786:7: note: in expansion of macro 'RAISEFX'
1786 | RAISEFX("string expected", p);
| ^~~~~~~
fileio.c: In function 'xread8':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:1814:7: note: in expansion of macro 'RAISEFX'
1814 | RAISEFX("read file descriptor expected", fdesc);
| ^~~~~~~
fileio.c: In function 'xwrite8':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:1830:6: note: in expansion of macro 'RAISEFX'
1830 | RAISEFX("write file descriptor expected", fdesc);
| ^~~~~~~
fileio.c: In function 'xfsize':
../include/header.h:111:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
111 | ((msg) ? (error(api_translate_c2lisp(__func__)+1, msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fileio.c:1846:10: note: in expansion of macro 'RAISEFX'
1846 | RAISEFX("not a string or read descriptor", p);
| ^~~~~~~
In file included from /nix/store/jfpx3dsd8i4pm25d51jziwy2lvdm1nvg-glibc-2.32-46-dev/include/string.h:519,
from ../include/define.h:165,
from ../include/header.h:31,
from fileio.c:28:
In function 'strncpy',
inlined from 'files' at fileio.c:150:10:
/nix/store/jfpx3dsd8i4pm25d51jziwy2lvdm1nvg-glibc-2.32-46-dev/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fileio.c: In function 'files':
fileio.c:69:26: note: length computed here
69 | # define NAMLEN(dirent) strlen((dirent)->d_name)
| ^~~~~~~~~~~~~~~~~~~~~~~~
fileio.c:147:18: note: in expansion of macro 'NAMLEN'
147 | int n = NAMLEN(d);
| ^~~~~~
gcc -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -pthread -c fltlib.c
gcc -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -pthread -c fpu.c
In file included from fpu.c:28:
fpu.c: In function 'xeps':
../include/header.h:108:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
108 | ((msg) ? (error(api_translate_c2lisp(__func__), msg, p),0) : 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
fpu.c:103:7: note: in expansion of macro 'RAISEF'
103 | RAISEF("eps not defined for number", NEW_NUMBER(x));
| ^~~~~~
fpu.c: In function 'set_fpu_precision':
fpu.c:318:14: error: '_FPU_SINGLE' undeclared (first use in this function)
318 | mode &= ~(_FPU_SINGLE | _FPU_DOUBLE | _FPU_EXTENDED);
| ^~~~~~~~~~~
fpu.c:318:14: note: each undeclared identifier is reported only once for each function it appears in
fpu.c:318:28: error: '_FPU_DOUBLE' undeclared (first use in this function)
318 | mode &= ~(_FPU_SINGLE | _FPU_DOUBLE | _FPU_EXTENDED);
| ^~~~~~~~~~~
fpu.c:318:42: error: '_FPU_EXTENDED' undeclared (first use in this function); did you mean 'KEY_EXTENDED'?
318 | mode &= ~(_FPU_SINGLE | _FPU_DOUBLE | _FPU_EXTENDED);
| ^~~~~~~~~~~~~
| KEY_EXTENDED
fpu.c: In function 'xfpu_precision':
fpu.c:340:17: error: '_FPU_SINGLE' undeclared (first use in this function)
340 | mode = _FPU_SINGLE;
| ^~~~~~~~~~~
fpu.c:344:17: error: '_FPU_DOUBLE' undeclared (first use in this function)
344 | mode = _FPU_DOUBLE;
| ^~~~~~~~~~~
fpu.c:348:17: error: '_FPU_EXTENDED' undeclared (first use in this function); did you mean 'KEY_EXTENDED'?
348 | mode = _FPU_EXTENDED;
| ^~~~~~~~~~~~~
| KEY_EXTENDED
fpu.c: In function 'xfpu_info':
fpu.c:426:20: error: '_FPU_SINGLE' undeclared (first use in this function)
426 | switch (mode & (_FPU_SINGLE | _FPU_DOUBLE | _FPU_EXTENDED)) {
| ^~~~~~~~~~~
fpu.c:426:34: error: '_FPU_DOUBLE' undeclared (first use in this function)
426 | switch (mode & (_FPU_SINGLE | _FPU_DOUBLE | _FPU_EXTENDED)) {
| ^~~~~~~~~~~
fpu.c:426:48: error: '_FPU_EXTENDED' undeclared (first use in this function); did you mean 'KEY_EXTENDED'?
426 | switch (mode & (_FPU_SINGLE | _FPU_DOUBLE | _FPU_EXTENDED)) {
| ^~~~~~~~~~~~~
| KEY_EXTENDED
fpu.c: In function 'fpu_reset':
fpu.c:508:22: error: '_FPU_EXTENDED' undeclared (first use in this function); did you mean 'KEY_EXTENDED'?
508 | set_fpu_precision(_FPU_EXTENDED);
| ^~~~~~~~~~~~~
| KEY_EXTENDED
make[1]: *** [Makefile:133: fpu.o] Error 1
make[1]: Leaving directory '/build/lush-2.0.1/src'
make: *** [Makefile:92: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment