Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/q.spec'], chrootPath='/var/lib/mock/f33-build-290618-54504/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/q.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/q-7.11-41.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/q.spec'], chrootPath='/var/lib/mock/f33-build-290618-54504/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/q.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OUME6r + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf q-7.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/q-7.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd q-7.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (q-7.11-format-security.patch):' Patch #0 (q-7.11-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .format-security --fuzz=0 patching file ./modules/clib/system.c patching file ./modules/clib/clib.c patching file ./src/qc.y patching file ./src/qmparse.y patching file ./src/q.c + echo 'Patch #1 (q-7.11-tcl86.patch):' Patch #1 (q-7.11-tcl86.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .tcl86 --fuzz=0 patching file modules/tk/tk.c Patch #2 (q-7.11-configure.patch): + echo 'Patch #2 (q-7.11-configure.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .configure --fuzz=0 patching file acinclude.m4 + sed -i 's|@libtool@|libtool|' src/Makefile.in + rm -fr libltdl libtool + ./autogen.sh + aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' + autoheader + libtoolize --automake --force --ltdl --copy + automake --gnu --add-missing --copy automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:7: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:7: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' libq/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') modules/clib/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') modules/curl/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') modules/dxl/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') modules/gdbm/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') modules/ggi/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') modules/magick/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') modules/octave/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') modules/odbc/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') modules/swig/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') modules/tk/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') modules/xml/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:16: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') + autoconf + cd libltdl + autoconf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gtvpir + umask 022 + cd /builddir/build/BUILD + cd q-7.11 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./libltdl/configure + diff -u ./libltdl/configure.backup ./libltdl/configure + mv ./libltdl/configure.backup ./libltdl/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./libltdl/configure + diff -u ./libltdl/configure.backup ./libltdl/configure + mv ./libltdl/configure.backup ./libltdl/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./libltdl/configure + diff -u ./libltdl/configure.backup ./libltdl/configure --- ./libltdl/configure.backup 2020-08-13 16:07:28.049905068 -0400 +++ ./libltdl/configure 2020-08-13 16:07:29.749904717 -0400 @@ -1754,7 +1754,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./libltdl/configure + diff -u ./libltdl/configure.backup ./libltdl/configure + mv ./libltdl/configure.backup ./libltdl/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./libltdl/configure + diff -u ./libltdl/configure.backup ./libltdl/configure --- ./libltdl/configure.backup 2020-08-13 16:07:29.749904717 -0400 +++ ./libltdl/configure 2020-08-13 16:07:30.679904525 -0400 @@ -6032,7 +6032,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -14014,7 +14014,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-13 16:07:13.019908167 -0400 +++ ./configure 2020-08-13 16:07:32.189904214 -0400 @@ -1913,7 +1913,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-13 16:07:32.189904214 -0400 +++ ./configure 2020-08-13 16:07:33.089904028 -0400 @@ -7353,7 +7353,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -21285,7 +21285,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ pkg-config ImageMagick --libs ++ pkg-config ImageMagick --cflags + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-unicode '--with-rl=-lreadline -lncurses' '--with-dxl=-lDX -lDXL' '--with-magick=-lMagickCore-6.Q16 ' '--with-magick-includes=-I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 ' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for gawk... (cached) gawk checking for riscv64-redhat-linux-gnu-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 whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7220: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for sin in -lm... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for openpty in -lutil... yes checking for clock_gettime in -lrt... yes checking for crypt in -lcrypt... yes 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... no checking for pthread_create in -lpthread... yes defining LIBPTHREAD to be -lpthread checking for curl_global_init in -lcurl... yes defining CURL_LIBS to be -lcurl checking for gdbm_open in -lgdbm... yes defining GDBM_LIBS to be -lgdbm checking for ggiInit in -lggi... no configure: WARNING: could not find the GGI library, skipping the ggi module defining FT2_LIBS to be -lfreetype checking for SQLDriverConnect in -lodbc... yes defining ODBC_LIBS to be -lodbc checking for Tk_Init in -ltk... yes defining TK_LIBS to be -ltcl -ltk defining XML_LIBS to be -lxml2 -lz -llzma -lm -ldl -lxslt -lxml2 -lm checking for nl_langinfo and CODESET... yes checking for ld... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... ./configure: line 12625: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory ./configure: line 12625: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory lib,lib,lib64 checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking monetary.h usability... yes checking monetary.h presence... yes checking for monetary.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for unistd.h... (cached) yes checking util.h usability... no checking util.h presence... no checking for util.h... no checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for working volatile... yes checking for inline... inline checking for uid_t in sys/types.h... yes checking for pid_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking whether time.h and sys/time.h may both be included... yes checking for mode_t... yes checking for off_t... yes checking for uid_t in sys/types.h... (cached) yes checking type of array argument to getgroups... gid_t checking for socklen_t... yes checking for in_port_t... yes checking for in_addr_t... yes checking for struct sockaddr_in6... yes checking for uint16_t... yes checking whether tzname is declared... yes checking whether daylight is declared... yes checking for working IPv6 support... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of float... 4 checking size of double... 8 checking for working alloca.h... yes checking for alloca... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking return type of signal handlers... void checking for type of signal functions... posix checking if signal handlers must be reinstalled when invoked... no checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for memcmp... yes checking for strdup... yes checking for strsignal... yes checking for strstr... yes checking for ftime... yes checking for gettimeofday... yes checking for clock_gettime... yes checking for clock_getres... yes checking for clock_nanosleep... yes checking for nanosleep... yes checking for usleep... yes checking for backtrace... yes checking for setlinebuf... yes checking for select... yes checking for sysconf... yes checking for dup... yes checking for dup2... yes checking for pipe... yes checking for fstat... yes checking for fchdir... yes checking for fchmod... yes checking for fchown... yes checking for ftruncate... yes checking for fsync... yes checking for fdatasync... yes checking for ttyname... yes checking for ctermid... yes checking for getpt... yes checking for grantpt... yes checking for openpty... yes checking for forkpty... yes checking for tcgetpgrp... yes checking for truncate... yes checking for readdir... yes checking for rewinddir... yes checking for link... yes checking for symlink... yes checking for readlink... yes checking for mkfifo... yes checking for access... yes checking for chmod... yes checking for chown... yes checking for lchown... yes checking for nice... yes checking for pause... yes checking for getppid... yes checking for crypt... yes checking for getpwuid... yes checking for getpwnam... yes checking for getpwent... yes checking for getgrgid... yes checking for getgrnam... yes checking for getgrent... yes checking for getgroups... yes checking for setgroups... yes checking for setuid... yes checking for setgid... yes checking for seteuid... yes checking for setegid... yes checking for setreuid... yes checking for setregid... yes checking for getuid... yes checking for geteuid... yes checking for getgid... yes checking for getegid... yes checking for getlogin... yes checking for getpgid... yes checking for setpgid... yes checking for getpgrp... yes checking for setpgrp... yes checking for getsid... yes checking for setsid... yes checking whether getpgrp requires zero arguments... yes checking whether setpgrp takes no argument... yes checking for strftime... yes checking for times... yes checking for socket... yes checking for socketpair... yes checking for closesocket... no checking for shutdown... yes checking for bind... yes checking for listen... yes checking for accept... yes checking for connect... (cached) yes checking for getsockname... yes checking for getpeername... yes checking for getsockopt... yes checking for setsockopt... yes checking for recv... yes checking for send... yes checking for recvfrom... yes checking for sendto... yes checking for gethostname... yes checking for gethostbyname... (cached) yes checking for gethostbyaddr... yes checking for gethostent... yes checking for getprotobyname... yes checking for getprotobynumber... yes checking for getprotoent... yes checking for getservbyname... yes checking for getservbyport... yes checking for getservent... yes checking for inet_aton... yes checking for regcomp... yes checking for glob... yes checking for fnmatch... yes checking for wcsxfrm... yes checking for wcscoll... yes checking for towupper... yes checking for towlower... yes checking for wcwidth... yes checking for wcswidth... yes checking for pthread_atfork... yes checking for pthread_mutex_timedlock... yes checking for sem_timedwait... yes checking for FT_Init_FreeType... yes checking for xsltSaveResultToString... yes checking for rl_completion_matches in -lreadline -lncurses... yes checking for tputs in -lncursesw... yes defining TERMLIBS to be -lncursesw checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating etc/Makefile config.status: creating examples/Makefile config.status: creating libq/Makefile config.status: creating modules/Makefile config.status: creating modules/clib/Makefile config.status: creating modules/clib/examples/Makefile config.status: creating modules/curl/Makefile config.status: creating modules/curl/examples/Makefile config.status: creating modules/dxl/Makefile config.status: creating modules/dxl/examples/Makefile config.status: creating modules/gdbm/Makefile config.status: creating modules/gdbm/examples/Makefile config.status: creating modules/ggi/Makefile config.status: creating modules/ggi/examples/Makefile config.status: creating modules/magick/Makefile config.status: creating modules/magick/examples/Makefile config.status: creating modules/octave/Makefile config.status: creating modules/odbc/Makefile config.status: creating modules/odbc/examples/Makefile config.status: creating modules/swig/Makefile config.status: creating modules/swig/examples/Makefile config.status: creating modules/tk/Makefile config.status: creating modules/tk/examples/Makefile config.status: creating modules/xml/Makefile config.status: creating modules/xml/examples/Makefile config.status: creating src/Makefile config.status: creating stdlib/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands === configuring in libltdl (/builddir/build/BUILD/q-7.11/libltdl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=riscv64-redhat-linux-gnu' '--host=riscv64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-unicode' '--with-rl=-lreadline -lncurses' '--with-dxl=-lDX -lDXL' '--with-magick=-lMagickCore-6.Q16 ' '--with-magick-includes=-I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 ' 'build_alias=riscv64-redhat-linux-gnu' 'host_alias=riscv64-redhat-linux-gnu' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'LT_SYS_LIBRARY_PATH=/usr/lib64:' '--enable-ltdl-convenience' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-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 whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 5986: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking what extension is used for runtime loadable modules... .so checking what variable specifies run-time module search path... LD_LIBRARY_PATH checking for the default library search path... /usr/lib64 /lib64 /usr/lib64 /lib /usr/lib checking for library containing dlopen... -ldl checking for dlerror... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for unistd.h... (cached) yes checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for mach-o/dyld.h... no checking for dirent.h... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for strlcat... no checking for strlcpy... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands **************************************************************************** Q is now configured for riscv64-redhat-linux-gnu. Source directory: . Installation prefix: /usr C compiler: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection Shared libraries: yes Static libraries: yes Dynamic loader: use bundled libltdl Unicode support: yes GMP library: libraries: -lgmp GNU readline: libraries: -lreadline -lncurses POSIX threads: libraries: -lpthread GNU dbm: libraries: -lgdbm CURL: libraries: -lcurl GGI: disabled FreeType2: libraries: -lfreetype includes : -I/usr/include/freetype2 -I/usr/include/libpng16 ImageMagick: libraries: -lMagickCore-6.Q16 includes : -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 ODBC: libraries: -lodbc Tcl/Tk: libraries: -ltcl -ltk XML/XSLT: libraries: -lxml2 -lz -llzma -lm -ldl -lxslt -lxml2 -lm includes : -I/usr/include/libxml2 -I/usr/include/libxml2 DXLink: libraries: -lDX -lDXL Debug Malloc: disabled **************************************************************************** Please verify that the above configuration is correct. Then type 'make' to build everything, and 'make install' to install this software on your system. To remove the installed software at a later time use the 'make uninstall' command. + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make make all-recursive make[1]: Entering directory '/builddir/build/BUILD/q-7.11' Making all in . make[2]: Entering directory '/builddir/build/BUILD/q-7.11' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11' Making all in libltdl make[2]: Entering directory '/builddir/build/BUILD/q-7.11/libltdl' CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /builddir/build/BUILD/q-7.11/missing aclocal-1.16 -I m4 cd . && /bin/sh /builddir/build/BUILD/q-7.11/missing automake-1.16 --foreign CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /builddir/build/BUILD/q-7.11/missing autoconf /bin/sh ./config.status --recheck running CONFIG_SHELL=/bin/sh /bin/sh ./configure --disable-option-checking --prefix=/usr --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-unicode --with-rl=-lreadline -lncurses --with-dxl=-lDX -lDXL --with-magick=-lMagickCore-6.Q16 --with-magick-includes=-I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 build_alias=riscv64-redhat-linux-gnu host_alias=riscv64-redhat-linux-gnu CC=gcc CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld LT_SYS_LIBRARY_PATH=/usr/lib64: --enable-ltdl-convenience --cache-file=/dev/null --srcdir=. --no-create --no-recursion checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-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 whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking what extension is used for runtime loadable modules... .so checking what variable specifies run-time module search path... LD_LIBRARY_PATH checking for the default library search path... /usr/lib64 /lib64 /usr/lib64 /lib /usr/lib checking for library containing dlopen... -ldl checking for dlerror... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for unistd.h... (cached) yes checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for mach-o/dyld.h... no checking for dirent.h... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for strlcat... no checking for strlcpy... no checking that generated files are newer than configure... done configure: creating ./config.status /bin/sh ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands make all-am make[3]: Entering directory '/builddir/build/BUILD/q-7.11/libltdl' CC loaders/dlopen.lo CCLD dlopen.la CC loaders/libltdlc_la-preopen.lo CC libltdlc_la-lt__alloc.lo CC libltdlc_la-lt_dlloader.lo CC libltdlc_la-lt_error.lo CC libltdlc_la-ltdl.lo CC libltdlc_la-slist.lo CC lt__strl.lo CCLD libltdlc.la make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/libltdl' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/libltdl' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/q-7.11/doc' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/doc' Making all in etc make[2]: Entering directory '/builddir/build/BUILD/q-7.11/etc' sed -e "s?@q-prog@?/usr/bin/q?g" \ -e "s?@q-data-dir@?/usr/share/q/lib?g" \ -e "s?@q-lib-dir@?/usr/lib64/q?g" <./q-mode.in >q-mode.el make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/etc' Making all in examples make[2]: Entering directory '/builddir/build/BUILD/q-7.11/examples' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/examples' Making all in libq make[2]: Entering directory '/builddir/build/BUILD/q-7.11/libq' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libq.lo libq.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c libq.c -fPIC -DPIC -o .libs/libq.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c libq.c -o libq.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -version-info 8:0:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libq.la -rpath /usr/lib64 libq.lo -lcrypt -lrt -lutil -lm libtool: link: gcc -shared -fPIC -DPIC .libs/libq.o -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libq.so.8 -o .libs/libq.so.8.0.0 libtool: link: (cd ".libs" && rm -f "libq.so.8" && ln -s "libq.so.8.0.0" "libq.so.8") libtool: link: (cd ".libs" && rm -f "libq.so" && ln -s "libq.so.8.0.0" "libq.so") libtool: link: ar cru .libs/libq.a libq.o libtool: link: ranlib .libs/libq.a libtool: link: ( cd ".libs" && rm -f "libq.la" && ln -s "../libq.la" "libq.la" ) make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/libq' Making all in modules make[2]: Entering directory '/builddir/build/BUILD/q-7.11/modules' Making all in clib make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/clib' Making all in . make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/clib' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o clib.lo clib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c clib.c -fPIC -DPIC -o .libs/clib.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from clib.c:35: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ clib.c: In function 'mpz_from_double': clib.c:312:14: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 312 | double ip, fp, dsz; | ^~ clib.c: In function 'u8encode': clib.c:503:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 503 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ clib.c:508:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 508 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ clib.c:510:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 510 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ clib.c:515:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 515 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ clib.c:517:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 517 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ clib.c:519:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 519 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ clib.c: In function '__F__clib_tuplecat': clib.c:1225:34: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 1225 | if (istuple(hd, &l, &ys) & l > 0) { | ~~^~~ clib.c: In function '__F__clib_pow': clib.c:2031:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2031 | n > 0 && mpz_size(m) > INT_MAX/n) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ clib.c: In function '__F__clib_root': clib.c:2046:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2046 | mpz_sgn(m) == -1 && (n&1) == 0) | ^ clib.c: In function '__F__clib_gcd': clib.c:2136:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2136 | mpz_sgn(m) == 0 && mpz_sgn(n) == 0) | ^ clib.c: In function '__F__clib_remove_factor': clib.c:2168:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2168 | isint(argv[1], &k) && k == 1) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ clib.c: In function '__F__clib_fopen': clib.c:2198:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2198 | mode[1] && !strchr("b+", mode[1]) || | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ clib.c:2199:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2199 | mode[1] && mode[2] && (mode[1] == mode[2] || !strchr("b+", mode[2]))) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clib.c: In function '__F__clib_fdopen': clib.c:2221:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2221 | mode[1] && !strchr("b+", mode[1]) || | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ clib.c:2222:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2222 | mode[1] && mode[2] && (mode[1] == mode[2] || !strchr("b+", mode[2]))) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clib.c: In function '__F__clib_freopen': clib.c:2239:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2239 | mode[1] && !strchr("b+", mode[1]) || | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ clib.c:2240:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2240 | mode[1] && mode[2] && (mode[1] == mode[2] || !strchr("b+", mode[2]))) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clib.c: In function '__F__clib_fgets': clib.c:2367:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2367 | if (s1 = (char*) realloc(s, a+BUFSZ)) { | ^~ clib.c: In function '__F__clib_fget': clib.c:2438:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2438 | if (s1 = (char*) realloc(s, a+BUFSZ)) { | ^~ clib.c: In function '__F__clib_fprintf': clib.c:2758:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2758 | if (strcmp(f_mod, "l") && strcmp(f_mod, "h") || | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ clib.c:2764:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2764 | if (f_var_wd) | ^ clib.c:2771:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2771 | if (f_var_prec) | ^ clib.c: In function '__F__clib_sprintf': clib.c:2999:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2999 | if (strcmp(f_mod, "l") && strcmp(f_mod, "h") || | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ clib.c:3005:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 3005 | if (f_var_wd) | ^ clib.c:3014:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 3014 | if (f_var_prec) | ^ clib.c:3182:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3182 | if (buf) free(buf); free(s); | ^~ clib.c:3182:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3182 | if (buf) free(buf); free(s); | ^~~~ clib.c:3188:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3188 | if (buf) free(buf); free(s); | ^~ clib.c:3188:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3188 | if (buf) free(buf); free(s); | ^~~~ clib.c: In function '__F__clib_fscanf': clib.c:3258:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3258 | if (strcmp(f_mod, "l") && strcmp(f_mod, "h") || | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ clib.c:3260:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3260 | *f_mod == 'h' && !strchr("ndiouxX", f)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ clib.c: In function '__F__clib_sscanf': clib.c:3548:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3548 | if (strcmp(f_mod, "l") && strcmp(f_mod, "h") || | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ clib.c:3550:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3550 | *f_mod == 'h' && !strchr("ndiouxX", f)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ clib.c: In function '__F__clib_bsub': clib.c:3946:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3946 | if (i < 0) i = 0; c = j-i+1; | ^~ clib.c:3946:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3946 | if (i < 0) i = 0; c = j-i+1; | ^ clib.c: In function '__F__clib_bcmp': clib.c:3978:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 3978 | if (res == 0) | ^ clib.c:3975:12: warning: unused variable 'i' [-Wunused-variable] 3975 | long i, n = m1->size, res; | ^ clib.c: In function '__F__clib_bint': clib.c:3993:72: warning: unused variable 'c' [-Wunused-variable] 3993 | long n = m->size/sizeof(mp_limb_t), k = m->size%sizeof(mp_limb_t), c; | ^ clib.c: In function '__F__clib_bstr': clib.c:4051:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4050 | istuple(argv[0], &k, &xv) && k == 2 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4051 | isobj(xv[0], type(ByteStr), (void**)&m) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 4052 | isstr(xv[1], &codeset))) { | ~~~~~~~~~~~~~~~~~~~~~~ clib.c: In function '__F__clib_get_int8': clib.c:4095:22: warning: pointer targets in initialization of 'signed char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 4095 | signed char *u = m->v; | ^ clib.c: In function '__F__clib_put_int8': clib.c:4122:22: warning: pointer targets in initialization of 'signed char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 4122 | signed char *u = m->v; | ^ clib.c:4127:24: warning: pointer targets in initialization of 'signed char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 4127 | signed char *v = m1->v; | ^~ clib.c: In function '__F__clib_int8_vect': clib.c:4645:9: warning: unused variable 'i' [-Wunused-variable] 4645 | int i, n = 0; | ^ clib.c: In function '__F__clib_int16_vect': clib.c:4667:9: warning: unused variable 'i' [-Wunused-variable] 4667 | int i, n = 0; | ^ clib.c: In function '__F__clib_int32_vect': clib.c:4689:9: warning: unused variable 'i' [-Wunused-variable] 4689 | int i, n = 0; | ^ clib.c: In function '__F__clib_uint8_vect': clib.c:4711:9: warning: unused variable 'i' [-Wunused-variable] 4711 | int i, n = 0; | ^ clib.c: In function '__F__clib_uint16_vect': clib.c:4733:9: warning: unused variable 'i' [-Wunused-variable] 4733 | int i, n = 0; | ^ clib.c: In function '__F__clib_uint32_vect': clib.c:4755:9: warning: unused variable 'i' [-Wunused-variable] 4755 | int i, n = 0; | ^ clib.c: In function '__F__clib_float_vect': clib.c:4777:9: warning: unused variable 'i' [-Wunused-variable] 4777 | int i, n = 0; | ^ clib.c: In function '__F__clib_double_vect': clib.c:4799:9: warning: unused variable 'i' [-Wunused-variable] 4799 | int i, n = 0; | ^ clib.c: In function 'thread_proc': clib.c:5066:5: warning: label 'errexit' defined but not used [-Wunused-label] 5066 | errexit: | ^~~~~~~ clib.c: At top level: clib.c:5526:8: warning: return type defaults to 'int' [-Wimplicit-int] 5526 | static check_mut(my_mutex_t *mut) | ^~~~~~~~~ clib.c:5534:8: warning: return type defaults to 'int' [-Wimplicit-int] 5534 | static check_cond(my_cond_t *cond) | ^~~~~~~~~~ clib.c:5544:8: warning: return type defaults to 'int' [-Wimplicit-int] 5544 | static check_sem(my_sem_t *sem) | ^~~~~~~~~ clib.c: In function '__F__clib_await': clib.c:5898:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5897 | istuple(argv[0], &n, &v) && n == 2 && (tset = 1) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5898 | isobj(v[0], type(Condition), (void**)&cond) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 5899 | (isfloat(v[1], &t) || ismpz_float(v[1], &t)))) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clib.c: In function '__F__clib_fnmatch': clib.c:6051:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6051 | if (pattern) free(pattern); if (s) free(s); | ^~ clib.c:6051:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6051 | if (pattern) free(pattern); if (s) free(s); | ^~ clib.c: In function 'reg_flags': clib.c:6192:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6192 | if (p > regp->s) | ^ clib.c: In function 'reg_search': clib.c:6218:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6218 | if (regp->matches[0].rm_eo == regp->matches[0].rm_so && | ^ clib.c: In function '__F__clib_regmatch': clib.c:6357:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6357 | if (regex) free(regex); if (s) free(s); | ^~ clib.c:6357:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6357 | if (regex) free(regex); if (s) free(s); | ^~ clib.c: In function '__F__clib_tmpnam': clib.c:2301:5: warning: ignoring return value of 'tmpnam' declared with attribute 'warn_unused_result' [-Wunused-result] 2301 | tmpnam(s); | ^~~~~~~~~ clib.c: In function '__F__clib_fscanf': clib.c:3314:19: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 3314 | count = -1; fscanf(fp, f_format, &count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ clib.c: In function 'check_mut': clib.c:5532:1: warning: control reaches end of non-void function [-Wreturn-type] 5532 | } | ^ clib.c: In function 'check_sem': clib.c:5558:1: warning: control reaches end of non-void function [-Wreturn-type] 5558 | } | ^ clib.c: In function 'check_cond': clib.c:5542:1: warning: control reaches end of non-void function [-Wreturn-type] 5542 | } | ^ clib.c: In function '__clib__init': clib.c:6595:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 6595 | system(givertcap); | ^~~~~~~~~~~~~~~~~ At top level: clib.c:667:14: warning: 'wcstou8' defined but not used [-Wunused-function] 667 | static char *wcstou8(char *t, wchar_t *s) | ^~~~~~~ clib.c:646:17: warning: 'u8towcs' defined but not used [-Wunused-function] 646 | static wchar_t *u8towcs(wchar_t *t, char *s) | ^~~~~~~ clib.c:364:13: warning: 'reverse_limbs' defined but not used [-Wunused-function] 364 | static void reverse_limbs(mp_limb_t *p, unsigned n) | ^~~~~~~~~~~~~ clib.c: In function 'thread_proc': clib.c:5104:3: warning: 'thr' may be used uninitialized in this function [-Wmaybe-uninitialized] 5104 | pthread_cond_broadcast(&thr->exit_cond); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clib.c: In function 'reg_search': clib.c:6218:55: warning: 'prev' may be used uninitialized in this function [-Wmaybe-uninitialized] 6218 | if (regp->matches[0].rm_eo == regp->matches[0].rm_so && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 6219 | regp->p == prev) | ~~~~~~~~~~~~~~~ clib.c: In function '__F__clib_fscanf': clib.c:3415:27: warning: '%s' directive writing up to 1022 bytes into a region of size 1018 [-Wformat-overflow=] 3415 | sprintf(new_format, "%%%d%s", f_wd, f_format+1); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from clib.c:35: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 7 and 1029 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clib.c: In function '__F__clib_sscanf': clib.c:3702:27: warning: '%s' directive writing up to 1022 bytes into a region of size 1018 [-Wformat-overflow=] 3702 | sprintf(new_format, "%%%d%s", f_wd, f_format+1); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from clib.c:35: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 7 and 1029 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c clib.c -o clib.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o clib.la -rpath /usr/lib64/q clib.lo ../../libq/libq.la -lgmp -lpthread -lcrypt -lrt -lutil -lm libtool: link: gcc -shared -fPIC -DPIC .libs/clib.o ../../libq/.libs/libq.so -lgmp -lpthread -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,clib.so -o .libs/clib.so /usr/bin/ld: /tmp/clib.so.PsrFjX.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/q-7.11/modules/clib/clib.c:2301: warning: the use of `tmpnam' is dangerous, better use `mkstemp' libtool: link: ar cru .libs/clib.a clib.o libtool: link: ranlib .libs/clib.a libtool: link: ( cd ".libs" && rm -f "clib.la" && ln -s "../clib.la" "clib.la" ) /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o system.lo system.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c system.c -fPIC -DPIC -o .libs/system.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from system.c:35: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ system.c: In function 'mpz_from_double': system.c:491:14: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 491 | double ip, fp, dsz; | ^~ system.c: In function 'u8encode': system.c:682:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 682 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ system.c:687:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 687 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ system.c:689:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 689 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ system.c:694:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 694 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ system.c:696:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 696 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ system.c:698:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 698 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ system.c: In function '__F__system_bread': system.c:2138:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2138 | if (res != count) | ^ system.c: In function '__F__system_fcntl': system.c:2230:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2230 | n == 4 && !isint(xs[3], &whence)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ system.c: In function 'listfds': system.c:2295:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2295 | if (isfile(hd, &fp) && FD_ISSET(fileno(fp), set) || | ^ system.c:2300:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2300 | if (isfile(hd, &fp) && FD_ISSET(fileno(fp), set) || | ^ system.c: In function '__F__system_select': system.c:2320:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2320 | if (n == 4) | ^ system.c:2315:13: warning: unused variable 'x' [-Wunused-variable] 2315 | expr *xs, x; | ^ system.c: In function '__F__system_rename': system.c:3663:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3663 | if (old) free(old); if (new) free(new); | ^~ system.c:3663:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3663 | if (old) free(old); if (new) free(new); | ^~ system.c: In function '__F__system_link': system.c:3849:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3849 | if (old) free(old); if (new) free(new); | ^~ system.c:3849:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3849 | if (old) free(old); if (new) free(new); | ^~ system.c: In function '__F__system_symlink': system.c:3871:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3871 | if (old) free(old); if (new) free(new); | ^~ system.c:3871:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3871 | if (old) free(old); if (new) free(new); | ^~ system.c: In function '__F__system_pause': system.c:4351:8: warning: unused variable 'sig' [-Wunused-variable] 4351 | long sig; | ^~~ system.c: In function '__F__system_crypt': system.c:5076:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5076 | if (key) free(key); if (salt) free(salt); | ^~ system.c:5076:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5076 | if (key) free(key); if (salt) free(salt); | ^~ system.c: In function 'my_sym_generator': system.c:5113:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5113 | if (completions && iscons(current, &hd, &tl)) | ^ system.c: At top level: system.c:5153:1: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations] 5153 | { | ^ system.c: In function 'my_completion_function': system.c:5160:3: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations] 5160 | return (CPPFunction *) (completion_function?my_sym_completion:NULL); | ^~~~~~ system.c: In function 'my_readline': system.c:5188:3: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations] 5188 | CPPFunction *save_rl_attempted_completion_function = | ^~~~~~~~~~~ system.c: In function 'f_parse_mf': system.c:5998:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5998 | while (strchr("-+(^!", *r) || *r == '=' && *++r != 0) r++; | ~~~~~~~~~~^~~~~~~~~~~~ system.c: In function '__F__system_strfmon': system.c:6128:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6128 | if (buf) free(buf); free(s); | ^~ system.c:6128:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6128 | if (buf) free(buf); free(s); | ^~~~ system.c:6134:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6134 | if (buf) free(buf); free(s); | ^~ system.c:6134:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6134 | if (buf) free(buf); free(s); | ^~~~ At top level: system.c:543:13: warning: 'reverse_limbs' defined but not used [-Wunused-function] 543 | static void reverse_limbs(mp_limb_t *p, unsigned n) | ^~~~~~~~~~~~~ system.c:529:14: warning: 'mpz_addop1' defined but not used [-Wunused-function] 529 | static void *mpz_addop1(void (*f)(), mpz_t z, mpz_t u, mp_limb_t v) | ^~~~~~~~~~ system.c:518:14: warning: 'mpz_addop2' defined but not used [-Wunused-function] 518 | static void *mpz_addop2(void (*f)(), mpz_t z, mpz_t u, mpz_t v) | ^~~~~~~~~~ system.c:513:13: warning: 'long_min' defined but not used [-Wunused-function] 513 | static long long_min(long x, long y) | ^~~~~~~~ system.c:489:14: warning: 'mpz_from_double' defined but not used [-Wunused-function] 489 | static void *mpz_from_double(mpz_t z, double x) | ^~~~~~~~~~~~~~~ system.c:466:14: warning: 'mpz_copy' defined but not used [-Wunused-function] 466 | static void *mpz_copy(mpz_t z, mpz_t u) | ^~~~~~~~ In file included from /usr/include/string.h:519, from system.c:53: In function 'strncpy', inlined from 'encode_addr' at system.c:2839:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 108 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c system.c -o system.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o system.la -rpath /usr/lib64/q system.lo ../../libq/libq.la -lgmp -lpthread -lreadline -lncurses -lcrypt -lrt -lutil -lm libtool: link: gcc -shared -fPIC -DPIC .libs/system.o ../../libq/.libs/libq.so -lgmp -lpthread -lreadline -lncurses -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,system.so -o .libs/system.so libtool: link: ar cru .libs/system.a system.o libtool: link: ranlib .libs/system.a libtool: link: ( cd ".libs" && rm -f "system.la" && ln -s "../system.la" "system.la" ) make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/clib' Making all in examples make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/clib/examples' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/clib/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/clib' Making all in curl make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/curl' Making all in . make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/curl' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o curl.lo curl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c curl.c -fPIC -DPIC -o .libs/curl.o curl.c: In function '__F__curl_curl_setopt': curl.c:1133:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1133 | if (!isstr(xv[2], &data) && | ~~~~~~~~~~~~~~~~~~~~~^~ 1134 | !isobj(xv[2], type(ByteStr), (void**)&bdata) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl.c:1135:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1135 | n > 4 || n == 4 && !isstr(xv[3], &content_type)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl.c:1166:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1166 | n > 4 || n == 4 && !isstr(xv[3], &content_type)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl.c:1185:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1185 | (tag == CURLFORM_FILE && isstr(xv[k+1], &datafile) || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c curl.c -o curl.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o curl.la -rpath /usr/lib64/q curl.lo ../../libq/libq.la -lcurl -lcrypt -lrt -lutil -lm libtool: link: gcc -shared -fPIC -DPIC .libs/curl.o ../../libq/.libs/libq.so -lcurl -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,curl.so -o .libs/curl.so libtool: link: ar cru .libs/curl.a curl.o libtool: link: ranlib .libs/curl.a libtool: link: ( cd ".libs" && rm -f "curl.la" && ln -s "../curl.la" "curl.la" ) make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/curl' Making all in examples make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/curl/examples' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/curl/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/curl' Making all in dxl make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/dxl' Making all in . make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/dxl' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o dxl.lo dxl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c dxl.c -fPIC -DPIC -o .libs/dxl.o dxl.c: In function '__F__dxl_dxl_load_macro': dxl.c:397:13: warning: implicit declaration of function 'DXLLoadMacroFile'; did you mean 'DXLLoadMacroDirectory'? [-Wimplicit-function-declaration] 397 | res = DXLLoadMacroFile(h->conn, s); | ^~~~~~~~~~~~~~~~ | DXLLoadMacroDirectory dxl.c: In function '__F__dxl_dxl_exec_once_named': dxl.c:529:12: warning: unused variable 'i' [-Wunused-variable] 529 | long i; | ^ dxl.c: In function '__F__dxl_dxl_exec_on_change_named': dxl.c:576:12: warning: unused variable 'i' [-Wunused-variable] 576 | long i; | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c dxl.c -o dxl.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dxl.la -rpath /usr/lib64/q dxl.lo ../../libq/libq.la -lDX -lDXL -lcrypt -lrt -lutil -lm libtool: link: gcc -shared -fPIC -DPIC .libs/dxl.o ../../libq/.libs/libq.so -lDX -lDXL -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,dxl.so -o .libs/dxl.so libtool: link: ar cru .libs/dxl.a dxl.o libtool: link: ranlib .libs/dxl.a libtool: link: ( cd ".libs" && rm -f "dxl.la" && ln -s "../dxl.la" "dxl.la" ) make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/dxl' Making all in examples make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/dxl/examples' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/dxl/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/dxl' Making all in gdbm make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/gdbm' Making all in . make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/gdbm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdbm.lo gdbm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c gdbm.c -fPIC -DPIC -o .libs/gdbm.o gdbm.c: In function '__F__gdbm_gdbm_strerror': gdbm.c:129:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | (s = gdbm_strerror((int)n))) | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c gdbm.c -o gdbm.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gdbm.la -rpath /usr/lib64/q gdbm.lo ../../libq/libq.la -lgdbm -lcrypt -lrt -lutil -lm libtool: link: gcc -shared -fPIC -DPIC .libs/gdbm.o ../../libq/.libs/libq.so -lgdbm -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,gdbm.so -o .libs/gdbm.so libtool: link: ar cru .libs/gdbm.a gdbm.o libtool: link: ranlib .libs/gdbm.a libtool: link: ( cd ".libs" && rm -f "gdbm.la" && ln -s "../gdbm.la" "gdbm.la" ) make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/gdbm' Making all in examples make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/gdbm/examples' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/gdbm/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/gdbm' Making all in ggi make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/ggi' Making all in . make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/ggi' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/ggi' Making all in examples make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/ggi/examples' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/ggi/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/ggi' Making all in magick make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/magick' Making all in . make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/magick' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o magick.lo magick.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c magick.c -fPIC -DPIC -o .libs/magick.o magick.c: In function 'check_exception': magick.c:97:3: warning: 'SetExceptionInfo' is deprecated [-Wdeprecated-declarations] 97 | SetExceptionInfo(exception, UndefinedException); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:229:3: note: declared here 229 | SetExceptionInfo(ExceptionInfo *,ExceptionType) | ^~~~~~~~~~~~~~~~ magick.c: In function '__magick__init': magick.c:103:3: warning: 'InitializeMagick' is deprecated [-Wdeprecated-declarations] 103 | InitializeMagick("magick"); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:353:3: note: declared here 353 | InitializeMagick(const char *) magick_attribute((deprecated)), | ^~~~~~~~~~~~~~~~ magick.c: In function '__magick__fini': magick.c:109:3: warning: 'DestroyMagick' is deprecated [-Wdeprecated-declarations] 109 | DestroyMagick(); | ^~~~~~~~~~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:333:3: note: declared here 333 | DestroyMagick(void) magick_attribute((deprecated)), | ^~~~~~~~~~~~~ magick.c: In function '__F__magick_magick_info': magick.c:257:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 257 | if (!info) | ^ magick.c: In function 'get_pixels': magick.c:476:12: warning: implicit declaration of function 'ScaleQuantumToShort'; did you mean 'ScaleQuantumToChar'? [-Wimplicit-function-declaration] 476 | *q++=ScaleQuantumToShort(p->red); | ^~~~~~~~~~~~~~~~~~~ | ScaleQuantumToChar magick.c: In function 'set_pixels': magick.c:505:14: warning: implicit declaration of function 'ScaleShortToQuantum' [-Wimplicit-function-declaration] 505 | q->red=ScaleShortToQuantum(*p++); | ^~~~~~~~~~~~~~~~~~~ magick.c: In function 'mkpixel': magick.c:525:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 525 | if (m) free(m); return __ERROR; | ^~ magick.c:525:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 525 | if (m) free(m); return __ERROR; | ^~~~~~ magick.c: In function 'parse_info': magick.c:546:21: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 546 | sprintf(geom, "%ux%u", width, height); | ~^ ~~~~~ | | | | | long unsigned int | unsigned int | %lu magick.c:546:24: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] 546 | sprintf(geom, "%ux%u", width, height); | ~^ ~~~~~~ | | | | | long unsigned int | unsigned int | %lu magick.c:552:21: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 552 | sprintf(geom, "%ux%u+%u", width, height, offset); | ~^ ~~~~~ | | | | | long unsigned int | unsigned int | %lu magick.c:552:24: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] 552 | sprintf(geom, "%ux%u+%u", width, height, offset); | ~^ ~~~~~~ | | | | unsigned int long unsigned int | %lu magick.c:552:27: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 552 | sprintf(geom, "%ux%u+%u", width, height, offset); | ~^ ~~~~~~ | | | | unsigned int long unsigned int | %lu magick.c: In function '__F__magick_set_draw_font': magick.c:663:7: warning: 'LiberateMemory' is deprecated [-Wdeprecated-declarations] 663 | LiberateMemory((void**)&draw_info->font); | ^~~~~~~~~~~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:343:3: note: declared here 343 | LiberateMemory(void **) magick_attribute((deprecated)), | ^~~~~~~~~~~~~~ magick.c: In function '__F__magick_image_background_color': magick.c:834:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 834 | if (m) free(m); return __ERROR; | ^~ magick.c:834:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 834 | if (m) free(m); return __ERROR; | ^~~~~~ magick.c: In function '__F__magick_image_border_color': magick.c:861:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 861 | if (m) free(m); return __ERROR; | ^~ magick.c:861:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 861 | if (m) free(m); return __ERROR; | ^~~~~~ magick.c: In function '__F__magick_image_matte_color': magick.c:888:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 888 | if (m) free(m); return __ERROR; | ^~ magick.c:888:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 888 | if (m) free(m); return __ERROR; | ^~~~~~ magick.c: In function '__F__magick_set_image_attr': magick.c:1024:5: warning: 'SetImageAttribute' is deprecated [-Wdeprecated-declarations] 1024 | SetImageAttribute(img, key, val); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:231:3: note: declared here 231 | SetImageAttribute(Image *,const char *,const char *) | ^~~~~~~~~~~~~~~~~ magick.c: In function '__F__magick_magick_pixel': magick.c:1129:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1129 | if (m) free(m); return __ERROR; | ^~ magick.c:1129:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1129 | if (m) free(m); return __ERROR; | ^~~~~~ magick.c:1146:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1146 | if (m) free(m); return __ERROR; | ^~ magick.c:1146:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1146 | if (m) free(m); return __ERROR; | ^~~~~~ magick.c: In function '__F__magick_create_image': magick.c:1256:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1256 | if (ULONG_MAX/8 < w*h || m->size != 8 && m->size != size || | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ magick.c:1259:5: warning: 'AllocateImage' is deprecated [-Wdeprecated-declarations] 1259 | img = AllocateImage(&info); | ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:127:4: note: declared here 127 | *AllocateImage(const ImageInfo *) magick_attribute((deprecated)), | ^~~~~~~~~~~~~ magick.c:1265:7: warning: 'SetImagePixels' is deprecated [-Wdeprecated-declarations] 1265 | if (!(pixels = SetImagePixels(img, 0, 0, w, h))) { | ^~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:273:4: note: declared here 273 | *SetImagePixels(Image *,const ssize_t,const ssize_t,const size_t, | ^~~~~~~~~~~~~~ magick.c:1278:7: warning: 'SyncImagePixels' is deprecated [-Wdeprecated-declarations] 1278 | if (SyncImagePixels(img)) | ^~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:234:3: note: declared here 234 | SyncImagePixels(Image *) magick_attribute((deprecated)), | ^~~~~~~~~~~~~~~ magick.c: In function '__F__magick_image_to_blob': magick.c:1432:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1432 | (isvoid(argv[0]) && *img->magick || isstr(argv[0], &s) && *s)) { magick.c: In function '__F__magick_get_image_pixels': magick.c:1517:7: warning: 'GetImagePixels' is deprecated [-Wdeprecated-declarations] 1517 | (pixels = GetImagePixels(img, x, y, w, h))) { | ^ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:266:4: note: declared here 266 | *GetImagePixels(Image *,const ssize_t,const ssize_t,const size_t, | ^~~~~~~~~~~~~~ magick.c: In function '__F__magick_set_image_pixels': magick.c:1557:5: warning: 'SetImagePixels' is deprecated [-Wdeprecated-declarations] 1557 | if (!(pixels = SetImagePixels(img, x, y, w, h))) | ^~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:273:4: note: declared here 273 | *SetImagePixels(Image *,const ssize_t,const ssize_t,const size_t, | ^~~~~~~~~~~~~~ magick.c:1561:5: warning: 'SyncImagePixels' is deprecated [-Wdeprecated-declarations] 1561 | if (SyncImagePixels(img)) | ^~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:234:3: note: declared here 234 | SyncImagePixels(Image *) magick_attribute((deprecated)), | ^~~~~~~~~~~~~~~ magick.c: In function '__F__magick_quantize': magick.c:1586:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1586 | (isuint(xv[0], &space) && | ~~~~~~~~~~~~~~~~~~~~~~^~ 1587 | (isuint(xv[1], &ncolors) || isbool(xv[1], &dither)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ magick.c:1582:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1582 | (n == 1 && | ~~~~~~~^~ 1583 | (isuint(xv[0], &space) || | ~~~~~~~~~~~~~~~~~~~~~~~~~ 1584 | isobj(xv[0], type(Image), (void**)&img2)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ magick.c:1592:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1590 | n == 3 && | ~~~~~~~~~ 1591 | isuint(xv[0], &space) && | ~~~~~~~~~~~~~~~~~~~~~~~~ 1592 | isuint(xv[1], &ncolors) && | ~~~~~~~~~~~~~~~~~~~~~~~~^~ 1593 | isbool(xv[2], &dither))) && | ~~~~~~~~~~~~~~~~~~~~~~ magick.c:1581:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1581 | istuple(argv[1], &n, &xv) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1582 | (n == 1 && | ~~~~~~~~~~ 1583 | (isuint(xv[0], &space) || | ~~~~~~~~~~~~~~~~~~~~~~~~~ 1584 | isobj(xv[0], type(Image), (void**)&img2)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1585 | n == 2 && | ~~~~~~~~~ 1586 | (isuint(xv[0], &space) && | ~~~~~~~~~~~~~~~~~~~~~~~~~ 1587 | (isuint(xv[1], &ncolors) || isbool(xv[1], &dither)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1588 | isobj(xv[0], type(Image), (void**)&img2) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1589 | isbool(xv[1], &dither)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 1590 | n == 3 && | ~~~~~~~~~ 1591 | isuint(xv[0], &space) && | ~~~~~~~~~~~~~~~~~~~~~~~~ 1592 | isuint(xv[1], &ncolors) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 1593 | isbool(xv[2], &dither))) && | ~~~~~~~~~~~~~~~~~~~~~~~ magick.c:1597:2: warning: 'MapImages' is deprecated [-Wdeprecated-declarations] 1597 | res = MapImages(imgs, img2, dither); | ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:214:3: note: declared here 214 | MapImages(Image *,const Image *,const MagickBooleanType) | ^~~~~~~~~ magick.c:1600:2: warning: 'MapImage' is deprecated [-Wdeprecated-declarations] 1600 | res = MapImage(img, img2, dither); | ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:212:3: note: declared here 212 | MapImage(Image *,const Image *,const MagickBooleanType) | ^~~~~~~~ magick.c: In function '__F__magick_flatten': magick.c:1945:5: warning: 'FlattenImages' is deprecated [-Wdeprecated-declarations] 1945 | Image *img = FlattenImages(imgs, &exception); | ^~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:137:4: note: declared here 137 | *FlattenImages(Image *,ExceptionInfo *) magick_attribute((deprecated)), | ^~~~~~~~~~~~~ magick.c: In function '__F__magick_mosaic': magick.c:1961:5: warning: 'MosaicImages' is deprecated [-Wdeprecated-declarations] 1961 | Image *img = MosaicImages(imgs, &exception); | ^~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:142:4: note: declared here 142 | *MosaicImages(Image *,ExceptionInfo *) magick_attribute((deprecated)), | ^~~~~~~~~~~~ magick.c: In function '__F__magick_montage': magick.c:2055:18: warning: unused variable 'next' [-Wunused-variable] 2055 | Image *img, *next; | ^~~~ magick.c: In function '__F__magick_threshold': magick.c:2488:5: warning: 'ThresholdImageChannel' is deprecated [-Wdeprecated-declarations] 2488 | int res = ThresholdImageChannel(img, val); | ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:319:3: note: declared here 319 | ThresholdImageChannel(Image *,const char *) magick_attribute((deprecated)), | ^~~~~~~~~~~~~~~~~~~~~ magick.c: In function '__F__magick_annotate': magick.c:2805:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 2805 | sprintf(geom, "%+d%+d", x, y); | ~~^ ~ | | | | int long int | %+ld magick.c:2805:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 2805 | sprintf(geom, "%+d%+d", x, y); | ~~^ ~ | | | | int long int | %+ld magick.c: In function '__F__magick_color_flood_fill': magick.c:2854:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2854 | isobj(argv[3], type(ByteStr), (void**)&m2) && m2->size == 8)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ magick.c:2864:7: warning: 'AcquireOnePixel' is deprecated [-Wdeprecated-declarations] 2864 | target = AcquireOnePixel(img, x, y, &exception); | ^~~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:258:3: note: declared here 258 | AcquireOnePixel(const Image *,const ssize_t,const ssize_t,ExceptionInfo *) | ^~~~~~~~~~~~~~~ magick.c:2870:5: warning: 'ColorFloodfillImage' is deprecated [-Wdeprecated-declarations] 2870 | res = ColorFloodfillImage(img, draw_info, target, x, y, | ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:185:3: note: declared here 185 | ColorFloodfillImage(Image *,const DrawInfo *,const PixelPacket,const ssize_t, | ^~~~~~~~~~~~~~~~~~~ magick.c: In function '__F__magick_matte_flood_fill': magick.c:2895:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2895 | isobj(argv[3], type(ByteStr), (void**)&m2) && m2->size == 8)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ magick.c:2901:7: warning: 'AcquireOnePixel' is deprecated [-Wdeprecated-declarations] 2901 | target = AcquireOnePixel(img, x, y, &exception); | ^~~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:258:3: note: declared here 258 | AcquireOnePixel(const Image *,const ssize_t,const ssize_t,ExceptionInfo *) | ^~~~~~~~~~~~~~~ magick.c:2905:5: warning: 'MatteFloodfillImage' is deprecated [-Wdeprecated-declarations] 2905 | res = MatteFloodfillImage(img, target, 0xffff-opacity, x, y, | ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:216:3: note: declared here 216 | MatteFloodfillImage(Image *,const PixelPacket,const Quantum,const ssize_t, | ^~~~~~~~~~~~~~~~~~~ magick.c: In function '__F__magick_opaque': magick.c:2926:5: warning: 'OpaqueImage' is deprecated [-Wdeprecated-declarations] 2926 | res = OpaqueImage(img, target, fill); | ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:218:3: note: declared here 218 | OpaqueImage(Image *,const PixelPacket,const PixelPacket) | ^~~~~~~~~~~ magick.c: In function '__F__magick_transparent': magick.c:2946:5: warning: 'TransparentImage' is deprecated [-Wdeprecated-declarations] 2946 | res = TransparentImage(img, target, 0xffff-opacity); | ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:100, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:235:3: note: declared here 235 | TransparentImage(Image *,const PixelPacket,const Quantum) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from magick.c:40: In function 'strncpy', inlined from '__F__magick_image_to_blob' at magick.c:1446:7: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from '__F__magick_image_to_blob' at magick.c:1452:7: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c magick.c -o magick.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o magick.la -rpath /usr/lib64/q magick.lo ../../libq/libq.la -lMagickCore-6.Q16 -lcrypt -lrt -lutil -lm libtool: link: gcc -shared -fPIC -DPIC .libs/magick.o ../../libq/.libs/libq.so -lMagickCore-6.Q16 -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,magick.so -o .libs/magick.so libtool: link: ar cru .libs/magick.a magick.o libtool: link: ranlib .libs/magick.a libtool: link: ( cd ".libs" && rm -f "magick.la" && ln -s "../magick.la" "magick.la" ) make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/magick' Making all in examples make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/magick/examples' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/magick/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/magick' Making all in octave make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/octave' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o octave.lo octave.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c octave.c -fPIC -DPIC -o .libs/octave.o octave.c:221:8: warning: return type defaults to 'int' [-Wimplicit-int] 221 | static beta_check(int d) | ^~~~~~~~~~ octave.c:722:8: warning: return type defaults to 'int' [-Wimplicit-int] 722 | static isscalar(expr x, int *cplx, double *re, double *im) | ^~~~~~~~ octave.c:751:8: warning: return type defaults to 'int' [-Wimplicit-int] 751 | static isvector(expr x, int *cplx, int *c) | ^~~~~~~~ octave.c:768:8: warning: return type defaults to 'int' [-Wimplicit-int] 768 | static ismatrix(expr x, int *cplx, int *r, int *c) | ^~~~~~~~ octave.c:792:8: warning: return type defaults to 'int' [-Wimplicit-int] 792 | static writescalar(int d, char *magic, char *name, | ^~~~~~~~~~~ octave.c:820:8: warning: return type defaults to 'int' [-Wimplicit-int] 820 | static writevector(int d, char *magic, char *name, | ^~~~~~~~~~~ octave.c:860:8: warning: return type defaults to 'int' [-Wimplicit-int] 860 | static writematrix(int d, char *magic, char *name, | ^~~~~~~~~~~ octave.c: In function 'readdata': octave.c:662:1: warning: control reaches end of non-void function [-Wreturn-type] 662 | } | ^ octave.c: In function 'isscalar': octave.c:749:1: warning: control reaches end of non-void function [-Wreturn-type] 749 | } | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c octave.c -o octave.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o octave.la -rpath /usr/lib64/q octave.lo ../../libq/libq.la -lcrypt -lrt -lutil -lm libtool: link: gcc -shared -fPIC -DPIC .libs/octave.o ../../libq/.libs/libq.so -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,octave.so -o .libs/octave.so /usr/bin/ld: /tmp/octave.so.DLGFyV.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/q-7.11/modules/octave/octave.c:319: warning: the use of `tmpnam' is dangerous, better use `mkstemp' libtool: link: ar cru .libs/octave.a octave.o libtool: link: ranlib .libs/octave.a libtool: link: ( cd ".libs" && rm -f "octave.la" && ln -s "../octave.la" "octave.la" ) make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/octave' Making all in odbc make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/odbc' Making all in . make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/odbc' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o odbc.lo odbc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c odbc.c -fPIC -DPIC -o .libs/odbc.o odbc.c: In function '__F__odbc_odbc_typeinfo': odbc.c:665:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 665 | ret = SQLBindCol(db->hstmt, 1, SQL_C_CHAR, name, SL, &len[1]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:666:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 666 | ret = SQLBindCol(db->hstmt, 2, SQL_C_SHORT, &type, 0, &len[2]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:667:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 667 | ret = SQLBindCol(db->hstmt, 3, SQL_C_LONG, &prec, 0, &len[3]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:668:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 668 | ret = SQLBindCol(db->hstmt, 4, SQL_C_CHAR, prefix, SL, &len[4]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:669:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 669 | ret = SQLBindCol(db->hstmt, 5, SQL_C_CHAR, suffix, SL, &len[5]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:670:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 670 | ret = SQLBindCol(db->hstmt, 6, SQL_C_CHAR, params, SL, &len[6]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:671:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 671 | ret = SQLBindCol(db->hstmt, 7, SQL_C_SHORT, &nullable, 0, &len[7]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:672:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 672 | ret = SQLBindCol(db->hstmt, 8, SQL_C_SHORT, &case_sen, 0, &len[8]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:673:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 673 | ret = SQLBindCol(db->hstmt, 9, SQL_C_SHORT, &searchable, 0, &len[9]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:674:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 674 | ret = SQLBindCol(db->hstmt, 10, SQL_C_SHORT, &unsign, 0, &len[10]); | ^~~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:675:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 675 | ret = SQLBindCol(db->hstmt, 11, SQL_C_SHORT, &money, 0, &len[11]); | ^~~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:676:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 676 | ret = SQLBindCol(db->hstmt, 12, SQL_C_SHORT, &auto_inc, 0, &len[12]); | ^~~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:677:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 677 | ret = SQLBindCol(db->hstmt, 13, SQL_C_CHAR, local_name, SL, &len[13]); | ^~~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:678:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 678 | ret = SQLBindCol(db->hstmt, 14, SQL_C_SHORT, &min_scale, 0, &len[14]); | ^~~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:679:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 679 | ret = SQLBindCol(db->hstmt, 15, SQL_C_SHORT, &max_scale, 0, &len[15]); | ^~~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:680:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 680 | ret = SQLBindCol(db->hstmt, 16, SQL_C_SHORT, &sql_type, 0, &len[16]); | ^~~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:681:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 681 | ret = SQLBindCol(db->hstmt, 17, SQL_C_SHORT, &subcode, 0, &len[17]); | ^~~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:682:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 682 | ret = SQLBindCol(db->hstmt, 18, SQL_C_LONG, &prec_radix, 0, &len[18]); | ^~~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:683:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 683 | ret = SQLBindCol(db->hstmt, 19, SQL_C_SHORT, &intv_prec, 0, &len[19]); | ^~~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:693:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 693 | if (n >= m) | ^ odbc.c:699:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 699 | checkstr(name, len[1]), | ^~~~ | | | UCHAR * {aka unsigned char *} odbc.c:640:64: note: in definition of macro 'checkstr' 640 | #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) | ^ In file included from odbc.c:69: ../../libq/libq.h:272:39: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 272 | __DLLIMPORT char *to_utf8(const char *s, const char *encoding); | ~~~~~~~~~~~~^ odbc.c:702:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 702 | checkstr(prefix, len[4]), | ^~~~~~ | | | UCHAR * {aka unsigned char *} odbc.c:640:64: note: in definition of macro 'checkstr' 640 | #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) | ^ In file included from odbc.c:69: ../../libq/libq.h:272:39: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 272 | __DLLIMPORT char *to_utf8(const char *s, const char *encoding); | ~~~~~~~~~~~~^ odbc.c:703:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 703 | checkstr(suffix, len[5]), | ^~~~~~ | | | UCHAR * {aka unsigned char *} odbc.c:640:64: note: in definition of macro 'checkstr' 640 | #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) | ^ In file included from odbc.c:69: ../../libq/libq.h:272:39: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 272 | __DLLIMPORT char *to_utf8(const char *s, const char *encoding); | ~~~~~~~~~~~~^ odbc.c:704:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 704 | checkstr(params, len[6]), | ^~~~~~ | | | UCHAR * {aka unsigned char *} odbc.c:640:64: note: in definition of macro 'checkstr' 640 | #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) | ^ In file included from odbc.c:69: ../../libq/libq.h:272:39: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 272 | __DLLIMPORT char *to_utf8(const char *s, const char *encoding); | ~~~~~~~~~~~~^ odbc.c:711:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 711 | checkstr(local_name, len[13]), | ^~~~~~~~~~ | | | UCHAR * {aka unsigned char *} odbc.c:640:64: note: in definition of macro 'checkstr' 640 | #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) | ^ In file included from odbc.c:69: ../../libq/libq.h:272:39: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 272 | __DLLIMPORT char *to_utf8(const char *s, const char *encoding); | ~~~~~~~~~~~~^ odbc.c: In function '__F__odbc_odbc_tables': odbc.c:763:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 763 | ret = SQLBindCol(db->hstmt, 3, SQL_C_CHAR, name, SL, &len[3]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:764:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 764 | ret = SQLBindCol(db->hstmt, 4, SQL_C_CHAR, type, SL, &len[4]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:774:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 774 | if (n >= m) | ^ odbc.c:780:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 780 | checkstr(name, len[3]), | ^~~~ | | | UCHAR * {aka unsigned char *} odbc.c:640:64: note: in definition of macro 'checkstr' 640 | #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) | ^ In file included from odbc.c:69: ../../libq/libq.h:272:39: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 272 | __DLLIMPORT char *to_utf8(const char *s, const char *encoding); | ~~~~~~~~~~~~^ odbc.c:781:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 781 | checkstr(type, len[4])); | ^~~~ | | | UCHAR * {aka unsigned char *} odbc.c:640:64: note: in definition of macro 'checkstr' 640 | #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) | ^ In file included from odbc.c:69: ../../libq/libq.h:272:39: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 272 | __DLLIMPORT char *to_utf8(const char *s, const char *encoding); | ~~~~~~~~~~~~^ odbc.c: In function '__F__odbc_odbc_columns': odbc.c:830:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 830 | ret = SQLBindCol(db->hstmt, 4, SQL_C_CHAR, name, SL, &len[4]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:831:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 831 | ret = SQLBindCol(db->hstmt, 6, SQL_C_CHAR, type, SL, &len[6]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:832:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 832 | ret = SQLBindCol(db->hstmt, 13, SQL_C_CHAR, deflt, SL, &len[13]); | ^~~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:833:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 833 | ret = SQLBindCol(db->hstmt, 18, SQL_C_CHAR, nullable, SL, &len[18]); | ^~~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:844:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 844 | if (n >= m) | ^ odbc.c:850:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 850 | checkstr(name, len[4]), | ^~~~ | | | UCHAR * {aka unsigned char *} odbc.c:640:64: note: in definition of macro 'checkstr' 640 | #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) | ^ In file included from odbc.c:69: ../../libq/libq.h:272:39: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 272 | __DLLIMPORT char *to_utf8(const char *s, const char *encoding); | ~~~~~~~~~~~~^ odbc.c:851:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 851 | checkstr(type, len[6]), | ^~~~ | | | UCHAR * {aka unsigned char *} odbc.c:640:64: note: in definition of macro 'checkstr' 640 | #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) | ^ In file included from odbc.c:69: ../../libq/libq.h:272:39: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 272 | __DLLIMPORT char *to_utf8(const char *s, const char *encoding); | ~~~~~~~~~~~~^ odbc.c:852:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 852 | checkstr(nullable, len[18]), | ^~~~~~~~ | | | UCHAR * {aka unsigned char *} odbc.c:640:64: note: in definition of macro 'checkstr' 640 | #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) | ^ In file included from odbc.c:69: ../../libq/libq.h:272:39: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 272 | __DLLIMPORT char *to_utf8(const char *s, const char *encoding); | ~~~~~~~~~~~~^ odbc.c:853:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 853 | checkstr(deflt, len[13])); | ^~~~~ | | | UCHAR * {aka unsigned char *} odbc.c:640:64: note: in definition of macro 'checkstr' 640 | #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) | ^ In file included from odbc.c:69: ../../libq/libq.h:272:39: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 272 | __DLLIMPORT char *to_utf8(const char *s, const char *encoding); | ~~~~~~~~~~~~^ odbc.c: In function '__F__odbc_odbc_primary_keys': odbc.c:905:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 905 | ret = SQLBindCol(db->hstmt, 4, SQL_C_CHAR, name, SL, &len[4]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:915:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 915 | if (n >= m) | ^ odbc.c:920:22: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 920 | xs[n++] = checkstr(name, len[4]); | ^~~~ | | | UCHAR * {aka unsigned char *} odbc.c:640:64: note: in definition of macro 'checkstr' 640 | #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) | ^ In file included from odbc.c:69: ../../libq/libq.h:272:39: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 272 | __DLLIMPORT char *to_utf8(const char *s, const char *encoding); | ~~~~~~~~~~~~^ odbc.c: In function '__F__odbc_odbc_foreign_keys': odbc.c:972:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 972 | ret = SQLBindCol(db->hstmt, 3, SQL_C_CHAR, pktabname, SL, &len[3]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:973:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 973 | ret = SQLBindCol(db->hstmt, 4, SQL_C_CHAR, pkname, SL, &len[4]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:974:66: warning: passing argument 6 of 'SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 974 | ret = SQLBindCol(db->hstmt, 8, SQL_C_CHAR, name, SL, &len[8]); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:593:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:985:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 985 | if (n >= m) | ^ odbc.c:991:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 991 | checkstr(name, len[8]), | ^~~~ | | | UCHAR * {aka unsigned char *} odbc.c:640:64: note: in definition of macro 'checkstr' 640 | #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) | ^ In file included from odbc.c:69: ../../libq/libq.h:272:39: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 272 | __DLLIMPORT char *to_utf8(const char *s, const char *encoding); | ~~~~~~~~~~~~^ odbc.c:992:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 992 | checkstr(pktabname, len[3]), | ^~~~~~~~~ | | | UCHAR * {aka unsigned char *} odbc.c:640:64: note: in definition of macro 'checkstr' 640 | #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) | ^ In file included from odbc.c:69: ../../libq/libq.h:272:39: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 272 | __DLLIMPORT char *to_utf8(const char *s, const char *encoding); | ~~~~~~~~~~~~^ odbc.c:993:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 993 | checkstr(pkname, len[4])); | ^~~~~~ | | | UCHAR * {aka unsigned char *} odbc.c:640:64: note: in definition of macro 'checkstr' 640 | #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) | ^ In file included from odbc.c:69: ../../libq/libq.h:272:39: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 272 | __DLLIMPORT char *to_utf8(const char *s, const char *encoding); | ~~~~~~~~~~~~^ odbc.c: In function '__F__odbc_sql_exec': odbc.c:1109:41: warning: passing argument 2 of 'SQLRowCount' from incompatible pointer type [-Wincompatible-pointer-types] 1109 | if ((ret = SQLRowCount(db->hstmt, &rows)) == SQL_SUCCESS || | ^~~~~ | | | SQLINTEGER * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:768:44: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SQLINTEGER *' {aka 'int *'} 768 | SQLLEN *RowCount); | ~~~~~~~~^~~~~~~~ odbc.c: In function '__F__odbc_sql_fetch': odbc.c:1196:22: warning: passing argument 6 of 'SQLGetData' from incompatible pointer type [-Wincompatible-pointer-types] 1196 | sizeof(iv), &len) != SQL_SUCCESS) && | ^~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:706:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 706 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:1209:14: warning: passing argument 6 of 'SQLGetData' from incompatible pointer type [-Wincompatible-pointer-types] 1209 | sz, &len) != SQL_SUCCESS) && | ^~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:706:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 706 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:1227:22: warning: passing argument 6 of 'SQLGetData' from incompatible pointer type [-Wincompatible-pointer-types] 1227 | sizeof(fv), &len) != SQL_SUCCESS) && | ^~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:706:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 706 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:1243:12: warning: passing argument 6 of 'SQLGetData' from incompatible pointer type [-Wincompatible-pointer-types] 1243 | actsz, &len)) == SQL_SUCCESS || | ^~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:706:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 706 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c:1304:12: warning: passing argument 6 of 'SQLGetData' from incompatible pointer type [-Wincompatible-pointer-types] 1304 | actsz, &len)) == SQL_SUCCESS || | ^~~~ | | | SDWORD * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:706:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 706 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ odbc.c: In function '__F__odbc_sql_more': odbc.c:1391:41: warning: passing argument 2 of 'SQLRowCount' from incompatible pointer type [-Wincompatible-pointer-types] 1391 | if ((ret = SQLRowCount(db->hstmt, &rows)) == SQL_SUCCESS || | ^~~~~ | | | SQLINTEGER * {aka int *} In file included from odbc.c:61: /usr/include/sql.h:768:44: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SQLINTEGER *' {aka 'int *'} 768 | SQLLEN *RowCount); | ~~~~~~~~^~~~~~~~ odbc.c:1378:12: warning: unused variable 'len' [-Wunused-variable] 1378 | SDWORD len; | ^~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c odbc.c -o odbc.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o odbc.la -rpath /usr/lib64/q odbc.lo ../../libq/libq.la -lgmp -lodbc -lcrypt -lrt -lutil -lm libtool: link: gcc -shared -fPIC -DPIC .libs/odbc.o ../../libq/.libs/libq.so -lgmp -lodbc -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,odbc.so -o .libs/odbc.so libtool: link: ar cru .libs/odbc.a odbc.o libtool: link: ranlib .libs/odbc.a libtool: link: ( cd ".libs" && rm -f "odbc.la" && ln -s "../odbc.la" "odbc.la" ) make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/odbc' Making all in examples make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/odbc/examples' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/odbc/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/odbc' Making all in swig make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/swig' Making all in . make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/swig' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o swig.lo swig.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c swig.c -fPIC -DPIC -o .libs/swig.o swig.c: In function '__D__swig_SWIGPtr': swig.c:92:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 92 | if (p && p->ptr && p->owner) | ^ swig.c: In function '__F__swig_swig_get': swig.c:148:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 148 | (p && p->ptr || sz <= 0)) { | ~~^~~~~~~~~ swig.c: In function '__F__swig_swig_put': swig.c:175:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 175 | (p && p->ptr || m->size == 0)) { | ~~^~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c swig.c -o swig.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o swig.la -rpath /usr/lib64/q swig.lo ../../libq/libq.la -lcrypt -lrt -lutil -lm libtool: link: gcc -shared -fPIC -DPIC .libs/swig.o ../../libq/.libs/libq.so -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,swig.so -o .libs/swig.so libtool: link: ar cru .libs/swig.a swig.o libtool: link: ranlib .libs/swig.a libtool: link: ( cd ".libs" && rm -f "swig.la" && ln -s "../swig.la" "swig.la" ) make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/swig' Making all in examples make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/swig/examples' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/swig/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/swig' Making all in tk make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/tk' Making all in . make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/tk' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tk.lo tk.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c tk.c -fPIC -DPIC -o .libs/tk.o tk.c: In function 'q_eval': tk.c:373:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 373 | if (trace || (int)clientData) { | ^ tk.c:375:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 375 | if ((int)clientData && check_trace(buf, &val)) { | ^ tk.c: In function 'tk_eval': tk.c:491:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 491 | if (tld_interp && tld_interp->result && *tld_interp->result) | ^~ In file included from tk.c:80: /usr/include/tcl.h:499:11: note: declared here 499 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tk.c:491:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 491 | if (tld_interp && tld_interp->result && *tld_interp->result) | ^~ In file included from tk.c:80: /usr/include/tcl.h:499:11: note: declared here 499 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tk.c:492:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 492 | set_result(tld_interp->result); | ^~~~~~~~~~ In file included from tk.c:80: /usr/include/tcl.h:499:11: note: declared here 499 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tk.c: In function 'tk_start': tk.c:520:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 520 | if (tld_interp->result && *tld_interp->result) | ^~ In file included from tk.c:80: /usr/include/tcl.h:499:11: note: declared here 499 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tk.c:520:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 520 | if (tld_interp->result && *tld_interp->result) | ^~ In file included from tk.c:80: /usr/include/tcl.h:499:11: note: declared here 499 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tk.c:521:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 521 | set_result(tld_interp->result); | ^~~~~~~~~~ In file included from tk.c:80: /usr/include/tcl.h:499:11: note: declared here 499 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tk.c:537:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 537 | if (tld_interp->result && *tld_interp->result) | ^~ In file included from tk.c:80: /usr/include/tcl.h:499:11: note: declared here 499 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tk.c:537:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 537 | if (tld_interp->result && *tld_interp->result) | ^~ In file included from tk.c:80: /usr/include/tcl.h:499:11: note: declared here 499 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tk.c:538:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 538 | set_result(tld_interp->result); | ^~~~~~~~~~ In file included from tk.c:80: /usr/include/tcl.h:499:11: note: declared here 499 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c tk.c -o tk.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tk.la -rpath /usr/lib64/q tk.lo ../../libq/libq.la -lpthread -ltcl -ltk -lX11 -lcrypt -lrt -lutil -lm libtool: link: gcc -shared -fPIC -DPIC .libs/tk.o ../../libq/.libs/libq.so -lpthread -ltcl -ltk -lX11 -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,tk.so -o .libs/tk.so libtool: link: ar cru .libs/tk.a tk.o libtool: link: ranlib .libs/tk.a libtool: link: ( cd ".libs" && rm -f "tk.la" && ln -s "../tk.la" "tk.la" ) make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/tk' Making all in examples make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/tk/examples' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/tk/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/tk' Making all in xml make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/xml' Making all in . make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/xml' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -I/usr/include/libxml2 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o xml.lo xml.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -I/usr/include/libxml2 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c xml.c -fPIC -DPIC -o .libs/xml.o xml.c:212:8: warning: return type defaults to 'int' [-Wimplicit-int] 212 | static supported(xmlNodePtr node) | ^~~~~~~~~ xml.c: In function '__D__xml_XMLNode': xml.c:545:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 545 | (xmlNodePtr)node->doc->extSubset != node && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 546 | (xmlNodePtr)node->doc->intSubset != node)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xml.c: In function '__F__xml_xml_new_doc': xml.c:566:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 566 | istuple(argv[1], &n, &xs) && n==2 && isstr(xs[0], &extid) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 567 | isstr(xs[1], &sysid))) { | ~~~~~~~~~~~~~~~~~~~~ xml.c: In function '__F__xml_xslt_apply_stylesheet': xml.c:1373:10: warning: unused variable 'j' [-Wunused-variable] 1373 | int i, j, k, n = 0, m; | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -I/usr/include/libxml2 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c xml.c -o xml.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xml.la -rpath /usr/lib64/q xml.lo ../../libq/libq.la -lxml2 -lz -llzma -lm -ldl -lxslt -lxml2 -lm -lcrypt -lrt -lutil -lm libtool: link: gcc -shared -fPIC -DPIC .libs/xml.o ../../libq/.libs/libq.so -lz -llzma -ldl -lxslt -lxml2 -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,xml.so -o .libs/xml.so libtool: link: ar cru .libs/xml.a xml.o libtool: link: ranlib .libs/xml.a libtool: link: ( cd ".libs" && rm -f "xml.la" && ln -s "../xml.la" "xml.la" ) make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/xml' Making all in examples make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/xml/examples' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/xml/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/xml' make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/modules' Making all in src make[2]: Entering directory '/builddir/build/BUILD/q-7.11/src' /bin/sh ../ylwrap qc.y y.tab.c qc.c y.tab.h `echo qc.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output qc.output -- bison -y -d /builddir/build/BUILD/q-7.11/src/qc.y: warning: 3 shift/reduce conflicts [-Wconflicts-sr] /builddir/build/BUILD/q-7.11/src/qc.y: warning: 82 reduce/reduce conflicts [-Wconflicts-rr] updating qc.h /bin/sh ../ylwrap qmparse.y y.tab.c qmparse.c y.tab.h `echo qmparse.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output qmparse.output -- bison -y -d /builddir/build/BUILD/q-7.11/src/qmparse.y: warning: 2 shift/reduce conflicts [-Wconflicts-sr] /builddir/build/BUILD/q-7.11/src/qmparse.y: warning: 40 reduce/reduce conflicts [-Wconflicts-rr] updating qmparse.h make all-am make[3]: Entering directory '/builddir/build/BUILD/q-7.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o q-q.o `test -f 'q.c' || echo './'`q.c q.c:52:8: warning: type defaults to 'int' in declaration of 'unload_dlls' [-Wimplicit-int] 52 | static unload_dlls(void); | ^~~~~~~~~~~ q.c: In function '__qq__exitproc': q.c:61:7: warning: unused variable 'i' [-Wunused-variable] 61 | int i; | ^ q.c: At top level: q.c:480:8: warning: return type defaults to 'int' [-Wimplicit-int] 480 | static comp(x, y) | ^~~~ q.c:486:8: warning: return type defaults to 'int' [-Wimplicit-int] 486 | static build_fsym_table() | ^~~~~~~~~~~~~~~~ q.c: In function 'build_fsym_table': q.c:490:15: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 490 | if (!fsyms) return; | ^~~~~~ q.c:486:8: note: declared here 486 | static build_fsym_table() | ^~~~~~~~~~~~~~~~ q.c:493:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 493 | if (('a' <= *base && *base <= 'z' || | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ q.c: At top level: q.c:513:8: warning: return type defaults to 'int' [-Wimplicit-int] 513 | static build_vsym_table() | ^~~~~~~~~~~~~~~~ q.c: In function 'build_vsym_table': q.c:517:15: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 517 | if (!vsyms) return; | ^~~~~~ q.c:513:8: note: declared here 513 | static build_vsym_table() | ^~~~~~~~~~~~~~~~ q.c:520:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 520 | if (('a' <= *base && *base <= 'z' || | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ q.c: At top level: q.c:540:8: warning: return type defaults to 'int' [-Wimplicit-int] 540 | static search(table, text, len) | ^~~~~~ q.c:550:8: warning: return type defaults to 'int' [-Wimplicit-int] 550 | static clear_fsym_table() | ^~~~~~~~~~~~~~~~ q.c: In function 'clear_fsym_table': q.c:553:15: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 553 | if (!fsyms) return; | ^~~~~~ q.c:550:8: note: declared here 550 | static clear_fsym_table() | ^~~~~~~~~~~~~~~~ q.c: At top level: q.c:560:8: warning: return type defaults to 'int' [-Wimplicit-int] 560 | static clear_vsym_table() | ^~~~~~~~~~~~~~~~ q.c: In function 'clear_vsym_table': q.c:563:15: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 563 | if (!vsyms) return; | ^~~~~~ q.c:560:8: note: declared here 560 | static clear_vsym_table() | ^~~~~~~~~~~~~~~~ q.c: In function 'sym_generator': q.c:603:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 603 | while (name = csyms[i_csym]) | ^~~~ q.c:614:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 614 | while (name = fsyms[i_fsym]) | ^~~~ q.c:625:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 625 | while (name = vsyms[i_vsym]) | ^~~~ q.c: In function 'init_readline': q.c:655:3: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations] 655 | rl_attempted_completion_function = (CPPFunction *)sym_completion; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q.c: In function '__qq__list_completions': q.c:699:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 699 | if (matches[0]) | ^ q.c: In function 'mygetline1': q.c:723:18: warning: unused variable 'last' [-Wunused-variable] 723 | static char *last = NULL; | ^~~~ q.c:766:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 766 | (l = strlen(bufp)) > 0 && bufp[l-1] == '\n') | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ q.c:774:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 774 | if (buf) | ^ q.c:785:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 785 | if (ferror(fp) || feof(fp) && !*buf) { | ~~~~~~~~~^~~~~~~~ q.c: At top level: q.c:797:8: warning: type defaults to 'int' in declaration of 'contd' [-Wimplicit-int] 797 | static contd(); | ^~~~~ q.c: In function '__qq__mygetline': q.c:891:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 891 | codeset != NULL && strcmp(codeset, rl_codeset) != 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q.c: At top level: q.c:949:8: warning: return type defaults to 'int' [-Wimplicit-int] 949 | static wsarg(char *arg) | ^~~~~ q.c:983:8: warning: return type defaults to 'int' [-Wimplicit-int] 983 | static qcarg(char *arg) | ^~~~~ q.c:995:8: warning: return type defaults to 'int' [-Wimplicit-int] 995 | static set_qcarg(int i, char *arg) | ^~~~~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from q.c:26: q.c: In function 'parse_opts': mangle.h:35:26: warning: implicit declaration of function '__qq__debug_parse_opts'; did you mean 'debug_parse_opts'? [-Wimplicit-function-declaration] 35 | #define debug_parse_opts __qq__debug_parse_opts | ^~~~~~~~~~~~~~~~~~~~~~ q.c:1039:12: note: in expansion of macro 'debug_parse_opts' 1039 | if (!debug_parse_opts(opts)) { | ^~~~~~~~~~~~~~~~ q.c: In function 'get_source_opts': q.c:1292:7: warning: unused variable 'i' [-Wunused-variable] 1292 | int i; | ^ q.c: At top level: q.c:1332:1: warning: return type defaults to 'int' [-Wimplicit-int] 1332 | spawn(char *prog, char *argv[]) | ^~~~~ q.c:1366:8: warning: type defaults to 'int' in declaration of 'resolve' [-Wimplicit-int] 1366 | static resolve(), init_dlls(); | ^~~~~~~ q.c:1366:19: warning: type defaults to 'int' in declaration of 'init_dlls' [-Wimplicit-int] 1366 | static resolve(), init_dlls(); | ^~~~~~~~~ q.c: In function 'dorun': q.c:1381:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1381 | chkfile(searchlib(fname, _source)) && q.c:1383:72: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1383 | chkfile(searchlib(fname, strcat(strcpy(fname2, _source), ".q"))) && q.c:1534:33: warning: unused variable 'argv0' [-Wunused-variable] 1534 | int count = 0; char *const *argv0 = argv; | ^~~~~ q.c:1595:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1595 | if (gflag) | ^ q.c:1374:45: warning: unused variable 'msg' [-Wunused-variable] 1374 | char fname[MAXSTRLEN], fname2[MAXSTRLEN], msg[MAXSTRLEN]; | ^~~ q.c: In function '__qq___qinter_mpz_floatexpr': q.c:1687:14: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 1687 | double ip, fp; | ^~ q.c: In function '__qq__getmpz_floatexpr': q.c:1757:9: warning: unused variable 'z' [-Wunused-variable] 1757 | mpz_t z; | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from q.c:26: q.c: In function '__qq___qinter_sentinel': mangle.h:213:20: warning: implicit declaration of function '__qq__qmsentinel'; did you mean '__qq__qmnew'? [-Wimplicit-function-declaration] 213 | #define qmsentinel __qq__qmsentinel | ^~~~~~~~~~~~~~~~ q.c:1782:3: note: in expansion of macro 'qmsentinel' 1782 | qmsentinel(get_thr(), x); | ^~~~~~~~~~ q.c: At top level: q.c:1847:8: warning: type defaults to 'int' in declaration of '__libq_init' [-Wimplicit-int] 1847 | extern __libq_init(); | ^~~~~~~~~~~ q.c:1849:8: warning: return type defaults to 'int' [-Wimplicit-int] 1849 | static resolve() | ^~~~~~~ q.c:1975:8: warning: return type defaults to 'int' [-Wimplicit-int] 1975 | static init_dlls() | ^~~~~~~~~ q.c:1985:8: warning: return type defaults to 'int' [-Wimplicit-int] 1985 | static unload_dlls() | ^~~~~~~~~~~ q.c:2008:8: warning: return type defaults to 'int' [-Wimplicit-int] 2008 | static gnuclient(char *sexp) | ^~~~~~~~~ q.c:2121:1: warning: return type defaults to 'int' [-Wimplicit-int] 2121 | main(int argc, char **argv) | ^~~~ q.c: In function 'main': q.c:2200:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2200 | if (chkfile(searchlib(fname, source)) && In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from q.c:26: mangle.h:5:23: warning: implicit declaration of function '__qq__acquire_input'; did you mean '__qq__acquire_tty'? [-Wimplicit-function-declaration] 5 | #define acquire_input __qq__acquire_input | ^~~~~~~~~~~~~~~~~~~ q.c:2452:5: note: in expansion of macro 'acquire_input' 2452 | acquire_input(); | ^~~~~~~~~~~~~ mangle.h:220:23: warning: implicit declaration of function '__qq__release_input'; did you mean '__qq__release_tty'? [-Wimplicit-function-declaration] 220 | #define release_input __qq__release_input | ^~~~~~~~~~~~~~~~~~~ q.c:2457:7: note: in expansion of macro 'release_input' 2457 | release_input(); | ^~~~~~~~~~~~~ q.c: In function 'unload_dlls': q.c:2004:1: warning: control reaches end of non-void function [-Wreturn-type] 2004 | } | ^ q.c: In function 'mygetline1': q.c:795:1: warning: control reaches end of non-void function [-Wreturn-type] 795 | } | ^ q.c: In function 'qcarg': q.c:993:1: warning: control reaches end of non-void function [-Wreturn-type] 993 | } | ^ q.c: In function 'set_qcarg': q.c:1005:1: warning: control reaches end of non-void function [-Wreturn-type] 1005 | } | ^ q.c: In function 'init_dlls': q.c:1983:1: warning: control reaches end of non-void function [-Wreturn-type] 1983 | } | ^ q.c: In function 'gnuclient': q.c:2016:1: warning: control reaches end of non-void function [-Wreturn-type] 2016 | } | ^ At top level: q.c:723:18: warning: 'last' defined but not used [-Wunused-variable] 723 | static char *last = NULL; | ^~~~ q.c:949:8: warning: 'wsarg' defined but not used [-Wunused-function] 949 | static wsarg(char *arg) | ^~~~~ q.c: In function '__qq__rerun': q.c:1563:19: warning: '__qq__nargs' may be used uninitialized in this function [-Wmaybe-uninitialized] 1563 | while (nargs-- > 1) In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from q.c:26: mangle.h:147:15: note: '__qq__nargs' was declared here 147 | #define nargs __qq__nargs | ^~~~~~~~~~~ q.c:1566:23: warning: 'args' may be used uninitialized in this function [-Wmaybe-uninitialized] 1566 | symtb[ARGSOP].x = args; q.c:1377:9: note: 'args' was declared here 1377 | EXPR *args, *in, *out, *err; | ^~~~ q.c: In function 'main': q.c:2158:24: warning: '%s' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2158 | sprintf(qcprog, "%s%s", prefix, "qc"); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from sys.h:58, from qbase.h:24, from qdefs.h:24, from q.c:26: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 1026 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o q-qm.o `test -f 'qm.c' || echo './'`qm.c qm.c: In function '__qq__atfork_child': qm.c:331:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 331 | if (thr->xst) free(thr->xst); thr->xst = thr->xsp = NULL; | ^~ qm.c:331:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 331 | if (thr->xst) free(thr->xst); thr->xst = thr->xsp = NULL; | ^~~ qm.c:332:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 332 | if (thr->ast) free(thr->ast); thr->ast = thr->asp = NULL; | ^~ qm.c:332:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 332 | if (thr->ast) free(thr->ast); thr->ast = thr->asp = NULL; | ^~~ qm.c:333:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 333 | if (thr->args) free(thr->args); thr->args = NULL; | ^~ qm.c:333:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 333 | if (thr->args) free(thr->args); thr->args = NULL; | ^~~ qm.c:334:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 334 | if (thr->mark) free(thr->mark); thr->mark = NULL; | ^~ qm.c:334:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 334 | if (thr->mark) free(thr->mark); thr->mark = NULL; | ^~~ qm.c:336:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 336 | if (thr->vartb) free(thr->vartb); thr->vartb = NULL; | ^~ qm.c:336:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 336 | if (thr->vartb) free(thr->vartb); thr->vartb = NULL; | ^~~ qm.c: At top level: qm.c:728:8: warning: return type defaults to 'int' [-Wimplicit-int] 728 | static initfx(int fno) | ^~~~~~ qm.c: In function 'initfx': qm.c:738:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 738 | fno < BUILTIN && funtb[fno] && nargs[fno] == 0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qm.c: In function '__qq__init': qm.c:772:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 772 | (symtb[fno].type && (symtb[symtb[fno].type].flags & VIRT) || qm.c: In function 'x_alloc': qm.c:827:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 827 | if (x = xfreep) { | ^ qm.c: In function '__qq__qmfree': qm.c:1226:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1226 | if (x->type) | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qm.c:24: mangle.h:178:14: warning: label '__qq__push' defined but not used [-Wunused-label] 178 | #define push __qq__push | ^~~~~~~~~~ qm.c:1189:7: note: in expansion of macro 'push' 1189 | push: | ^~~~ qm.c: In function '__qq__usrexpr': qm.c:1649:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1649 | if (type) | ^ qm.c: In function '__qq__consexpr': qm.c:1749:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1749 | x->red = thr->mode || x1->red || !(get_argv(x1)&1) && x2->red; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ qm.c: In function 'memexpr': qm.c:1772:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1772 | if (y->mem || !y->red || fno < RESERVED && fno != VECTOP) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ qm.c: In function '__qq__pushfun': qm.c:1996:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1996 | if (x = vectexpr(thr, n+1, xv)) { | ^ qm.c:2007:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2007 | if (x = consexpr(thr, fno, thr->xsp[-2], thr->xsp[-1])) { | ^ qm.c:2015:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2015 | if (x = funexpr(thr, fno)) { | ^ qm.c: In function 'evalb': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2228:9: note: in expansion of macro 'have_fun' 2228 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2228:9: note: in expansion of macro 'have_fun' 2228 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2239:11: note: in expansion of macro 'exec_fun' 2239 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2239:11: note: in expansion of macro 'exec_fun' 2239 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2259:14: note: in expansion of macro 'have_fun' 2259 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2259:14: note: in expansion of macro 'have_fun' 2259 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2262:11: note: in expansion of macro 'exec_fun' 2262 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2262:11: note: in expansion of macro 'exec_fun' 2262 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c:2215:27: warning: unused variable 'rc' [-Wunused-variable] 2215 | int n, *rp, rc; | ^~ qm.c:2215:23: warning: unused variable 'rp' [-Wunused-variable] 2215 | int n, *rp, rc; | ^~ qm.c: At top level: qm.c:2279:8: warning: return type defaults to 'int' [-Wimplicit-int] 2279 | static evalb_with_frame(THREAD *thr, | ^~~~~~~~~~~~~~~~ qm.c: In function 'evalb_with_frame': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2297:9: note: in expansion of macro 'have_fun' 2297 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2297:9: note: in expansion of macro 'have_fun' 2297 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2311:11: note: in expansion of macro 'exec_fun' 2311 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2311:11: note: in expansion of macro 'exec_fun' 2311 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2334:14: note: in expansion of macro 'have_fun' 2334 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2334:14: note: in expansion of macro 'have_fun' 2334 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2340:11: note: in expansion of macro 'exec_fun' 2340 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2340:11: note: in expansion of macro 'exec_fun' 2340 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c: In function 'eval_internal': qm.c:3569:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3569 | if (!x->red || !x->raw && thr->mode) | ~~~~~~~~^~~~~~~~~~~~ qm.c: In function '__qq__eval': qm.c:3655:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3655 | cstackmax > 0 && stack_dir*(&base - thr->baseptr) >= cstackmax) { qm.c: In function 'print_stacked_rule': qm.c:3868:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3868 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld qm.c: In function 'print_stack': qm.c:3890:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3890 | printf("stack size: %d\n", thr->asp-thr->ast+1); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld qm.c:3892:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3892 | printf("%3d> ", abp-thr->ast); | ~~^ ~~~~~~~~~~~~ | | | | int long int | %3ld qm.c:3898:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3898 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qm.c:24: qm.c: At top level: mangle.h:169:27: warning: type defaults to 'int' in declaration of '__qq__print_breakpoints' [-Wimplicit-int] 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qm.c:4052:8: note: in expansion of macro 'print_breakpoints' 4052 | extern print_breakpoints(); | ^~~~~~~~~~~~~~~~~ qm.c: In function 'rule': qm.c:4074:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 4074 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld qm.c:4249:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 4249 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld qm.c:4275:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 4275 | printf("heap: %d cells (%d used, %d free) out of %d\n", | ~^ | | | int | %ld 4276 | xnblks*XBLKSZ, mexprs, fexprs, memmax); | ~~~~~~ | | | long unsigned int qm.c:4275:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 4275 | printf("heap: %d cells (%d used, %d free) out of %d\n", | ~^ | | | int | %ld qm.c:4278:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 4278 | printf("heap: %d cells (%d used, %d free)\n", | ~^ | | | int | %ld 4279 | xnblks*XBLKSZ, mexprs, fexprs); | ~~~~~~ | | | long unsigned int qm.c:4278:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 4278 | printf("heap: %d cells (%d used, %d free)\n", | ~^ | | | int | %ld qm.c: At top level: qm.c:4475:1: warning: return type defaults to 'int' [-Wimplicit-int] 4475 | varcmp(v1, v2) | ^~~~~~ qm.c: In function 'listvars': qm.c:4506:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4506 | if (i > 0) | ^ qm.c: In function 'lastoffs': qm.c:4902:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4902 | if (ip->opcode == MATCHOP) | ^ qm.c: In function 'printc': qm.c:4914:17: warning: unused variable 'maxoffs' [-Wunused-variable] 4914 | int maxoffs = (fno==APPOP)?(top-xbp-2):(top-xbp); | ^~~~~~~ qm.c: In function '__qq__mksym': qm.c:5135:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5135 | if (matchsym(fno, s) && | ^ qm.c: In function '__qq__getsym': qm.c:5311:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5311 | if (matchsym(fno, s) && | ^ qm.c: In function '__qq__gettype': qm.c:5368:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5368 | if (matchtyp(type, s) && | ^ qm.c: At top level: qm.c:86:14: warning: 'x_copy' declared 'static' but never defined [-Wunused-function] 86 | static EXPR *x_copy(EXPR *x); | ^~~~~~ qm.c:87:13: warning: 'xcopy_cleanup' declared 'static' but never defined [-Wunused-function] 87 | static void xcopy_cleanup(void); | ^~~~~~~~~~~~~ qm.c: In function 'initfx': qm.c:748:1: warning: control reaches end of non-void function [-Wreturn-type] 748 | } | ^ At top level: qm.c:4588:12: warning: 'getvar' defined but not used [-Wunused-function] 4588 | static int getvar(THREAD *thr, char *name, int offs) | ^~~~~~ qm.c: In function '__qq__getsym': qm.c:5278:17: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized] 5278 | else if (impib[p] & 2) | ^ qm.c:5299:35: note: 'p1' was declared here 5299 | int fno, fno1 = NONE, p = NONE, p1; | ^~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qm.c:24: qm.c: In function 'evalu': mangle.h:50:14: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized] 50 | #define eval __qq__eval | ^~~~~~~~~~ qm.c:3134:13: note: 'h' was declared here 3134 | EXPR *h, *x; | ^ qm.c:3143:13: warning: 'xp' may be used uninitialized in this function [-Wmaybe-uninitialized] 3143 | while (thr->xsp-thr->xst > xp) qmfree(thr, *--thr->xsp); | ^ qm.c:3016:19: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized] 3016 | if (thr->mode && thr->xsp-thr->xst-1 == start) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qm.c:24: qm.c: In function 'evalf': mangle.h:50:14: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized] 50 | #define eval __qq__eval | ^~~~~~~~~~ qm.c:3428:11: note: 'h' was declared here 3428 | EXPR *h, *x = NULL; | ^ qm.c:3433:11: warning: 'xp' may be used uninitialized in this function [-Wmaybe-uninitialized] 3433 | while (thr->xsp-thr->xst > xp) qmfree(thr, *--thr->xsp); | ^ qm.c: In function '__qq__evaldef1': qm.c:3340:22: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized] 3340 | if (thr0->mode && thr0->xsp-thr0->xst-1 == start) qm.c: In function '__qq__gettype': qm.c:5278:17: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized] 5278 | else if (impib[p] & 2) | ^ qm.c:5356:37: note: 'p1' was declared here 5356 | int type, type1 = NONE, p = NONE, p1; | ^~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o q-qmcode.o `test -f 'qmcode.c' || echo './'`qmcode.c qmcode.c: In function '__qq__iscode': qmcode.c:33:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | fread(magic, sizeof(char), strlen(outid)+1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c: In function '__qq__readtables': qmcode.c:62:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | fread(outid1, sizeof(char), strlen(outid)+1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:65:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | fread(&mainno, sizeof mainno, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:66:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 66 | fread(&codespsz, sizeof codespsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:67:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | fread(&strspsz, sizeof strspsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:68:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | fread(&limbspsz, sizeof limbspsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:69:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | fread(&hashtbsz, sizeof hashtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:70:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | fread(&symtbsz, sizeof symtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:71:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | fread(&statetbsz, sizeof statetbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:72:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | fread(&transtbsz, sizeof transtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:73:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | fread(&roffstbsz, sizeof roffstbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:74:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | fread(&matchtbsz, sizeof matchtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:75:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | fread(&inittbsz, sizeof inittbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:76:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | fread(&modtbsz, sizeof modtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:77:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | fread(&imptbsz, sizeof imptbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:137:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 137 | fread(codesp, sizeof(OPREC), codespsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:138:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 138 | fread(strsp, sizeof(char), strspsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:139:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 139 | fread(limbsp, sizeof(mp_limb_t), limbspsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:140:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | fread(hashtb, sizeof(int), hashtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:141:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 141 | fread(symtb, sizeof(SYMREC), symtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:142:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 142 | fread(statetb, sizeof(STATEREC), statetbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:143:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | fread(transtb, sizeof(TRANSREC), transtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:144:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 144 | fread(roffstb, sizeof(int), roffstbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:145:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 145 | fread(matchtb, sizeof(int), matchtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:146:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | fread(inittb, sizeof(int), inittbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:147:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | fread(modtb, sizeof(int), modtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:148:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | fread(fnametb, sizeof(int), modtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:149:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 149 | fread(imports, sizeof(int), modtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:150:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 150 | fread(imptb, sizeof(int), imptbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:151:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 151 | fread(impib, sizeof(byte), imptbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o q-qmfuns.o `test -f 'qmfuns.c' || echo './'`qmfuns.c qmfuns.c: In function 'u8strpos': qmfuns.c:351:17: warning: unused variable 's0' [-Wunused-variable] 351 | char *t = s, *s0 = s; | ^~ qmfuns.c: In function 'u8encode': qmfuns.c:454:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 454 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:459:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 459 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:461:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 461 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:466:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 466 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:468:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 468 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:470:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 470 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c: At top level: qmfuns.c:878:1: warning: return type defaults to 'int' [-Wimplicit-int] 878 | xeq(THREAD *thr, EXPR *x, EXPR *y) | ^~~ qmfuns.c: In function 'xeq': qmfuns.c:904:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 904 | if (x->data.f == y->data.f || is_nan(x->data.f) && is_nan(y->data.f)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:981:1: warning: return type defaults to 'int' [-Wimplicit-int] 981 | xeqchk(THREAD *thr, EXPR *x, EXPR *y) | ^~~~~~ qmfuns.c:1002:1: warning: return type defaults to 'int' [-Wimplicit-int] 1002 | add_vtb(THREAD *thr, int fno, EXPR *x) | ^~~~~~~ qmfuns.c:1045:1: warning: return type defaults to 'int' [-Wimplicit-int] 1045 | xmatch(THREAD *thr, EXPR *x, EXPR *y, int mode, int vmode) | ^~~~~~ qmfuns.c: In function 'xmatch': qmfuns.c:1133:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1133 | return x->data.f == y->data.f || is_nan(x->data.f) && is_nan(y->data.f); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:1166:1: warning: return type defaults to 'int' [-Wimplicit-int] 1166 | qmdef(THREAD* thr) | ^~~~~ qmfuns.c:1191:1: warning: return type defaults to 'int' [-Wimplicit-int] 1191 | qmundef(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'xlpat': qmfuns.c:1285:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1285 | if (y1 = xlpat(thr, x1, env)) | ^~ qmfuns.c: In function 'cleanup': qmfuns.c:1350:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1350 | if (x != t) | ^ qmfuns.c: In function 'xlbody': qmfuns.c:1447:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1447 | if (y1 = xlbody(thr, x1, key, env)) | ^~ qmfuns.c: At top level: qmfuns.c:1532:1: warning: return type defaults to 'int' [-Wimplicit-int] 1532 | xlmatch(THREAD *thr, EXPRL **xvars, int mode, int vmode, | ^~~~~~~ qmfuns.c: In function 'xlmatch': qmfuns.c:1658:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1658 | res = x->data.f == y->data.f || is_nan(x->data.f) && is_nan(y->data.f); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ qmfuns.c: In function 'xlcppat': qmfuns.c:1793:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1793 | if (y1 = xlcppat(thr, x1, xenv)) | ^~ qmfuns.c: In function 'xlrepl': qmfuns.c:1899:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1899 | if (y1 = xlrepl(thr, x1, key, xenv)) | ^~ qmfuns.c: At top level: qmfuns.c:1945:8: warning: return type defaults to 'int' [-Wimplicit-int] 1945 | static qmlambda(THREAD* thr) | ^~~~~~~~ qmfuns.c: In function 'qmlambda': qmfuns.c:1984:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1984 | if (x) | ^ qmfuns.c: At top level: qmfuns.c:2005:8: warning: return type defaults to 'int' [-Wimplicit-int] 2005 | static qmlambda_app(THREAD* thr) | ^~~~~~~~~~~~ qmfuns.c:2114:1: warning: return type defaults to 'int' [-Wimplicit-int] 2114 | xfindvar(xxvartb_t *vtb, int vno) | ^~~~~~~~ qmfuns.c: In function 'xclosview': qmfuns.c:2179:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2179 | if (y1 = consexpr(thr, APPOP, f, y1)) | ^~ qmfuns.c:2200:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2200 | if (y1 = xclosview(thr, x1, vtb, env)) | ^~ qmfuns.c: At top level: qmfuns.c:2246:8: warning: return type defaults to 'int' [-Wimplicit-int] 2246 | static qmview(THREAD *thr) | ^~~~~~ qmfuns.c:2271:1: warning: return type defaults to 'int' [-Wimplicit-int] 2271 | strconcat(THREAD *thr, char *s1, char *s2) | ^~~~~~~~~ qmfuns.c:2285:1: warning: return type defaults to 'int' [-Wimplicit-int] 2285 | listconcat(THREAD *thr, EXPR *x1, EXPR *x2) | ^~~~~~~~~~ qmfuns.c:2310:1: warning: return type defaults to 'int' [-Wimplicit-int] 2310 | vectconcat(THREAD *thr, int n1, EXPR **xv1, int n2, EXPR **xv2) | ^~~~~~~~~~ qmfuns.c: In function 'vectconcat': qmfuns.c:2315:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2315 | if (n1 >= INT_MAX - n2 || n1+n2>0 && (xv = malloc((n1+n2)*sizeof(EXPR*))) | ^ qmfuns.c: At top level: qmfuns.c:2330:1: warning: return type defaults to 'int' [-Wimplicit-int] 2330 | tupleconcat(THREAD *thr, EXPR *x1, EXPR *x2) | ^~~~~~~~~~~ qmfuns.c:2366:8: warning: return type defaults to 'int' [-Wimplicit-int] 2366 | static qmconcat(THREAD* thr) | ^~~~~~~~ qmfuns.c:2440:8: warning: return type defaults to 'int' [-Wimplicit-int] 2440 | static qmadd(THREAD* thr) | ^~~~~ qmfuns.c:2506:8: warning: return type defaults to 'int' [-Wimplicit-int] 2506 | static qmmin(THREAD* thr) | ^~~~~ qmfuns.c:2583:8: warning: return type defaults to 'int' [-Wimplicit-int] 2583 | static qmmul(THREAD* thr) | ^~~~~ qmfuns.c:2617:8: warning: return type defaults to 'int' [-Wimplicit-int] 2617 | static qmfdiv(THREAD* thr) | ^~~~~~ qmfuns.c:2649:8: warning: return type defaults to 'int' [-Wimplicit-int] 2649 | static qmdiv(THREAD* thr) | ^~~~~ qmfuns.c:2662:8: warning: return type defaults to 'int' [-Wimplicit-int] 2662 | static qmmod(THREAD* thr) | ^~~~~ qmfuns.c:2674:8: warning: return type defaults to 'int' [-Wimplicit-int] 2674 | static qmpow(THREAD* thr) | ^~~~~ qmfuns.c: In function 'qmpow': qmfuns.c:2691:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2690 | (mpz_sgn(args[0]->data.z) >= 0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2691 | modf(args[1]->data.f, &ip) == 0.0) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 2692 | (mpz_sgn(args[0]->data.z) != 0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2693 | args[1]->data.f != 0.0)) | ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c:2715:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2714 | (args[0]->data.f >= 0.0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 2715 | modf(args[1]->data.f, &ip) == 0.0) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 2716 | (args[0]->data.f != 0.0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 2717 | args[1]->data.f != 0.0)) | ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:2735:8: warning: return type defaults to 'int' [-Wimplicit-int] 2735 | static qmidx(THREAD* thr) | ^~~~~ qmfuns.c:2793:8: warning: return type defaults to 'int' [-Wimplicit-int] 2793 | static qmcomp(THREAD* thr) | ^~~~~~ qmfuns.c:2808:8: warning: return type defaults to 'int' [-Wimplicit-int] 2808 | static qmumin(THREAD* thr) | ^~~~~~ qmfuns.c:2821:8: warning: return type defaults to 'int' [-Wimplicit-int] 2821 | static qmhash(THREAD* thr) | ^~~~~~ qmfuns.c:2861:8: warning: return type defaults to 'int' [-Wimplicit-int] 2861 | static qmunquote(THREAD* thr) | ^~~~~~~~~ qmfuns.c:2882:8: warning: return type defaults to 'int' [-Wimplicit-int] 2882 | static qmforce(THREAD* thr) | ^~~~~~~ qmfuns.c:2888:8: warning: return type defaults to 'int' [-Wimplicit-int] 2888 | static qmmem(THREAD* thr) | ^~~~~ qmfuns.c:2896:8: warning: return type defaults to 'int' [-Wimplicit-int] 2896 | static qmor(THREAD* thr) | ^~~~ qmfuns.c:2914:8: warning: return type defaults to 'int' [-Wimplicit-int] 2914 | static qmorelse(THREAD* thr) | ^~~~~~~~ qmfuns.c:2926:8: warning: return type defaults to 'int' [-Wimplicit-int] 2926 | static qmand(THREAD* thr) | ^~~~~ qmfuns.c:2944:8: warning: return type defaults to 'int' [-Wimplicit-int] 2944 | static qmandthen(THREAD* thr) | ^~~~~~~~~ qmfuns.c:2956:8: warning: return type defaults to 'int' [-Wimplicit-int] 2956 | static qmnot(THREAD* thr) | ^~~~~ qmfuns.c:2972:1: warning: return type defaults to 'int' [-Wimplicit-int] 2972 | xcmp(EXPR *x, EXPR *y, int *result) | ^~~~ qmfuns.c:3041:8: warning: return type defaults to 'int' [-Wimplicit-int] 3041 | static qmle(THREAD* thr) | ^~~~ qmfuns.c:3057:8: warning: return type defaults to 'int' [-Wimplicit-int] 3057 | static qmgr(THREAD* thr) | ^~~~ qmfuns.c:3073:8: warning: return type defaults to 'int' [-Wimplicit-int] 3073 | static qmeq(THREAD* thr) | ^~~~ qmfuns.c:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] 3089 | static qmleq(THREAD* thr) | ^~~~~ qmfuns.c:3105:8: warning: return type defaults to 'int' [-Wimplicit-int] 3105 | static qmgeq(THREAD* thr) | ^~~~~ qmfuns.c:3121:8: warning: return type defaults to 'int' [-Wimplicit-int] 3121 | static qmneq(THREAD* thr) | ^~~~~ qmfuns.c:3137:8: warning: return type defaults to 'int' [-Wimplicit-int] 3137 | static qmid(THREAD* thr) | ^~~~ qmfuns.c:3146:8: warning: return type defaults to 'int' [-Wimplicit-int] 3146 | static qmrapp(THREAD* thr) | ^~~~~~ qmfuns.c:3161:8: warning: return type defaults to 'int' [-Wimplicit-int] 3161 | static qmseq(THREAD* thr) | ^~~~~ qmfuns.c:3167:8: warning: return type defaults to 'int' [-Wimplicit-int] 3167 | static shl(THREAD *thr, mpz_t z, int i) | ^~~ qmfuns.c:3199:8: warning: return type defaults to 'int' [-Wimplicit-int] 3199 | static shr(THREAD *thr, mpz_t z, int i) | ^~~ qmfuns.c:3224:8: warning: return type defaults to 'int' [-Wimplicit-int] 3224 | static qmshl(THREAD* thr) | ^~~~~ qmfuns.c:3251:8: warning: return type defaults to 'int' [-Wimplicit-int] 3251 | static qmshr(THREAD* thr) | ^~~~~ qmfuns.c:3278:8: warning: return type defaults to 'int' [-Wimplicit-int] 3278 | static qmpred(THREAD* thr) | ^~~~~~ qmfuns.c:3303:8: warning: return type defaults to 'int' [-Wimplicit-int] 3303 | static qmsucc(THREAD* thr) | ^~~~~~ qmfuns.c:3328:8: warning: return type defaults to 'int' [-Wimplicit-int] 3328 | static qmenum(THREAD* thr) | ^~~~~~ qmfuns.c:3487:8: warning: return type defaults to 'int' [-Wimplicit-int] 3487 | static qmenum1(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmenum1': qmfuns.c:3511:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3511 | n > 1 && t0 != t1) | ~~~~~~^~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:3541:8: warning: return type defaults to 'int' [-Wimplicit-int] 3541 | static qmexp(THREAD* thr) | ^~~~~ qmfuns.c:3554:8: warning: return type defaults to 'int' [-Wimplicit-int] 3554 | static qmln(THREAD* thr) | ^~~~ qmfuns.c:3574:8: warning: return type defaults to 'int' [-Wimplicit-int] 3574 | static qmsqrt(THREAD* thr) | ^~~~~~ qmfuns.c:3593:8: warning: return type defaults to 'int' [-Wimplicit-int] 3593 | static qmsin(THREAD* thr) | ^~~~~ qmfuns.c:3606:8: warning: return type defaults to 'int' [-Wimplicit-int] 3606 | static qmcos(THREAD* thr) | ^~~~~ qmfuns.c:3619:8: warning: return type defaults to 'int' [-Wimplicit-int] 3619 | static qmatan(THREAD* thr) | ^~~~~~ qmfuns.c:3632:8: warning: return type defaults to 'int' [-Wimplicit-int] 3632 | static qmatan2(THREAD* thr) | ^~~~~~~ qmfuns.c:3663:8: warning: return type defaults to 'int' [-Wimplicit-int] 3663 | static qmrandom(THREAD* thr) | ^~~~~~~~ qmfuns.c: In function 'qmrandom': qmfuns.c:3665:10: warning: unused variable 'args' [-Wunused-variable] 3665 | EXPR **args = thr->args; | ^~~~ qmfuns.c: At top level: qmfuns.c:3677:8: warning: return type defaults to 'int' [-Wimplicit-int] 3677 | static qmseed(THREAD* thr) | ^~~~~~ qmfuns.c:3687:8: warning: return type defaults to 'int' [-Wimplicit-int] 3687 | static qmsub(THREAD* thr) | ^~~~~ qmfuns.c: In function 'qmsub': qmfuns.c:3695:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3695 | if (i < 0) i = 0; c = j-i+1; | ^~ qmfuns.c:3695:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3695 | if (i < 0) i = 0; c = j-i+1; | ^ qmfuns.c: At top level: qmfuns.c:3803:8: warning: return type defaults to 'int' [-Wimplicit-int] 3803 | static qmsubstr(THREAD* thr) | ^~~~~~~~ qmfuns.c:3852:8: warning: return type defaults to 'int' [-Wimplicit-int] 3852 | static qmpos(THREAD* thr) | ^~~~~ qmfuns.c:3872:8: warning: return type defaults to 'int' [-Wimplicit-int] 3872 | static qmint(THREAD* thr) | ^~~~~ qmfuns.c: In function 'qmint': qmfuns.c:3876:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 3876 | double ip, fp; | ^~ qmfuns.c: At top level: qmfuns.c:3885:8: warning: return type defaults to 'int' [-Wimplicit-int] 3885 | static qmfrac(THREAD* thr) | ^~~~~~ qmfuns.c:3898:8: warning: return type defaults to 'int' [-Wimplicit-int] 3898 | static qmtrunc(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmtrunc': qmfuns.c:3902:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 3902 | double ip, fp, dsz; | ^~ qmfuns.c: At top level: qmfuns.c:3919:8: warning: return type defaults to 'int' [-Wimplicit-int] 3919 | static qmround(THREAD* thr) | ^~~~~~~ qmfuns.c:3938:8: warning: return type defaults to 'int' [-Wimplicit-int] 3938 | static qmfloat(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'ptr_hash': qmfuns.c:3988:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3988 | return (unsigned)p; | ^ qmfuns.c: At top level: qmfuns.c:4025:8: warning: return type defaults to 'int' [-Wimplicit-int] 4025 | static qmhashnum(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4031:8: warning: return type defaults to 'int' [-Wimplicit-int] 4031 | static qmord(THREAD* thr) | ^~~~~ qmfuns.c:4046:8: warning: return type defaults to 'int' [-Wimplicit-int] 4046 | static qmchr(THREAD* thr) | ^~~~~ qmfuns.c:4073:8: warning: return type defaults to 'int' [-Wimplicit-int] 4073 | static qmlist(THREAD* thr) | ^~~~~~ qmfuns.c:4092:8: warning: return type defaults to 'int' [-Wimplicit-int] 4092 | static qmtuple(THREAD* thr) | ^~~~~~~ qmfuns.c:4114:8: warning: return type defaults to 'int' [-Wimplicit-int] 4114 | static qmstr(THREAD* thr) | ^~~~~ qmfuns.c:4125:8: warning: return type defaults to 'int' [-Wimplicit-int] 4125 | static qmval(THREAD* thr) | ^~~~~ qmfuns.c:4145:8: warning: return type defaults to 'int' [-Wimplicit-int] 4145 | static qmstrq(THREAD* thr) | ^~~~~~ qmfuns.c:4160:8: warning: return type defaults to 'int' [-Wimplicit-int] 4160 | static qmvalq(THREAD* thr) | ^~~~~~ qmfuns.c:4181:8: warning: return type defaults to 'int' [-Wimplicit-int] 4181 | static qmisspecial(THREAD* thr) | ^~~~~~~~~~~ qmfuns.c:4192:8: warning: return type defaults to 'int' [-Wimplicit-int] 4192 | static qmisconst(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4203:8: warning: return type defaults to 'int' [-Wimplicit-int] 4203 | static qmisfun(THREAD* thr) | ^~~~~~~ qmfuns.c:4212:8: warning: return type defaults to 'int' [-Wimplicit-int] 4212 | static qmisvar(THREAD* thr) | ^~~~~~~ qmfuns.c:4221:8: warning: return type defaults to 'int' [-Wimplicit-int] 4221 | static qmisdef(THREAD* thr) | ^~~~~~~ qmfuns.c:4230:8: warning: return type defaults to 'int' [-Wimplicit-int] 4230 | static qmflip(THREAD* thr) | ^~~~~~ qmfuns.c:4246:8: warning: type defaults to 'int' in declaration of 'qmfread' [-Wimplicit-int] 4246 | static qmfread(THREAD* thr); | ^~~~~~~ qmfuns.c:4248:8: warning: return type defaults to 'int' [-Wimplicit-int] 4248 | static qmread(THREAD* thr) | ^~~~~~ qmfuns.c:4258:8: warning: type defaults to 'int' in declaration of 'qmfreadq' [-Wimplicit-int] 4258 | static qmfreadq(THREAD* thr); | ^~~~~~~~ qmfuns.c:4260:8: warning: return type defaults to 'int' [-Wimplicit-int] 4260 | static qmreadq(THREAD* thr) | ^~~~~~~ qmfuns.c:4270:8: warning: type defaults to 'int' in declaration of 'qmfreadc' [-Wimplicit-int] 4270 | static qmfreadc(THREAD* thr); | ^~~~~~~~ qmfuns.c:4272:8: warning: return type defaults to 'int' [-Wimplicit-int] 4272 | static qmreadc(THREAD* thr) | ^~~~~~~ qmfuns.c:4282:8: warning: type defaults to 'int' in declaration of 'qmfreads' [-Wimplicit-int] 4282 | static qmfreads(THREAD* thr); | ^~~~~~~~ qmfuns.c:4284:8: warning: return type defaults to 'int' [-Wimplicit-int] 4284 | static qmreads(THREAD* thr) | ^~~~~~~ qmfuns.c:4294:8: warning: type defaults to 'int' in declaration of 'qmfwrite' [-Wimplicit-int] 4294 | static qmfwrite(THREAD* thr); | ^~~~~~~~ qmfuns.c:4296:8: warning: return type defaults to 'int' [-Wimplicit-int] 4296 | static qmwrite(THREAD* thr) | ^~~~~~~ qmfuns.c:4307:8: warning: type defaults to 'int' in declaration of 'qmfwriteq' [-Wimplicit-int] 4307 | static qmfwriteq(THREAD* thr); | ^~~~~~~~~ qmfuns.c:4309:8: warning: return type defaults to 'int' [-Wimplicit-int] 4309 | static qmwriteq(THREAD* thr) | ^~~~~~~~ qmfuns.c:4320:8: warning: type defaults to 'int' in declaration of 'qmfwritec' [-Wimplicit-int] 4320 | static qmfwritec(THREAD* thr); | ^~~~~~~~~ qmfuns.c:4322:8: warning: return type defaults to 'int' [-Wimplicit-int] 4322 | static qmwritec(THREAD* thr) | ^~~~~~~~ qmfuns.c:4333:8: warning: type defaults to 'int' in declaration of 'qmfwrites' [-Wimplicit-int] 4333 | static qmfwrites(THREAD* thr); | ^~~~~~~~~ qmfuns.c:4335:8: warning: return type defaults to 'int' [-Wimplicit-int] 4335 | static qmwrites(THREAD* thr) | ^~~~~~~~ qmfuns.c:4346:8: warning: return type defaults to 'int' [-Wimplicit-int] 4346 | static qmfread(THREAD* thr) | ^~~~~~~ qmfuns.c:4378:8: warning: return type defaults to 'int' [-Wimplicit-int] 4378 | static qmfreadq(THREAD* thr) | ^~~~~~~~ qmfuns.c:4414:8: warning: return type defaults to 'int' [-Wimplicit-int] 4414 | static qmfreadc(THREAD* thr) | ^~~~~~~~ qmfuns.c:4473:8: warning: return type defaults to 'int' [-Wimplicit-int] 4473 | static qmfreads(THREAD* thr) | ^~~~~~~~ qmfuns.c: In function 'qmfreads': qmfuns.c:4498:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4498 | if (s1 = (char*) arealloc(s, a, MAXSTRLEN, | ^~ qmfuns.c:4530:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4530 | if (!r && !*s || thr == thr0 && checkbrk) { | ~~~^~~~~~ qmfuns.c: At top level: qmfuns.c:4568:8: warning: return type defaults to 'int' [-Wimplicit-int] 4568 | static qmfwrite(THREAD* thr) | ^~~~~~~~ qmfuns.c:4591:8: warning: return type defaults to 'int' [-Wimplicit-int] 4591 | static qmfwriteq(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4615:8: warning: return type defaults to 'int' [-Wimplicit-int] 4615 | static qmfwritec(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4649:8: warning: return type defaults to 'int' [-Wimplicit-int] 4649 | static qmfwrites(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4685:8: warning: return type defaults to 'int' [-Wimplicit-int] 4685 | static qmfopen(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmfopen': qmfuns.c:4694:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4694 | (mode[1] == '\0' || mode[1] == 'b' && mode[2] == '\0')) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:4722:8: warning: return type defaults to 'int' [-Wimplicit-int] 4722 | static qmpopen(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmpopen': qmfuns.c:4731:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4731 | (mode[1] == '\0' || mode[1] == 'b' && mode[2] == '\0')) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qmfuns.c:4752:2: warning: implicit declaration of function 'setlinebuf'; did you mean 'setvbuf'? [-Wimplicit-function-declaration] 4752 | setlinebuf(fp); | ^~~~~~~~~~ | setvbuf qmfuns.c: At top level: qmfuns.c:4761:8: warning: return type defaults to 'int' [-Wimplicit-int] 4761 | static qmfclose(THREAD* thr) | ^~~~~~~~ qmfuns.c:4796:8: warning: type defaults to 'int' in declaration of 'qmfeof' [-Wimplicit-int] 4796 | static qmfeof(THREAD* thr); | ^~~~~~ qmfuns.c:4798:8: warning: return type defaults to 'int' [-Wimplicit-int] 4798 | static qmeof(THREAD* thr) | ^~~~~ qmfuns.c:4808:8: warning: return type defaults to 'int' [-Wimplicit-int] 4808 | static qmfeof(THREAD* thr) | ^~~~~~ qmfuns.c:4847:8: warning: type defaults to 'int' in declaration of 'qmfflush' [-Wimplicit-int] 4847 | static qmfflush(THREAD* thr); | ^~~~~~~~ qmfuns.c:4849:8: warning: return type defaults to 'int' [-Wimplicit-int] 4849 | static qmflush(THREAD* thr) | ^~~~~~~ qmfuns.c:4859:8: warning: return type defaults to 'int' [-Wimplicit-int] 4859 | static qmfflush(THREAD* thr) | ^~~~~~~~ qmfuns.c:4874:8: warning: return type defaults to 'int' [-Wimplicit-int] 4874 | static qmversion(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4879:8: warning: return type defaults to 'int' [-Wimplicit-int] 4879 | static qmsysinfo(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4884:8: warning: return type defaults to 'int' [-Wimplicit-int] 4884 | static qmwhich(THREAD* thr) | ^~~~~~~ qmfuns.c:4931:8: warning: return type defaults to 'int' [-Wimplicit-int] 4931 | static qmhalt(THREAD* thr) | ^~~~~~ qmfuns.c:4937:8: warning: return type defaults to 'int' [-Wimplicit-int] 4937 | static qmquit(THREAD* thr) | ^~~~~~ qmfuns.c:4943:8: warning: return type defaults to 'int' [-Wimplicit-int] 4943 | static qmbreak(THREAD* thr) | ^~~~~~~ qmfuns.c:4949:8: warning: return type defaults to 'int' [-Wimplicit-int] 4949 | static qmcatch(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmcatch': qmfuns.c:4957:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4957 | } else if (thr == thr0 && checkbrk || qmfuns.c: At top level: qmfuns.c:4977:8: warning: return type defaults to 'int' [-Wimplicit-int] 4977 | static qmthrow(THREAD* thr) | ^~~~~~~ qmfuns.c:4992:8: warning: return type defaults to 'int' [-Wimplicit-int] 4992 | static qmtrap(THREAD* thr) | ^~~~~~ qmfuns.c:5085:8: warning: return type defaults to 'int' [-Wimplicit-int] 5085 | static qmfail(THREAD* thr) | ^~~~~~ qmfuns.c:5091:8: warning: return type defaults to 'int' [-Wimplicit-int] 5091 | static qmfail2(THREAD* thr) | ^~~~~~~ qmfuns.c:5097:8: warning: return type defaults to 'int' [-Wimplicit-int] 5097 | static qmtime(THREAD* thr) | ^~~~~~ qmfuns.c:5102:8: warning: return type defaults to 'int' [-Wimplicit-int] 5102 | static qmsleep(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmenum': qmfuns.c:3460:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] 3460 | inc = x1-x0; | ~~~~^~~~~~~ qmfuns.c:3475:5: warning: 'x0' may be used uninitialized in this function [-Wmaybe-uninitialized] 3475 | x0 += inc; | ~~~^~~~~~ qmfuns.c:3352:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] 3352 | inc = x1-x0; | ~~~~^~~~~~~ qmfuns.c:3333:10: warning: 'x0' may be used uninitialized in this function [-Wmaybe-uninitialized] 3333 | long x0, x1, x2 = u8decode(args[1]->data.s); | ^~ qmfuns.c: In function 'qmfreadc': qmfuns.c:4448:13: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] 4448 | while (c != '\n' && c != EOF) | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o q-qmmatch.o `test -f 'qmmatch.c' || echo './'`qmmatch.c qmmatch.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] 39 | nextstate(int s, int type, int fno) | ^~~~~~~~~ qmmatch.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] 83 | defaultstate(int s, int type) | ^~~~~~~~~~~~ qmmatch.c: In function 'defaultstate': qmmatch.c:85:29: warning: unused variable 'left' [-Wunused-variable] 85 | int k = statetb[s].trans, left = k, right = k+statetb[s].ntrans; | ^~~~ qmmatch.c: At top level: qmmatch.c:103:1: warning: return type defaults to 'int' [-Wimplicit-int] 103 | nondefault(int s) | ^~~~~~~~~~ qmmatch.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] 115 | typedtrans(int s, int type) | ^~~~~~~~~~ qmmatch.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] 130 | virtual(int s, int type) | ^~~~~~~ qmmatch.c:212:1: warning: return type defaults to 'int' [-Wimplicit-int] 212 | matchx(THREAD *thr, int s, int mode, int vmode, EXPR *x, EXPR **y) | ^~~~~~ qmmatch.c: In function 'matchx': qmmatch.c:297:47: warning: value computed is not used [-Wunused-value] 297 | (s = matchx(thr, s1, mode, 0, x1, &y1)) && | ^~ qmmatch.c:318:53: warning: value computed is not used [-Wunused-value] 318 | (s = matchx(thr, s1, modes.left, 0, x1, &y1)) && | ^~ qmmatch.c:364:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 364 | if (yv) | ^ qmmatch.c: In function '__qq__match': qmmatch.c:416:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 416 | nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:431:47: warning: value computed is not used [-Wunused-value] 431 | (s = matchx(thr, s, 1, 0, x[0], &x[0])) && | ^~ qmmatch.c:458:56: warning: value computed is not used [-Wunused-value] 458 | (s = matchx(thr, s, modes.left, 0, x[0], &x[0])) && | ^~ qmmatch.c: In function '__qq__matchtype': qmmatch.c:525:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 525 | nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:530:32: warning: value computed is not used [-Wunused-value] 530 | (s = nextstate(s, 0, fno)) && (s = typedtrans(s, type)); | ^~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o q-qmprint.o `test -f 'qmprint.c' || echo './'`qmprint.c qmprint.c:207:15: warning: return type defaults to 'int' [-Wimplicit-int] 207 | static inline checktmpbuf(void) | ^~~~~~~~~~~ qmprint.c:217:15: warning: return type defaults to 'int' [-Wimplicit-int] 217 | static inline writetmpbuf(char *s) | ^~~~~~~~~~~ qmprint.c:238:15: warning: return type defaults to 'int' [-Wimplicit-int] 238 | static inline checklastsym(char *s) | ^~~~~~~~~~~~ qmprint.c:246:15: warning: return type defaults to 'int' [-Wimplicit-int] 246 | static inline checkmarksym(void) | ^~~~~~~~~~~~ qmprint.c:253:15: warning: return type defaults to 'int' [-Wimplicit-int] 253 | static inline marksym(int flag) | ^~~~~~~ qmprint.c:261:8: warning: return type defaults to 'int' [-Wimplicit-int] 261 | static sputstr1(char *s) | ^~~~~~~~ qmprint.c: In function 'sputstr1': qmprint.c:268:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 268 | if (bufp1 = (char*) arealloc(bufp, abufleng, MAXSTRLEN, | ^~~~~ qmprint.c: At top level: qmprint.c:282:15: warning: return type defaults to 'int' [-Wimplicit-int] 282 | static inline sputstr(char *s) | ^~~~~~~ qmprint.c:358:8: warning: return type defaults to 'int' [-Wimplicit-int] 358 | static fputstr1(char *s) | ^~~~~~~~ qmprint.c:379:15: warning: return type defaults to 'int' [-Wimplicit-int] 379 | static inline fputstr(char *s) | ^~~~~~~ qmprint.c:454:8: warning: return type defaults to 'int' [-Wimplicit-int] 454 | static opprec(int fno) | ^~~~~~ qmprint.c:511:15: warning: return type defaults to 'int' [-Wimplicit-int] 511 | static inline islsect(EXPR *x) | ^~~~~~~ qmprint.c:518:15: warning: return type defaults to 'int' [-Wimplicit-int] 518 | static inline isrsect(EXPR *x) | ^~~~~~~ qmprint.c:528:15: warning: return type defaults to 'int' [-Wimplicit-int] 528 | static inline isenum(EXPR *x) | ^~~~~~ qmprint.c:542:15: warning: return type defaults to 'int' [-Wimplicit-int] 542 | static inline isenum1(EXPR *x) | ^~~~~~~ qmprint.c:555:15: warning: return type defaults to 'int' [-Wimplicit-int] 555 | static inline issenum(EXPR *x) | ^~~~~~~ qmprint.c:569:15: warning: return type defaults to 'int' [-Wimplicit-int] 569 | static inline issenum1(EXPR *x) | ^~~~~~~~ qmprint.c:582:15: warning: return type defaults to 'int' [-Wimplicit-int] 582 | static inline istenum(EXPR *x) | ^~~~~~~ qmprint.c:596:15: warning: return type defaults to 'int' [-Wimplicit-int] 596 | static inline istenum1(EXPR *x) | ^~~~~~~~ qmprint.c:609:15: warning: return type defaults to 'int' [-Wimplicit-int] 609 | static inline isstream(EXPR *x) | ^~~~~~~~ qmprint.c: In function 'isstream': qmprint.c:612:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 612 | x->fno == APPOP && x->data.args.x1->fno == APPOP && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 613 | x->data.args.x1->data.args.x1->fno == SCONSOP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmprint.c: At top level: qmprint.c:616:15: warning: return type defaults to 'int' [-Wimplicit-int] 616 | static inline isscons(EXPR *x, EXPR **y, EXPR **z) | ^~~~~~~ qmprint.c:627:15: warning: return type defaults to 'int' [-Wimplicit-int] 627 | static inline islistof(EXPR *x) | ^~~~~~~~ qmprint.c:636:15: warning: return type defaults to 'int' [-Wimplicit-int] 636 | static inline istupleof(EXPR *x) | ^~~~~~~~~ qmprint.c:645:15: warning: return type defaults to 'int' [-Wimplicit-int] 645 | static inline isstreamof(EXPR *x) | ^~~~~~~~~~ qmprint.c:654:15: warning: return type defaults to 'int' [-Wimplicit-int] 654 | static inline islambda(EXPR *x) | ^~~~~~~~ qmprint.c:660:15: warning: return type defaults to 'int' [-Wimplicit-int] 660 | static inline isifelse(EXPR *x) | ^~~~~~~~ qmprint.c:669:15: warning: return type defaults to 'int' [-Wimplicit-int] 669 | static inline iswhen(EXPR *x) | ^~~~~~ qmprint.c:733:8: warning: return type defaults to 'int' [-Wimplicit-int] 733 | static exprprec(THREAD *thr, EXPR *x) | ^~~~~~~~ qmprint.c:776:8: warning: type defaults to 'int' in declaration of 'print' [-Wimplicit-int] 776 | static print(THREAD *thr, int level, EXPR *x); | ^~~~~ qmprint.c:778:15: warning: return type defaults to 'int' [-Wimplicit-int] 778 | static inline printparen(THREAD *thr, int level, EXPR *x) | ^~~~~~~~~~ qmprint.c:783:8: warning: return type defaults to 'int' [-Wimplicit-int] 783 | static printlprec(THREAD *thr, int level, int fno, EXPR *x) | ^~~~~~~~~~ qmprint.c:794:8: warning: return type defaults to 'int' [-Wimplicit-int] 794 | static printrprec(THREAD *thr, int level, int fno, EXPR *x) | ^~~~~~~~~~ qmprint.c:805:8: warning: return type defaults to 'int' [-Wimplicit-int] 805 | static print1(THREAD *thr, int level, int fno, EXPR *x) | ^~~~~~ qmprint.c:811:8: warning: return type defaults to 'int' [-Wimplicit-int] 811 | static print2l(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~~ qmprint.c:819:8: warning: return type defaults to 'int' [-Wimplicit-int] 819 | static print2r(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~~ qmprint.c:827:8: warning: return type defaults to 'int' [-Wimplicit-int] 827 | static print2n(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~~ qmprint.c:835:8: warning: return type defaults to 'int' [-Wimplicit-int] 835 | static print2(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~ qmprint.c:959:8: warning: return type defaults to 'int' [-Wimplicit-int] 959 | static print(THREAD *thr, int level, EXPR *x) | ^~~~~ qmprint.c:1412:15: warning: return type defaults to 'int' [-Wimplicit-int] 1412 | static inline printchk(THREAD *thr, int level, EXPR *x) | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o q-qmparse.o `test -f 'qmparse.c' || echo './'`qmparse.c qmparse.y:70:8: warning: type defaults to 'int' in declaration of 'swap' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~ qmparse.y:70:16: warning: type defaults to 'int' in declaration of 'pushtern' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~~~~~ qmparse.y:70:28: warning: type defaults to 'int' in declaration of 'pushbin' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~~~~ qmparse.y:70:39: warning: type defaults to 'int' in declaration of 'pushun' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~~~ qmparse.y:71:3: warning: type defaults to 'int' in declaration of 'pushlist' [-Wimplicit-int] 71 | pushlist(int n, int m), pushstream(int n, int m), pushtuple(int n, int m), | ^~~~~~~~ qmparse.y:71:27: warning: type defaults to 'int' in declaration of 'pushstream' [-Wimplicit-int] 71 | pushlist(int n, int m), pushstream(int n, int m), pushtuple(int n, int m), | ^~~~~~~~~~ qmparse.y:71:53: warning: type defaults to 'int' in declaration of 'pushtuple' [-Wimplicit-int] 71 | pushlist(int n, int m), pushstream(int n, int m), pushtuple(int n, int m), | ^~~~~~~~~ qmparse.y:72:3: warning: type defaults to 'int' in declaration of 'pushgroup' [-Wimplicit-int] 72 | pushgroup(int *n, int *m), | ^~~~~~~~~ qmparse.y:73:3: warning: type defaults to 'int' in declaration of 'savepos' [-Wimplicit-int] 73 | savepos(), clean(); | ^~~~~~~ qmparse.y:73:14: warning: type defaults to 'int' in declaration of 'clean' [-Wimplicit-int] 73 | savepos(), clean(); | ^~~~~ qmparse.y:74:8: warning: type defaults to 'int' in declaration of 'init_stats' [-Wimplicit-int] 74 | static init_stats(), fini_stats(), print_stats(); | ^~~~~~~~~~ qmparse.y:74:22: warning: type defaults to 'int' in declaration of 'fini_stats' [-Wimplicit-int] 74 | static init_stats(), fini_stats(), print_stats(); | ^~~~~~~~~~ qmparse.y:74:36: warning: type defaults to 'int' in declaration of 'print_stats' [-Wimplicit-int] 74 | static init_stats(), fini_stats(), print_stats(); | ^~~~~~~~~~~ qmparse.y:75:8: warning: type defaults to 'int' in declaration of 'copyright' [-Wimplicit-int] 75 | static copyright(), shell(), expression(), | ^~~~~~~~~ qmparse.y:75:21: warning: type defaults to 'int' in declaration of 'shell' [-Wimplicit-int] 75 | static copyright(), shell(), expression(), | ^~~~~ qmparse.y:75:30: warning: type defaults to 'int' in declaration of 'expression' [-Wimplicit-int] 75 | static copyright(), shell(), expression(), | ^~~~~~~~~~ qmparse.y:76:3: warning: type defaults to 'int' in declaration of 'vardecl' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~ qmparse.y:76:14: warning: type defaults to 'int' in declaration of 'initializer' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~~~~~ qmparse.y:76:29: warning: type defaults to 'int' in declaration of 'assignment' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~~~~ qmparse.y:76:43: warning: type defaults to 'int' in declaration of 'unassignment' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~~~~~~ qmparse.y:77:3: warning: type defaults to 'int' in declaration of 'sethistfile' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~~~ qmparse.y:77:18: warning: type defaults to 'int' in declaration of 'sethistsize' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~~~ qmparse.y:77:33: warning: type defaults to 'int' in declaration of 'help' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~ qmparse.y:77:41: warning: type defaults to 'int' in declaration of 'edit' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~ qmparse.y:77:49: warning: type defaults to 'int' in declaration of 'save_vars' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~ qmparse.y:77:62: warning: type defaults to 'int' in declaration of 'clear_vars' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~~ qmparse.y:78:3: warning: type defaults to 'int' in declaration of 'add_import' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~ qmparse.y:78:17: warning: type defaults to 'int' in declaration of 'del_import' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~ qmparse.y:78:31: warning: type defaults to 'int' in declaration of 'clear_imports' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~~~~ qmparse.y:78:48: warning: type defaults to 'int' in declaration of 'breakpoints' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~~ qmparse.y:78:63: warning: type defaults to 'int' in declaration of 'profile' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~ qmparse.y:79:3: warning: type defaults to 'int' in declaration of 'who' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~ qmparse.y:79:10: warning: type defaults to 'int' in declaration of 'whos' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~ qmparse.y:79:18: warning: type defaults to 'int' in declaration of 'whois' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~ qmparse.y:79:27: warning: type defaults to 'int' in declaration of 'ambiguous' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~~~~~ qmparse.y:79:40: warning: type defaults to 'int' in declaration of 'import_list' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~~~~~~~ qmparse.y:79:55: warning: type defaults to 'int' in declaration of 'modules' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~~~ qmparse.y:80:8: warning: type defaults to 'int' in declaration of 'strparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~ qmparse.y:80:20: warning: type defaults to 'int' in declaration of 'intparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~ qmparse.y:80:32: warning: type defaults to 'int' in declaration of 'boolparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~~ qmparse.y:80:45: warning: type defaults to 'int' in declaration of 'boolstrparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~~~~~ qmparse.y:80:61: warning: type defaults to 'int' in declaration of 'allparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~ qmparse.y:81:3: warning: type defaults to 'int' in declaration of 'strlist' [-Wimplicit-int] 81 | strlist(), printstr(); | ^~~~~~~ qmparse.y:81:14: warning: type defaults to 'int' in declaration of 'printstr' [-Wimplicit-int] 81 | strlist(), printstr(); | ^~~~~~~~ qmparse.c: In function 'yyparse': qmparse.c:2099:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] 2099 | yychar = yylex (); | ^~~~~ qmparse.y:423:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 423 | printf("bad C stack size %d, using default\n", i/1024); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ | | | long int qmparse.y:444:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 444 | printf("bad stack size %d, using default\n", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | long int qmparse.y:467:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 467 | printf("bad memory size %d, using default\n", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | long int qmparse.y:525:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 525 | if (res && buf) | ^ qmparse.c:4231:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] 4231 | yyerror (YY_("syntax error")); | ^~~~~~~ | yyerrok qmparse.y: At top level: qmparse.y:1683:1: warning: return type defaults to 'int' [-Wimplicit-int] 1683 | yyerror(s) | ^~~~~~~ qmparse.y: In function 'u8encode': qmparse.y:1762:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1762 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1767:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1767 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1769:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1769 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1774:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1774 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1776:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1776 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1778:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1778 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y: At top level: qmparse.y:1898:8: warning: return type defaults to 'int' [-Wimplicit-int] 1898 | static swap() | ^~~~ qmparse.y:1907:8: warning: return type defaults to 'int' [-Wimplicit-int] 1907 | static rot() | ^~~ qmparse.y:1917:8: warning: return type defaults to 'int' [-Wimplicit-int] 1917 | static pushtern(fno) | ^~~~~~~~ qmparse.y:1925:8: warning: return type defaults to 'int' [-Wimplicit-int] 1925 | static pushbin(fno) | ^~~~~~~ qmparse.y:1933:8: warning: return type defaults to 'int' [-Wimplicit-int] 1933 | static pushun(fno) | ^~~~~~ qmparse.y:1940:8: warning: return type defaults to 'int' [-Wimplicit-int] 1940 | static pushlist(int n, int m) | ^~~~~~~~ qmparse.y:1949:8: warning: return type defaults to 'int' [-Wimplicit-int] 1949 | static pushstream(int n, int m) | ^~~~~~~~~~ qmparse.y:1958:8: warning: return type defaults to 'int' [-Wimplicit-int] 1958 | static pushtuple(int n, int m) | ^~~~~~~~~ qmparse.y:1967:8: warning: return type defaults to 'int' [-Wimplicit-int] 1967 | static pushgroup(int *n, int *m) | ^~~~~~~~~ qmparse.y:1983:8: warning: return type defaults to 'int' [-Wimplicit-int] 1983 | static init_stats() | ^~~~~~~~~~ qmparse.y:1992:8: warning: return type defaults to 'int' [-Wimplicit-int] 1992 | static fini_stats() | ^~~~~~~~~~ qmparse.y:1999:8: warning: return type defaults to 'int' [-Wimplicit-int] 1999 | static print_stats(all) | ^~~~~~~~~~~ qmparse.y: In function 'print_stats': qmparse.y:2009:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 2009 | printf("thread #%d: %lu reduction%s, %lu cell%s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2019:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 2019 | printf("thread #%d: %0.3g secs, %lu reduction%s, %lu cell%s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y: At top level: qmparse.y:2046:8: warning: return type defaults to 'int' [-Wimplicit-int] 2046 | static error_report(base, p, tok) | ^~~~~~~~~~~~ qmparse.y: In function 'error_report': qmparse.y:2053:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2053 | if (tok && *tok && p-q >= l) | ^ qmparse.y:2065:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2065 | while (p > q && (p[-1] != '"' || p > q+1 && p[-2] == '\\')) --p; | ~~~~~~~~^~~~~~~~~~~~~~~~ qmparse.y:2049:43: warning: unused variable 't' [-Wunused-variable] 2049 | char *q = p, *r = strchr(p, '\n'), *s, *t, c; | ^ qmparse.y: At top level: qmparse.y:2118:8: warning: return type defaults to 'int' [-Wimplicit-int] 2118 | static savepos() | ^~~~~~~ qmparse.y:2140:8: warning: return type defaults to 'int' [-Wimplicit-int] 2140 | static clean() | ^~~~~ qmparse.y:2168:8: warning: return type defaults to 'int' [-Wimplicit-int] 2168 | static expression() | ^~~~~~~~~~ qmparse.y:2190:8: warning: return type defaults to 'int' [-Wimplicit-int] 2190 | static assignment() | ^~~~~~~~~~ qmparse.y:2209:8: warning: return type defaults to 'int' [-Wimplicit-int] 2209 | static unassignment(int id) | ^~~~~~~~~~~~ qmparse.y:2218:8: warning: return type defaults to 'int' [-Wimplicit-int] 2218 | static vardecl(int id) | ^~~~~~~ qmparse.y:2239:8: warning: return type defaults to 'int' [-Wimplicit-int] 2239 | static initializer() | ^~~~~~~~~~~ qmparse.y:2259:8: warning: return type defaults to 'int' [-Wimplicit-int] 2259 | static printstr(s) | ^~~~~~~~ qmparse.y:2265:8: warning: return type defaults to 'int' [-Wimplicit-int] 2265 | static strparam(a, s) | ^~~~~~~~ qmparse.y:2281:8: warning: return type defaults to 'int' [-Wimplicit-int] 2281 | static intparam(a, i) | ^~~~~~~~ qmparse.y:2298:8: warning: return type defaults to 'int' [-Wimplicit-int] 2298 | static boolparam(a, b) | ^~~~~~~~~ qmparse.y: In function 'boolparam': qmparse.y:2302:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2302 | if (res) | ^ qmparse.y: At top level: qmparse.y:2315:8: warning: return type defaults to 'int' [-Wimplicit-int] 2315 | static boolstrparam(a, b, s) | ^~~~~~~~~~~~ qmparse.y: In function 'boolstrparam': qmparse.y:2320:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2320 | if (res) | ^ qmparse.y: At top level: qmparse.y:2331:8: warning: return type defaults to 'int' [-Wimplicit-int] 2331 | static allparam(a) | ^~~~~~~~ qmparse.y:2344:8: warning: return type defaults to 'int' [-Wimplicit-int] 2344 | static copyright() | ^~~~~~~~~ qmparse.y:2355:8: warning: return type defaults to 'int' [-Wimplicit-int] 2355 | static shell() | ^~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: qmparse.y: In function 'shell': mangle.h:81:15: warning: implicit declaration of function '__qq__getln'; did you mean '__qq__getint'? [-Wimplicit-function-declaration] 81 | #define getln __qq__getln | ^~~~~~~~~~~ qmparse.y:2359:5: note: in expansion of macro 'getln' 2359 | getln(shell_command); | ^~~~~ qmparse.y: At top level: qmparse.y:2385:8: warning: return type defaults to 'int' [-Wimplicit-int] 2385 | static sethistfile(s) | ^~~~~~~~~~~ qmparse.y:2409:8: warning: return type defaults to 'int' [-Wimplicit-int] 2409 | static sethistsize(i) | ^~~~~~~~~~~ qmparse.y:2421:8: warning: return type defaults to 'int' [-Wimplicit-int] 2421 | static help(s) | ^~~~ qmparse.y:2451:8: warning: return type defaults to 'int' [-Wimplicit-int] 2451 | static edit(s) | ^~~~ qmparse.y:2480:8: warning: return type defaults to 'int' [-Wimplicit-int] 2480 | static save_vars(s) | ^~~~~~~~~ qmparse.y:2540:8: warning: return type defaults to 'int' [-Wimplicit-int] 2540 | static clear_vars() | ^~~~~~~~~~ qmparse.y:2554:1: warning: return type defaults to 'int' [-Wimplicit-int] 2554 | search_import(m) | ^~~~~~~~~~~~~ qmparse.y:2568:1: warning: return type defaults to 'int' [-Wimplicit-int] 2568 | add_import(s) | ^~~~~~~~~~ qmparse.y:2615:1: warning: return type defaults to 'int' [-Wimplicit-int] 2615 | del_import(s) | ^~~~~~~~~~ qmparse.y: In function 'del_import': qmparse.y:2636:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2636 | if (mno == NONE || pos == NONE && mno != mainno) { qmparse.y: At top level: qmparse.y:2657:1: warning: return type defaults to 'int' [-Wimplicit-int] 2657 | clear_imports() | ^~~~~~~~~~~~~ qmparse.y:2670:1: warning: return type defaults to 'int' [-Wimplicit-int] 2670 | modcmp(v1, v2) | ^~~~~~ qmparse.y:2677:1: warning: return type defaults to 'int' [-Wimplicit-int] 2677 | print_modlist() | ^~~~~~~~~~~~~ qmparse.y: In function 'print_modlist': qmparse.y:2681:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2681 | return; | ^~~~~~ qmparse.y:2677:1: note: declared here 2677 | print_modlist() | ^~~~~~~~~~~~~ qmparse.y:2684:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2684 | return; | ^~~~~~ qmparse.y:2677:1: note: declared here 2677 | print_modlist() | ^~~~~~~~~~~~~ qmparse.y:2694:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2694 | if (i > 0) | ^ qmparse.y: At top level: qmparse.y:2715:8: warning: return type defaults to 'int' [-Wimplicit-int] 2715 | static modules() | ^~~~~~~ qmparse.y:2725:1: warning: return type defaults to 'int' [-Wimplicit-int] 2725 | print_implist() | ^~~~~~~~~~~~~ qmparse.y: In function 'print_implist': qmparse.y:2733:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2733 | return; | ^~~~~~ qmparse.y:2725:1: note: declared here 2725 | print_implist() | ^~~~~~~~~~~~~ qmparse.y:2736:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2736 | return; | ^~~~~~ qmparse.y:2725:1: note: declared here 2725 | print_implist() | ^~~~~~~~~~~~~ qmparse.y:2747:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2747 | if (i > 0) | ^ qmparse.y: At top level: qmparse.y:2767:8: warning: return type defaults to 'int' [-Wimplicit-int] 2767 | static import_list() | ^~~~~~~~~~~ qmparse.y:2777:1: warning: return type defaults to 'int' [-Wimplicit-int] 2777 | idcmp(v1, v2) | ^~~~~ qmparse.y:2789:1: warning: return type defaults to 'int' [-Wimplicit-int] 2789 | print_varlist(int all) | ^~~~~~~~~~~~~ qmparse.y: In function 'print_varlist': qmparse.y:2799:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2799 | return; | ^~~~~~ qmparse.y:2789:1: note: declared here 2789 | print_varlist(int all) | ^~~~~~~~~~~~~ qmparse.y:2802:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2802 | return; | ^~~~~~ qmparse.y:2789:1: note: declared here 2789 | print_varlist(int all) | ^~~~~~~~~~~~~ qmparse.y:2811:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2811 | if (i > 0) | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: qmparse.y: At top level: mangle.h:169:27: warning: return type defaults to 'int' [-Wimplicit-int] 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' 2826 | print_breakpoints() | ^~~~~~~~~~~~~~~~~ qmparse.y: In function '__qq__print_breakpoints': qmparse.y:2837:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2837 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' 2826 | print_breakpoints() | ^~~~~~~~~~~~~~~~~ qmparse.y:2840:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2840 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' 2826 | print_breakpoints() | ^~~~~~~~~~~~~~~~~ qmparse.y:2849:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2849 | if (i > 0) | ^ qmparse.y: At top level: qmparse.y:2867:8: warning: return type defaults to 'int' [-Wimplicit-int] 2867 | static breakpoints() | ^~~~~~~~~~~ qmparse.y:2875:1: warning: return type defaults to 'int' [-Wimplicit-int] 2875 | profcmp(v1, v2) | ^~~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: warning: return type defaults to 'int' [-Wimplicit-int] 170 | #define print_profile __qq__print_profile | ^~~~~~~~~~~~~~~~~~~ qmparse.y:2891:1: note: in expansion of macro 'print_profile' 2891 | print_profile() | ^~~~~~~~~~~~~ qmparse.y: In function '__qq__print_profile': qmparse.y:2899:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2899 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here 170 | #define print_profile __qq__print_profile | ^~~~~~~~~~~~~~~~~~~ qmparse.y:2891:1: note: in expansion of macro 'print_profile' 2891 | print_profile() | ^~~~~~~~~~~~~ qmparse.y:2902:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2902 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here 170 | #define print_profile __qq__print_profile | ^~~~~~~~~~~~~~~~~~~ qmparse.y:2891:1: note: in expansion of macro 'print_profile' 2891 | print_profile() | ^~~~~~~~~~~~~ qmparse.y:2909:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 2909 | printf("%8d\t%s\n", symtb[v[i]].nredns, | ^~~~~~~~~~~ qmparse.y: At top level: qmparse.y:2916:8: warning: return type defaults to 'int' [-Wimplicit-int] 2916 | static profile() | ^~~~~~~ qmparse.y:2923:8: warning: return type defaults to 'int' [-Wimplicit-int] 2923 | static who(int all) | ^~~ qmparse.y:2930:8: warning: return type defaults to 'int' [-Wimplicit-int] 2930 | static whos(int sym) | ^~~~ qmparse.y: In function 'whos': qmparse.y:2946:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2946 | if ((flags & VSYM) && !x && !(flags & DCL) || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ qmparse.y: At top level: qmparse.y:3026:8: warning: return type defaults to 'int' [-Wimplicit-int] 3026 | static whois(int fno, char *s) | ^~~~~ qmparse.y:3061:8: warning: return type defaults to 'int' [-Wimplicit-int] 3061 | static ambiguous(int fno, char *s) | ^~~~~~~~~ qmparse.y:3075:8: warning: return type defaults to 'int' [-Wimplicit-int] 3075 | static yypush() | ^~~~~~ qmparse.y:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] 3089 | static yypop() | ^~~~~ qmparse.y:3103:8: warning: return type defaults to 'int' [-Wimplicit-int] 3103 | static parse(source, arg, _mode) | ^~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: qmparse.y: In function 'parse': mangle.h:237:14: warning: implicit declaration of function '__qq__skip'; did you mean '__qq__init'? [-Wimplicit-function-declaration] 237 | #define skip __qq__skip | ^~~~~~~~~~ qmparse.y:3131:64: note: in expansion of macro 'skip' 3131 | if (yychar && yychar != 10 && (thr > thr0 || !checkbrk)) skip(); | ^~~~ qmparse.y:3107:7: warning: unused variable 'c' [-Wunused-variable] 3107 | int c, actmode; | ^ qmparse.y: At top level: qmparse.y:81:3: warning: 'strlist' declared 'static' but never defined [-Wunused-function] 81 | strlist(), printstr(); | ^~~~~~~ qmparse.c: In function 'yyparse': qmparse.y:554:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 554 | system(cmd); | ^~~~~~~~~~~ qmparse.y: In function 'shell': qmparse.y:2361:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2361 | system(shell_command); | ^~~~~~~~~~~~~~~~~~~~~ qmparse.y: In function 'help': qmparse.y:2443:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2443 | system(cmd); | ^~~~~~~~~~~ qmparse.y: In function 'sethistfile': qmparse.y:2407:1: warning: control reaches end of non-void function [-Wreturn-type] 2407 | } | ^ qmparse.y: In function 'sethistsize': qmparse.y:2419:1: warning: control reaches end of non-void function [-Wreturn-type] 2419 | } | ^ qmparse.y: In function 'print_stats': qmparse.y:2030:1: warning: control reaches end of non-void function [-Wreturn-type] 2030 | } | ^ qmparse.y: In function 'clear_vars': qmparse.y:2548:1: warning: control reaches end of non-void function [-Wreturn-type] 2548 | } | ^ qmparse.y: In function 'edit': qmparse.y:2472:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2472 | system(cmd); | ^~~~~~~~~~~ qmparse.y: In function 'printstr': qmparse.y:2263:1: warning: control reaches end of non-void function [-Wreturn-type] 2263 | } | ^ qmparse.y: In function 'savepos': qmparse.y:2136:1: warning: control reaches end of non-void function [-Wreturn-type] 2136 | } | ^ qmparse.y: In function 'ambiguous': qmparse.y:3065:1: warning: control reaches end of non-void function [-Wreturn-type] 3065 | } | ^ qmparse.y: In function 'error_report': qmparse.y:2109:1: warning: control reaches end of non-void function [-Wreturn-type] 2109 | } | ^ qmparse.y: In function 'yyerror': qmparse.y:1689:1: warning: control reaches end of non-void function [-Wreturn-type] 1689 | } | ^ qmparse.y: In function 'yypush': qmparse.y:3087:1: warning: control reaches end of non-void function [-Wreturn-type] 3087 | } | ^ qmparse.y: In function 'yypop': qmparse.y:3099:1: warning: control reaches end of non-void function [-Wreturn-type] 3099 | } | ^ qmparse.c: In function 'yyparse': qmparse.y:700:13: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] 700 | eflag = b; qmparse.y:697:7: note: 'b' was declared here 697 | int b; char *s; | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o q-qmlex.o `test -f 'qmlex.c' || echo './'`qmlex.c qmlex.l:51:8: warning: type defaults to 'int' in declaration of 'bigint' [-Wimplicit-int] 51 | static bigint(); | ^~~~~~ qmlex.l:52:8: warning: type defaults to 'int' in declaration of 'string' [-Wimplicit-int] 52 | static string(); | ^~~~~~ qmlex.l:53:8: warning: type defaults to 'int' in declaration of 'utf8_qualid' [-Wimplicit-int] 53 | static utf8_qualid(); | ^~~~~~~~~~~ qmlex.l: In function 'getbuf': qmlex.l:129:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 129 | if (mybuf1 = (char*)realloc(mybuf, mybufsz+MAXSTRLEN)) { | ^~~~~~ qmlex.l: In function 'getch': qmlex.l:143:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 143 | if (_sflag) | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmlex.l:32: qmlex.l: In function 'yylex': mangle.h:237:14: warning: implicit declaration of function '__qq__skip'; did you mean '__qq__init'? [-Wimplicit-function-declaration] 237 | #define skip __qq__skip | ^~~~~~~~~~ qmlex.l:218:3: note: in expansion of macro 'skip' 218 | ^"#!" { skip(); BEGIN(0); } | ^~~~ qmlex.l: At top level: qmlex.l:537:8: warning: return type defaults to 'int' [-Wimplicit-int] 537 | { | ^ qmlex.l:542:8: warning: return type defaults to 'int' [-Wimplicit-int] 542 | { | ^ qmlex.l: In function 'addbuf': qmlex.l:547:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 547 | } else | ^~~~ qmlex.l:542:8: note: declared here 542 | { | ^ qmlex.l:544:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 544 | if (!(buf = (char*)arealloc(buf, abufsz, 100, sizeof(char)))) { | ^ qmlex.l: At top level: qmlex.l:553:8: warning: return type defaults to 'int' [-Wimplicit-int] 553 | { | ^ qmlex.l: In function 'u8encode': qmlex.l:636:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 636 | c = c >> 6; | ^ qmlex.l:641:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 641 | c = c >> 6; | ^ qmlex.l:643:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 643 | c = c >> 6; | ^ qmlex.l:648:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 648 | c = c >> 6; | ^ qmlex.l:650:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 650 | c = c >> 6; | ^ qmlex.l:652:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 652 | c = c >> 6; | ^ qmlex.l: At top level: qmlex.l:682:8: warning: return type defaults to 'int' [-Wimplicit-int] 682 | { | ^ qmlex.l:798:8: warning: return type defaults to 'int' [-Wimplicit-int] 798 | { | ^ qmlex.l: In function 'utf8_qualid': qmlex.l:800:17: warning: unused variable 'c' [-Wunused-variable] 800 | int ret, ret2; | ^ qmlex.l: At top level: qmlex.l:822:8: warning: return type defaults to 'int' [-Wimplicit-int] 822 | { | ^ qmlex.l:854:8: warning: return type defaults to 'int' [-Wimplicit-int] 854 | mpz_t z; | ^~~~~~ qmlex.l:884:1: warning: return type defaults to 'int' [-Wimplicit-int] 884 | { | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmlex.l:32: mangle.h:160:14: warning: return type defaults to 'int' [-Wimplicit-int] 160 | #define peek __qq__peek | ^~~~~~~~~~ qmlex.l:889:1: note: in expansion of macro 'peek' 889 | { | ^ mangle.h:237:14: warning: return type defaults to 'int' [-Wimplicit-int] 237 | #define skip __qq__skip | ^~~~~~~~~~ qmlex.l:896:1: note: in expansion of macro 'skip' 896 | /* skip remainder of input line */ | ^~~~ mangle.h:81:15: warning: return type defaults to 'int' [-Wimplicit-int] 81 | #define getln __qq__getln | ^~~~~~~~~~~ qmlex.l:909:1: note: in expansion of macro 'getln' 909 | char *s; | ^ qmlex.l:944:8: warning: return type defaults to 'int' [-Wimplicit-int] 944 | { | ^ qmlex.l:974:8: warning: return type defaults to 'int' [-Wimplicit-int] 974 | { | ^ qmlex.l: In function 'string': qmlex.l:845:1: warning: control reaches end of non-void function [-Wreturn-type] 845 | | ^ qmlex.l: In function 'initbuf': qmlex.l:540:1: warning: control reaches end of non-void function [-Wreturn-type] 540 | | ^ qmlex.l: In function '__qq__skip': qmlex.l:907:1: warning: control reaches end of non-void function [-Wreturn-type] 907 | | ^ qmlex.l: In function '__qq__getln': qmlex.l:929:1: warning: control reaches end of non-void function [-Wreturn-type] 929 | | ^ qmlex.l: In function 'lexpop': qmlex.l:1000:1: warning: control reaches end of non-void function [-Wreturn-type] 1000 | | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o q-qbase.o `test -f 'qbase.c' || echo './'`qbase.c qbase.c: In function 'u8encode': qbase.c:587:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 587 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:592:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 592 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:594:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 594 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:599:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 599 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:601:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 601 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:603:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 603 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c: In function 'scanchar': qbase.c:1081:13: warning: unused variable 'r' [-Wunused-variable] 1081 | char *r; | ^ qbase.c: In function '__qq__absolute': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1180:12: note: in expansion of macro 'tilde' 1180 | else if (tilde(s)) | ^~~~~ qbase.c: In function '__qq__dirprefix': qbase.c:1193:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1193 | (!s[l] || strchr(dirstr, s[l]) && !strchr(volstr, s[l])); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c: In function '__qq__expand': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1244:7: note: in expansion of macro 'tilde' 1244 | if (tilde(s2)) { | ^~~~~ qbase.c: In function '__qq__searchlib': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1269:7: note: in expansion of macro 'tilde' 1269 | if (tilde(s2)) | ^~~~~ qbase.c:1279:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1279 | if (s[0] == '.') | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o q-sys.o `test -f 'sys.c' || echo './'`sys.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o q-random.o `test -f 'random.c' || echo './'`random.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o q-uchar.o `test -f 'uchar.c' || echo './'`uchar.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o q-getopt.o `test -f 'getopt.c' || echo './'`getopt.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o q-getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c /bin/sh ../libtool --tag=CC --mode=link gcc -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -dlpreopen force -dlopen ../modules/clib/clib.la -dlopen ../modules/curl/curl.la -dlopen ../modules/dxl/dxl.la -dlopen ../modules/gdbm/gdbm.la -dlopen ../modules/magick/magick.la -dlopen ../modules/odbc/odbc.la -dlopen ../modules/octave/octave.la -dlopen ../modules/tk/tk.la -dlopen ../modules/xml/xml.la -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o q q-q.o q-qm.o q-qmcode.o q-qmfuns.o q-qmmatch.o q-qmprint.o q-qmparse.o q-qmlex.o q-qbase.o q-sys.o q-random.o q-uchar.o q-getopt.o q-getopt1.o ../libq/libq.la -lgmp ../libltdl/libltdlc.la -lpthread -lreadline -lncurses -lncursesw -lcrypt -lrt -lutil -lm libtool: link: rm -f .libs/q.nm .libs/q.nmS .libs/q.nmT libtool: link: rm -f ".libs/q.nmI" libtool: link: (cd .libs && gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -fno-builtin "qS.c") libtool: link: rm -f ".libs/qS.c" ".libs/q.nm" ".libs/q.nmS" ".libs/q.nmT" ".libs/q.nmI" libtool: link: gcc -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection .libs/qS.o -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/q q-q.o q-qm.o q-qmcode.o q-qmfuns.o q-qmmatch.o q-qmprint.o q-qmparse.o q-qmlex.o q-qbase.o q-sys.o q-random.o q-uchar.o q-getopt.o q-getopt1.o -Wl,--export-dynamic /builddir/build/BUILD/q-7.11/libltdl/./.libs/dlopen.a ../libq/.libs/libq.so -lgmp ../libltdl/.libs/libltdlc.a -ldl -lpthread -lreadline -lncurses -lncursesw -lcrypt -lrt -lutil -lm libltdlcS.c:27:12: warning: type of 'dlopen_LTX_get_vtable' does not match original declaration [-Wlto-type-mismatch] loaders/dlopen.c:61:1: note: return value type mismatch loaders/dlopen.c:61:1: note: 'dlopen_LTX_get_vtable' was previously declared here loaders/dlopen.c:61:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used /usr/bin/ld: /tmp/q.XSlfjp.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/q-7.11/src/q.c:1392: warning: the use of `tmpnam' is dangerous, better use `mkstemp' gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qc-qc.o `test -f 'qc.c' || echo './'`qc.c qc.c: In function 'yyparse': qc.c:2469:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] 2469 | yychar = yylex (); | ^~~~~ qc.y:125:21: warning: implicit declaration of function 'srcstate'; did you mean 'setstate'? [-Wimplicit-function-declaration] 125 | source : { srcstate(); } | ^~~~~ | setstate qc.y:131:35: warning: implicit declaration of function 'import'; did you mean 'imports'? [-Wimplicit-function-declaration] 131 | { import(); newdecl(); } | ^ | imports qc.y:131:45: warning: implicit declaration of function 'newdecl'; did you mean 'execl'? [-Wimplicit-function-declaration] 131 | { import(); newdecl(); } | ^ | execl qc.y:133:35: warning: implicit declaration of function 'include' [-Wimplicit-function-declaration] 133 | { include(); newdecl(); } | ^ qc.y:143:35: warning: implicit declaration of function 'newrule' [-Wimplicit-function-declaration] 143 | { newrule(); } | ^ qc.y:146:36: warning: implicit declaration of function 'wrapover' [-Wimplicit-function-declaration] 146 | | program EOFTOK { wrapover(); } | ^ qc.y:149:78: warning: implicit declaration of function 'clear_imports' [-Wimplicit-function-declaration] 149 | { yyerrok; srcstate(); newrule(); newdecl(); clear_imports(); } | ^ qc.y:164:35: warning: implicit declaration of function 'add_import'; did you mean 'mpz_import'? [-Wimplicit-function-declaration] 164 | { add_import($1, NULL); } | ^ | mpz_import qc.y:181:35: warning: implicit declaration of function 'add_import_name' [-Wimplicit-function-declaration] 181 | { add_import_name(NULL, NULL); } | ^~ qc.y:196:35: warning: implicit declaration of function 'priority' [-Wimplicit-function-declaration] 196 | { priority($2); mpz_clear($2); } | ^~ qc.y:199:9: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] 199 | yyerror(qcmsg[SYNTAX_ERROR]); | ^~~~~~~ | yyerrok qc.y:376:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 376 | } else if ((flags & VSYM) && ($2 || type) || | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qc.y:379:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 379 | (flags & CST) && (flags & EXT) || | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ qc.y:381:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 380 | type && | ~~~~~~~ 381 | (symtb[type].flags & EXT) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 382 | !(flags & VIRT) || | ~~~~~~~~~~~~~~~ qc.y:383:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 383 | !(flags & VSYM) && | ~~~~~~~~~~~~~~~~^~ 384 | isvsym(strsp+symtb[$1].pname)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qc.y:400:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 400 | (flags & CST) && (flags & EXT) || | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ qc.y:401:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 401 | type && (symtb[type].flags & EXT) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 402 | !(flags & VIRT) || | ~~~~~~~~~~~~~~~ qc.y:403:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 403 | (prec == 5 || prec == 9) && $4 != 1 || | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ qc.y:404:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 404 | (prec != 5 && prec != 9) && $4 != 2) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ qc.y:424:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 424 | } else if ((flags & VSYM) && ($2 || type) || | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qc.y:426:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 426 | (flags & CST) && (flags & EXT) || | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ qc.y:427:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 427 | !(flags & VSYM) && | ~~~~~~~~~~~~~~~~^~ 428 | isvsym(strsp+symtb[$1].pname) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qc.y:430:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 430 | $3 && symtb[$3].modno == modno && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 431 | (symtb[$3].flags&DCL)) { | ~~~~~~~~~~~~~~~~~~~~~~~~ qc.y:449:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 449 | (flags & CST) && (flags & EXT) || | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ qc.y:451:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 451 | $6 && symtb[$6].modno == modno && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 452 | (symtb[$6].flags&DCL) || | ~~~~~~~~~~~~~~~~~~~~~~~~ qc.y:454:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 454 | (prec == 5 || prec == 9) && $4 != 1 || | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ qc.y:455:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 455 | (prec != 5 && prec != 9) && $4 != 2) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ qc.y:465:38: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 465 | { if (flags & SPEC) | ^ qc.y:484:42: warning: implicit declaration of function 'precval'; did you mean 'pread'? [-Wimplicit-function-declaration] 484 | { $$ = precval($2); } | ^ | pread qc.y: At top level: qc.y:1513:1: warning: return type defaults to 'int' [-Wimplicit-int] 1513 | yyerror(s) | ^~~~~~~ qc.y:1525:1: warning: return type defaults to 'int' [-Wimplicit-int] 1525 | yywarn(s) | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qcdefs.h:24, from qc.y:31: mangle.h:57:15: warning: return type defaults to 'int' [-Wimplicit-int] 57 | #define fatal __qq__fatal | ^~~~~~~~~~~ qc.y:1535:1: note: in expansion of macro 'fatal' 1535 | fatal(s) | ^~~~~ qc.y:1554:1: warning: return type defaults to 'int' [-Wimplicit-int] 1554 | statistics() | ^~~~~~~~~~ qc.y:1695:1: warning: return type defaults to 'int' [-Wimplicit-int] 1695 | checkint() | ^~~~~~~~ qc.y:1701:1: warning: return type defaults to 'int' [-Wimplicit-int] 1701 | newrule() | ^~~~~~~ qc.y:1707:1: warning: return type defaults to 'int' [-Wimplicit-int] 1707 | newdecl() | ^~~~~~~ qc.y:1713:1: warning: return type defaults to 'int' [-Wimplicit-int] 1713 | precval(z) | ^~~~~~~ qc.y:1726:1: warning: return type defaults to 'int' [-Wimplicit-int] 1726 | priority(z) | ^~~~~~~~ qc.y: In function 'add_qualifier': qc.y:1763:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1763 | if (qual_size >= qual_alloc) | ^ qc.y: In function 'start_where_clauses': qc.y:1773:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1773 | if (qual_size >= qual_alloc) | ^ qc.y: In function 'add_where_clause': qc.y:1789:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1789 | if (clause_size >= clause_alloc) | ^ qc.y: In function 'parse_opts': qc.y:1929:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1929 | if (optarg) | ^ qc.y: In function 'get_source_opts': qc.y:2034:7: warning: unused variable 'i' [-Wunused-variable] 2034 | int i; | ^ qc.y: At top level: qc.y:2060:1: warning: return type defaults to 'int' [-Wimplicit-int] 2060 | main(argc, argv) | ^~~~ qc.y: In function 'main': qc.y:2102:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2102 | if (chkfile(searchlib(fname, argv[optind])) && In file included from sys.h:38, from qbase.h:24, from qcdefs.h:24, from qc.y:31: mangle.h:107:17: warning: implicit declaration of function '__qq__initlex'; did you mean '__qq__intexpr'? [-Wimplicit-function-declaration] 107 | #define initlex __qq__initlex | ^~~~~~~~~~~~~ qc.y:2161:7: note: in expansion of macro 'initlex' 2161 | if (!initlex(argc, argv) || yyparse() == 0 && nerrs == 0) { | ^~~~~~~ qc.y:2161:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2161 | if (!initlex(argc, argv) || yyparse() == 0 && nerrs == 0) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ qc.y: In function 'yyerror': qc.y:1523:1: warning: control reaches end of non-void function [-Wreturn-type] 1523 | } | ^ qc.y: In function 'yywarn': qc.y:1533:1: warning: control reaches end of non-void function [-Wreturn-type] 1533 | } | ^ qc.y: In function 'checkint': qc.y:1699:1: warning: control reaches end of non-void function [-Wreturn-type] 1699 | } | ^ qc.y: In function 'newrule': qc.y:1705:1: warning: control reaches end of non-void function [-Wreturn-type] 1705 | } | ^ qc.y: In function 'newdecl': qc.y:1711:1: warning: control reaches end of non-void function [-Wreturn-type] 1711 | } | ^ qc.y: In function 'priority': qc.y:1734:1: warning: control reaches end of non-void function [-Wreturn-type] 1734 | } | ^ qc.y: In function 'main': qc.y:2150:6: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 2150 | freopen(list, "w", stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ qc.y: In function 'statistics': qc.y:1575:1: warning: control reaches end of non-void function [-Wreturn-type] 1575 | } | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qc-qclex.o `test -f 'qclex.c' || echo './'`qclex.c qclex.l:51:8: warning: type defaults to 'int' in declaration of 'comment' [-Wimplicit-int] 51 | static comment(), string(); | ^~~~~~~ qclex.l:51:19: warning: type defaults to 'int' in declaration of 'string' [-Wimplicit-int] 51 | static comment(), string(); | ^~~~~~ qclex.l:53:8: warning: type defaults to 'int' in declaration of 'utf8_id' [-Wimplicit-int] 53 | static utf8_id(), utf8_id_or_sym(), utf8_qualid(), utf8_skip(); | ^~~~~~~ qclex.l:53:19: warning: type defaults to 'int' in declaration of 'utf8_id_or_sym' [-Wimplicit-int] 53 | static utf8_id(), utf8_id_or_sym(), utf8_qualid(), utf8_skip(); | ^~~~~~~~~~~~~~ qclex.l:53:37: warning: type defaults to 'int' in declaration of 'utf8_qualid' [-Wimplicit-int] 53 | static utf8_id(), utf8_id_or_sym(), utf8_qualid(), utf8_skip(); | ^~~~~~~~~~~ qclex.l:53:52: warning: type defaults to 'int' in declaration of 'utf8_skip' [-Wimplicit-int] 53 | static utf8_id(), utf8_id_or_sym(), utf8_qualid(), utf8_skip(); | ^~~~~~~~~ In file included from sys.h:38, from qbase.h:24, from qcdefs.h:24, from qclex.l:32: qclex.l: In function 'strdupchk': mangle.h:57:15: warning: implicit declaration of function '__qq__fatal' [-Wimplicit-function-declaration] 57 | #define fatal __qq__fatal | ^~~~~~~~~~~ qclex.l:58:5: note: in expansion of macro 'fatal' 58 | fatal(qcmsg[MEM_OVF]); | ^~~~~ qclex.l: At top level: qclex.l:65:8: warning: return type defaults to 'int' [-Wimplicit-int] 65 | static ofchk(char *s) | ^~~~~ qclex.l: In function 'getbuf': qclex.l:192:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 192 | if (mybuf1 = (char*)realloc(mybuf, mybufsz+MAXSTRLEN)) { | ^~~~~~ qclex.l: In function 'yylex': qclex.l:292:8: warning: implicit declaration of function 'yyerror'; did you mean 'perror'? [-Wimplicit-function-declaration] 292 | yyerror(msg); | ^~~~~~~ | perror qclex.l: At top level: qclex.l:498:8: warning: return type defaults to 'int' [-Wimplicit-int] 498 | { | ^ qclex.l:519:8: warning: return type defaults to 'int' [-Wimplicit-int] 519 | { | ^ qclex.l:524:8: warning: return type defaults to 'int' [-Wimplicit-int] 524 | { | ^ qclex.l: In function 'addbuf': qclex.l:526:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 526 | if (!(buf = (char*)arealloc(buf, abufsz, 100, sizeof(char)))) | ^ qclex.l: At top level: qclex.l:534:8: warning: return type defaults to 'int' [-Wimplicit-int] 534 | { | ^ qclex.l: In function 'u8encode': qclex.l:617:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 617 | c = c >> 6; | ^ qclex.l:622:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 622 | c = c >> 6; | ^ qclex.l:624:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 624 | c = c >> 6; | ^ qclex.l:629:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 629 | c = c >> 6; | ^ qclex.l:631:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 631 | c = c >> 6; | ^ qclex.l:633:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 633 | c = c >> 6; | ^ qclex.l: At top level: qclex.l:663:8: warning: return type defaults to 'int' [-Wimplicit-int] 663 | { | ^ qclex.l:691:8: warning: return type defaults to 'int' [-Wimplicit-int] 691 | { | ^ qclex.l:749:8: warning: return type defaults to 'int' [-Wimplicit-int] 749 | { | ^ qclex.l:854:8: warning: return type defaults to 'int' [-Wimplicit-int] 854 | { | ^ qclex.l:860:8: warning: return type defaults to 'int' [-Wimplicit-int] 860 | { | ^ qclex.l:866:8: warning: return type defaults to 'int' [-Wimplicit-int] 866 | { | ^ qclex.l: In function 'utf8_qualid': qclex.l:868:17: warning: unused variable 'c' [-Wunused-variable] 868 | int ret, ret2; | ^ qclex.l: At top level: qclex.l:890:8: warning: return type defaults to 'int' [-Wimplicit-int] 890 | { | ^ In file included from sys.h:38, from qbase.h:24, from qcdefs.h:24, from qclex.l:32: mangle.h:83:18: warning: return type defaults to 'int' [-Wimplicit-int] 83 | #define getmodno __qq__getmodno | ^~~~~~~~~~~~~~ qclex.l:989:1: note: in expansion of macro 'getmodno' 989 | char *s; | ^ ~~~ qclex.l:1002:1: warning: return type defaults to 'int' [-Wimplicit-int] 1002 | char *s; | ^ ~~~~~~~~ qclex.l:1014:1: warning: return type defaults to 'int' [-Wimplicit-int] 1014 | int modno; | ^ ~~ qclex.l:1026:1: warning: return type defaults to 'int' [-Wimplicit-int] 1026 | char *modname, *realname, *fname, *s; | ^ ~ qclex.l:1046:1: warning: return type defaults to 'int' [-Wimplicit-int] 1046 | char *s, *as; | ^ ~~ In file included from sys.h:38, from qbase.h:24, from qcdefs.h:24, from qclex.l:32: mangle.h:179:18: warning: return type defaults to 'int' [-Wimplicit-int] 179 | #define pushfile __qq__pushfile | ^~~~~~~~~~~~~~ qclex.l:1136:1: note: in expansion of macro 'pushfile' 1136 | int incl; | ^ ~~~ qclex.l:1167:8: warning: return type defaults to 'int' [-Wimplicit-int] 1167 | { | ^ qclex.l:1192:8: warning: return type defaults to 'int' [-Wimplicit-int] 1192 | { | ^ qclex.l:1221:1: warning: return type defaults to 'int' [-Wimplicit-int] 1221 | char *s, *as; | ^ ~~~~~ qclex.l:1233:1: warning: return type defaults to 'int' [-Wimplicit-int] 1233 | char *s, *as; | ^ ~~~~~~~~~~ qclex.l:1243:1: warning: return type defaults to 'int' [-Wimplicit-int] 1243 | { | ^ qclex.l: In function 'sym_import': qclex.l:1253:10: warning: unused variable 'l' [-Wunused-variable] 1253 | if (namec > 0 && namev[0].s) { | ^ qclex.l: At top level: qclex.l:1301:1: warning: return type defaults to 'int' [-Wimplicit-int] 1301 | int incl; | ^ ~~~ qclex.l: In function 'doimport': qclex.l:1305:20: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1305 | pushfile(incl); | ^ qclex.l:1301:1: note: declared here 1301 | int incl; | ^ ~~~ qclex.l:1326:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1326 | } else { | ^~~~~~ qclex.l:1301:1: note: declared here 1301 | int incl; | ^ ~~~ qclex.l:1332:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1332 | if (fsp->namev) { | ^ qclex.l: At top level: qclex.l:1347:1: warning: return type defaults to 'int' [-Wimplicit-int] 1347 | { | ^ qclex.l:1352:1: warning: return type defaults to 'int' [-Wimplicit-int] 1352 | { | ^ qclex.l:1359:1: warning: return type defaults to 'int' [-Wimplicit-int] 1359 | { | ^ qclex.l:1364:1: warning: return type defaults to 'int' [-Wimplicit-int] 1364 | { | ^ qclex.l: In function 'wrapover': qclex.l:1396:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1396 | if (fsp->namev) { | ^ In file included from sys.h:38, from qbase.h:24, from qcdefs.h:24, from qclex.l:32: qclex.l: At top level: mangle.h:107:17: warning: return type defaults to 'int' [-Wimplicit-int] 107 | #define initlex __qq__initlex | ^~~~~~~~~~~~~ qclex.l:1448:1: note: in expansion of macro 'initlex' 1448 | int _argc; | ^ ~~ qclex.l:1477:1: warning: return type defaults to 'int' [-Wimplicit-int] 1477 | { | ^ qclex.l: In function 'initbuf': qclex.l:522:1: warning: control reaches end of non-void function [-Wreturn-type] 522 | | ^ qclex.l: In function 'addbuf': qclex.l:532:1: warning: control reaches end of non-void function [-Wreturn-type] 532 | | ^ qclex.l: In function 'strdupchk': qclex.l:61:1: warning: control reaches end of non-void function [-Wreturn-type] 61 | } | ^ qclex.l: In function 'string': qclex.l:917:1: warning: control reaches end of non-void function [-Wreturn-type] 917 | | ^ qclex.l: In function 'comment': qclex.l:517:1: warning: control reaches end of non-void function [-Wreturn-type] 517 | | ^ qclex.l: In function 'ofchk': qclex.l:69:1: warning: control reaches end of non-void function [-Wreturn-type] 69 | } | ^ qclex.l: In function 'utf8_skip': qclex.l:759:1: warning: control reaches end of non-void function [-Wreturn-type] 759 | | ^ qclex.l: In function 'add_import': qclex.l:1231:1: warning: control reaches end of non-void function [-Wreturn-type] 1231 | | ^ qclex.l: In function 'add_import_name': qclex.l:1241:1: warning: control reaches end of non-void function [-Wreturn-type] 1241 | | ^ qclex.l: In function 'clear_imports': qclex.l:1246:1: warning: control reaches end of non-void function [-Wreturn-type] 1246 | | ^ qclex.l: In function 'import': qclex.l:1350:1: warning: control reaches end of non-void function [-Wreturn-type] 1350 | | ^ qclex.l: In function '__qq__pushfile': qclex.l:1165:1: warning: control reaches end of non-void function [-Wreturn-type] 1165 | | ^ qclex.l: In function 'addmod': qclex.l:1041:1: warning: control reaches end of non-void function [-Wreturn-type] 1041 | | ^ qclex.l: In function 'popfile0': qclex.l:1213:1: warning: control reaches end of non-void function [-Wreturn-type] 1213 | | ^ qclex.l: In function 'include': qclex.l:1355:1: warning: control reaches end of non-void function [-Wreturn-type] 1355 | | ^ qclex.l: In function 'popfile': qclex.l:1190:1: warning: control reaches end of non-void function [-Wreturn-type] 1190 | | ^ qclex.l: In function 'srcstate': qclex.l:1480:1: warning: control reaches end of non-void function [-Wreturn-type] At top level: qclex.l:42:28: warning: 's2' defined but not used [-Wunused-variable] 42 | static char s1[MAXSTRLEN], s2[MAXSTRLEN]; | ^~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qc-qcmsgs.o `test -f 'qcmsgs.c' || echo './'`qcmsgs.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qc-qcrules.o `test -f 'qcrules.c' || echo './'`qcrules.c In file included from sys.h:38, from qbase.h:24, from qcdefs.h:24, from qcrules.c:22: qcrules.c: In function 'newstatep': mangle.h:57:15: warning: implicit declaration of function '__qq__fatal' [-Wimplicit-function-declaration] 57 | #define fatal __qq__fatal | ^~~~~~~~~~~ qcrules.c:132:5: note: in expansion of macro 'fatal' 132 | fatal(qcmsg[MEM_OVF]); | ^~~~~ qcrules.c: At top level: qcrules.c:404:1: warning: return type defaults to 'int' [-Wimplicit-int] 404 | subtype(int type1, int type2) | ^~~~~~~ qcrules.c: In function 'merge': qcrules.c:569:5: warning: implicit declaration of function 'yywarn' [-Wimplicit-function-declaration] 569 | yywarn(qcmsg[VIRTUAL_OVERLAPS]); | ^~~~~~ qcrules.c: At top level: qcrules.c:662:1: warning: return type defaults to 'int' [-Wimplicit-int] 662 | printsym(int fno) | ^~~~~~~~ qcrules.c: In function 'printop': qcrules.c:687:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 687 | printf("%05d: ", op-tcodesp+codespsz); | ~~~^ | | | int | %05ld qcrules.c: At top level: qcrules.c:772:1: warning: return type defaults to 'int' [-Wimplicit-int] 772 | isconstx(EXPR *x) | ^~~~~~~~ qcrules.c: In function 'isconstx': qcrules.c:780:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 780 | (x->fno < RESERVED && n == 0 || (symtb[x->fno].flags & CST) && | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ qcrules.c: At top level: qcrules.c:785:1: warning: return type defaults to 'int' [-Wimplicit-int] 785 | isvarx(EXPR *x) | ^~~~~~ qcrules.c:791:1: warning: return type defaults to 'int' [-Wimplicit-int] 791 | irrefutable(EXPR *x) | ^~~~~~~~~~~ qcrules.c: In function 'left_hand_side': qcrules.c:808:5: warning: implicit declaration of function 'yyerror'; did you mean 'perror'? [-Wimplicit-function-declaration] 808 | yyerror(qcmsg[INVALID_DEF]); | ^~~~~~~ | perror qcrules.c: In function 'queries': qcrules.c:858:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 858 | if (strcmp(tmpsp+vartb[vno].pname, "_")) | ^ qcrules.c:899:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 899 | if (arity(x->fno) > 0) | ^ qcrules.c: In function 'queries0': qcrules.c:935:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 935 | if (arity(x->fno) > 0) | ^ qcrules.c: At top level: qcrules.c:1042:1: warning: return type defaults to 'int' [-Wimplicit-int] 1042 | add_match(Statep s) | ^~~~~~~~~ qcrules.c: In function 'add_match': qcrules.c:1049:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1049 | else if (matchtbsz >= amatchtbsz) | ^ qcrules.c: In function 'lhsvars': qcrules.c:1090:7: warning: unused variable 'vno' [-Wunused-variable] 1090 | int vno; | ^~~ qcrules.c: In function 'nexpression': qcrules.c:1196:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1196 | if (wflag > 2 || wflag > 1 && !(symtb[x->fno].flags & VSYM)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qcrules.c:1195:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1195 | if (wflag && !(symtb[x->fno].flags & DCL)) | ^ qcrules.c: In function 'newstatep': qcrules.c:135:1: warning: control reaches end of non-void function [-Wreturn-type] 135 | } | ^ qcrules.c: In function 'newtransp': qcrules.c:146:1: warning: control reaches end of non-void function [-Wreturn-type] 146 | } | ^ qcrules.c: In function 'newrulep': qcrules.c:157:1: warning: control reaches end of non-void function [-Wreturn-type] 157 | } | ^ qcrules.c: In function 'printsym': qcrules.c:679:1: warning: control reaches end of non-void function [-Wreturn-type] 679 | } | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qc-qctables.o `test -f 'qctables.c' || echo './'`qctables.c In file included from sys.h:38, from qbase.h:24, from qcdefs.h:24, from qctables.c:22: qctables.c: In function 'inittables': mangle.h:57:15: warning: implicit declaration of function '__qq__fatal' [-Wimplicit-function-declaration] 57 | #define fatal __qq__fatal | ^~~~~~~~~~~ qctables.c:67:5: note: in expansion of macro 'fatal' 67 | fatal(qcmsg[MEM_OVF]); | ^~~~~ qctables.c: At top level: qctables.c:665:1: warning: return type defaults to 'int' [-Wimplicit-int] 665 | symprio(int sym) | ^~~~~~~ qctables.c: In function 'getfun': qctables.c:692:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 692 | if (matchfun(fno, s) && | ^ qctables.c:681:8: warning: unused variable 'msg' [-Wunused-variable] 681 | char msg[MAXSTRLEN], mnm[MAXSTRLEN]; | ^~~ qctables.c: In function 'mkfun': qctables.c:747:5: warning: implicit declaration of function 'yyerror'; did you mean 'perror'? [-Wimplicit-function-declaration] 747 | yyerror(msg); | ^~~~~~~ | perror qctables.c:752:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 752 | if (matchfun(fno, s) && | ^ qctables.c:797:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 797 | if (symtbsz >= asymtbsz) | ^ qctables.c:824:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 824 | (wflag >= 3 && symtb[fno].modno >= 0 || | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qctables.c:828:7: warning: implicit declaration of function 'yywarn' [-Wimplicit-function-declaration] 828 | yywarn(msg); | ^~~~~~ qctables.c: In function 'mkxxxfun': qctables.c:854:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 854 | if (matchfun(fno, s) && | ^ qctables.c:899:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 899 | if (symtbsz >= asymtbsz) | ^ qctables.c:926:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 926 | (wflag >= 3 && symtb[fno].modno >= 0 || | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qctables.c: In function 'dclfun': qctables.c:1041:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1041 | symtb[fno].type != type && !(flags & EXT) || qctables.c: In function 'mkfvar': qctables.c:1116:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1116 | if (matchfun(vno, s) && | ^ qctables.c:1161:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1161 | if (symtbsz >= asymtbsz) | ^ qctables.c:1188:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1188 | (wflag >= 3 && symtb[vno].modno >= 0 || | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qctables.c: In function 'mkxxxfvar': qctables.c:1214:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1214 | if (matchfun(vno, s) && | ^ qctables.c:1259:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1259 | if (symtbsz >= asymtbsz) | ^ qctables.c:1286:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1286 | (wflag >= 3 && symtb[vno].modno >= 0 || | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qctables.c: In function 'mktype': qctables.c:1421:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1421 | if (matchtyp(type, s) && | ^ qctables.c:1466:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1466 | if (symtbsz >= asymtbsz) | ^ qctables.c:1493:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1493 | (wflag >= 3 && symtb[type].modno >= 0 || | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ qctables.c: In function 'mkxxxtype': qctables.c:1519:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1519 | if (matchtyp(type, s) && | ^ qctables.c:1564:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1564 | if (symtbsz >= asymtbsz) | ^ qctables.c:1591:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1591 | (wflag >= 3 && symtb[type].modno >= 0 || | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ qctables.c: In function 'uniq': qctables.c:1772:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1772 | if (matchsym(sym, s, t) && | ^ qctables.c: In function 'fix_symtb': qctables.c:1803:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1803 | if (symtb[i].modno == NONE || symtb[i].modno == 0 || | ^~ qctables.c:1807:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1807 | if (uniq(i)) | ^~ qctables.c: At top level: qctables.c:1870:1: warning: return type defaults to 'int' [-Wimplicit-int] 1870 | vareq(s1, s2) | ^~~~~ qctables.c: In function 'add_init': qctables.c:2039:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2039 | if (inittbsz >= ainittbsz) | ^ qctables.c: In function '__qq__intexpr': qctables.c:303:1: warning: control reaches end of non-void function [-Wreturn-type] 303 | } | ^ qctables.c: In function '__qq__floatexpr': qctables.c:318:1: warning: control reaches end of non-void function [-Wreturn-type] 318 | } | ^ qctables.c: In function '__qq__strexpr': qctables.c:333:1: warning: control reaches end of non-void function [-Wreturn-type] 333 | } | ^ qctables.c: In function 'varexpr': qctables.c:348:1: warning: control reaches end of non-void function [-Wreturn-type] 348 | } | ^ qctables.c: In function '__qq__consexpr': qctables.c:364:1: warning: control reaches end of non-void function [-Wreturn-type] 364 | } | ^ qctables.c: In function 'pairexpr': qctables.c:380:1: warning: control reaches end of non-void function [-Wreturn-type] 380 | } | ^ qctables.c: In function 'appexpr': qctables.c:397:1: warning: control reaches end of non-void function [-Wreturn-type] 397 | } | ^ qctables.c: In function '__qq__funexpr': qctables.c:421:1: warning: control reaches end of non-void function [-Wreturn-type] 421 | } | ^ qctables.c: In function 'puttmp': qctables.c:487:1: warning: control reaches end of non-void function [-Wreturn-type] 487 | } | ^ qctables.c: In function 'mkvar': qctables.c:1886:1: warning: control reaches end of non-void function [-Wreturn-type] 1886 | } | ^ At top level: qctables.c:2174:12: warning: 'intcmp' defined but not used [-Wunused-function] 2174 | static int intcmp(int *ip, int *jp) | ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qc-qbase.o `test -f 'qbase.c' || echo './'`qbase.c qbase.c: In function 'u8encode': qbase.c:587:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 587 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:592:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 592 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:594:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 594 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:599:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 599 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:601:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 601 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:603:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 603 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c: In function 'scanchar': qbase.c:1081:13: warning: unused variable 'r' [-Wunused-variable] 1081 | char *r; | ^ qbase.c: In function '__qq__absolute': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1180:12: note: in expansion of macro 'tilde' 1180 | else if (tilde(s)) | ^~~~~ qbase.c: In function '__qq__dirprefix': qbase.c:1193:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1193 | (!s[l] || strchr(dirstr, s[l]) && !strchr(volstr, s[l])); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c: In function '__qq__expand': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1244:7: note: in expansion of macro 'tilde' 1244 | if (tilde(s2)) { | ^~~~~ qbase.c: In function '__qq__searchlib': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1269:7: note: in expansion of macro 'tilde' 1269 | if (tilde(s2)) | ^~~~~ qbase.c:1279:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1279 | if (s[0] == '.') | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qc-sys.o `test -f 'sys.c' || echo './'`sys.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qc-uchar.o `test -f 'uchar.c' || echo './'`uchar.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qc-getopt.o `test -f 'getopt.c' || echo './'`getopt.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qc-getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c /bin/sh ../libtool --tag=CC --mode=link gcc -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qc qc-qc.o qc-qclex.o qc-qcmsgs.o qc-qcrules.o qc-qctables.o qc-qbase.o qc-sys.o qc-uchar.o qc-getopt.o qc-getopt1.o -lgmp -lcrypt -lrt -lutil -lm libtool: link: gcc -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qc qc-qc.o qc-qclex.o qc-qcmsgs.o qc-qcrules.o qc-qctables.o qc-qbase.o qc-sys.o qc-uchar.o qc-getopt.o qc-getopt1.o -lgmp -lcrypt -lrt -lutil -lm gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qcc-qcc.o `test -f 'qcc.c' || echo './'`qcc.c qcc.c: In function 'main': qcc.c:494:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 494 | system("rm .libs/* && rmdir .libs"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from sys.h:70, from qbase.h:24, from qcc.c:27: In function 'strncpy', inlined from 'newext' at qcc.c:122:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qcc.c: In function 'newext': qcc.c:119:11: note: length computed here 119 | int l = strlen(s), e = strlen(ext); | ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qcc-qbase.o `test -f 'qbase.c' || echo './'`qbase.c qbase.c: In function 'u8encode': qbase.c:587:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 587 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:592:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 592 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:594:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 594 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:599:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 599 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:601:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 601 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:603:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 603 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c: In function 'scanchar': qbase.c:1081:13: warning: unused variable 'r' [-Wunused-variable] 1081 | char *r; | ^ qbase.c: In function '__qq__absolute': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1180:12: note: in expansion of macro 'tilde' 1180 | else if (tilde(s)) | ^~~~~ qbase.c: In function '__qq__dirprefix': qbase.c:1193:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1193 | (!s[l] || strchr(dirstr, s[l]) && !strchr(volstr, s[l])); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c: In function '__qq__expand': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1244:7: note: in expansion of macro 'tilde' 1244 | if (tilde(s2)) { | ^~~~~ qbase.c: In function '__qq__searchlib': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1269:7: note: in expansion of macro 'tilde' 1269 | if (tilde(s2)) | ^~~~~ qbase.c:1279:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1279 | if (s[0] == '.') | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qcc-sys.o `test -f 'sys.c' || echo './'`sys.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qcc-getopt.o `test -f 'getopt.c' || echo './'`getopt.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qcc-getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c /bin/sh ../libtool --tag=CC --mode=link gcc -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qcc qcc-qcc.o qcc-qbase.o qcc-sys.o qcc-getopt.o qcc-getopt1.o -lgmp -lcrypt -lrt -lutil -lm libtool: link: gcc -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qcc qcc-qcc.o qcc-qbase.o qcc-sys.o qcc-getopt.o qcc-getopt1.o -lgmp -lcrypt -lrt -lutil -lm In function 'strncpy', inlined from 'newext' at qcc.c:122:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ qcc.c: In function 'newext': qcc.c:119:11: note: length computed here 119 | int l = strlen(s), e = strlen(ext); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libglobs_a-q.o `test -f 'q.c' || echo './'`q.c q.c:52:8: warning: type defaults to 'int' in declaration of 'unload_dlls' [-Wimplicit-int] 52 | static unload_dlls(void); | ^~~~~~~~~~~ q.c: In function '__qq__exitproc': q.c:61:7: warning: unused variable 'i' [-Wunused-variable] 61 | int i; | ^ q.c: At top level: q.c:480:8: warning: return type defaults to 'int' [-Wimplicit-int] 480 | static comp(x, y) | ^~~~ q.c:486:8: warning: return type defaults to 'int' [-Wimplicit-int] 486 | static build_fsym_table() | ^~~~~~~~~~~~~~~~ q.c: In function 'build_fsym_table': q.c:490:15: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 490 | if (!fsyms) return; | ^~~~~~ q.c:486:8: note: declared here 486 | static build_fsym_table() | ^~~~~~~~~~~~~~~~ q.c:493:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 493 | if (('a' <= *base && *base <= 'z' || | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ q.c: At top level: q.c:513:8: warning: return type defaults to 'int' [-Wimplicit-int] 513 | static build_vsym_table() | ^~~~~~~~~~~~~~~~ q.c: In function 'build_vsym_table': q.c:517:15: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 517 | if (!vsyms) return; | ^~~~~~ q.c:513:8: note: declared here 513 | static build_vsym_table() | ^~~~~~~~~~~~~~~~ q.c:520:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 520 | if (('a' <= *base && *base <= 'z' || | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ q.c: At top level: q.c:540:8: warning: return type defaults to 'int' [-Wimplicit-int] 540 | static search(table, text, len) | ^~~~~~ q.c:550:8: warning: return type defaults to 'int' [-Wimplicit-int] 550 | static clear_fsym_table() | ^~~~~~~~~~~~~~~~ q.c: In function 'clear_fsym_table': q.c:553:15: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 553 | if (!fsyms) return; | ^~~~~~ q.c:550:8: note: declared here 550 | static clear_fsym_table() | ^~~~~~~~~~~~~~~~ q.c: At top level: q.c:560:8: warning: return type defaults to 'int' [-Wimplicit-int] 560 | static clear_vsym_table() | ^~~~~~~~~~~~~~~~ q.c: In function 'clear_vsym_table': q.c:563:15: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 563 | if (!vsyms) return; | ^~~~~~ q.c:560:8: note: declared here 560 | static clear_vsym_table() | ^~~~~~~~~~~~~~~~ q.c: In function 'sym_generator': q.c:603:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 603 | while (name = csyms[i_csym]) | ^~~~ q.c:614:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 614 | while (name = fsyms[i_fsym]) | ^~~~ q.c:625:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 625 | while (name = vsyms[i_vsym]) | ^~~~ q.c: In function 'init_readline': q.c:655:3: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations] 655 | rl_attempted_completion_function = (CPPFunction *)sym_completion; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q.c: In function '__qq__list_completions': q.c:699:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 699 | if (matches[0]) | ^ q.c: In function 'mygetline1': q.c:723:18: warning: unused variable 'last' [-Wunused-variable] 723 | static char *last = NULL; | ^~~~ q.c:766:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 766 | (l = strlen(bufp)) > 0 && bufp[l-1] == '\n') | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ q.c:774:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 774 | if (buf) | ^ q.c:785:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 785 | if (ferror(fp) || feof(fp) && !*buf) { | ~~~~~~~~~^~~~~~~~ q.c: At top level: q.c:797:8: warning: type defaults to 'int' in declaration of 'contd' [-Wimplicit-int] 797 | static contd(); | ^~~~~ q.c: In function '__qq__mygetline': q.c:891:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 891 | codeset != NULL && strcmp(codeset, rl_codeset) != 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q.c: At top level: q.c:949:8: warning: return type defaults to 'int' [-Wimplicit-int] 949 | static wsarg(char *arg) | ^~~~~ q.c:983:8: warning: return type defaults to 'int' [-Wimplicit-int] 983 | static qcarg(char *arg) | ^~~~~ q.c:995:8: warning: return type defaults to 'int' [-Wimplicit-int] 995 | static set_qcarg(int i, char *arg) | ^~~~~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from q.c:26: q.c: In function 'parse_opts': mangle.h:35:26: warning: implicit declaration of function '__qq__debug_parse_opts'; did you mean 'debug_parse_opts'? [-Wimplicit-function-declaration] 35 | #define debug_parse_opts __qq__debug_parse_opts | ^~~~~~~~~~~~~~~~~~~~~~ q.c:1039:12: note: in expansion of macro 'debug_parse_opts' 1039 | if (!debug_parse_opts(opts)) { | ^~~~~~~~~~~~~~~~ q.c: In function 'get_source_opts': q.c:1292:7: warning: unused variable 'i' [-Wunused-variable] 1292 | int i; | ^ q.c: At top level: q.c:1332:1: warning: return type defaults to 'int' [-Wimplicit-int] 1332 | spawn(char *prog, char *argv[]) | ^~~~~ q.c:1366:8: warning: type defaults to 'int' in declaration of 'resolve' [-Wimplicit-int] 1366 | static resolve(), init_dlls(); | ^~~~~~~ q.c:1366:19: warning: type defaults to 'int' in declaration of 'init_dlls' [-Wimplicit-int] 1366 | static resolve(), init_dlls(); | ^~~~~~~~~ q.c: In function 'dorun': q.c:1381:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1381 | chkfile(searchlib(fname, _source)) && q.c:1383:72: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1383 | chkfile(searchlib(fname, strcat(strcpy(fname2, _source), ".q"))) && q.c:1534:33: warning: unused variable 'argv0' [-Wunused-variable] 1534 | int count = 0; char *const *argv0 = argv; | ^~~~~ q.c:1595:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1595 | if (gflag) | ^ q.c:1374:45: warning: unused variable 'msg' [-Wunused-variable] 1374 | char fname[MAXSTRLEN], fname2[MAXSTRLEN], msg[MAXSTRLEN]; | ^~~ q.c: In function '__qq___qinter_mpz_floatexpr': q.c:1687:14: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 1687 | double ip, fp; | ^~ q.c: In function '__qq__getmpz_floatexpr': q.c:1757:9: warning: unused variable 'z' [-Wunused-variable] 1757 | mpz_t z; | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from q.c:26: q.c: In function '__qq___qinter_sentinel': mangle.h:213:20: warning: implicit declaration of function '__qq__qmsentinel'; did you mean '__qq__qmnew'? [-Wimplicit-function-declaration] 213 | #define qmsentinel __qq__qmsentinel | ^~~~~~~~~~~~~~~~ q.c:1782:3: note: in expansion of macro 'qmsentinel' 1782 | qmsentinel(get_thr(), x); | ^~~~~~~~~~ q.c: At top level: q.c:1847:8: warning: type defaults to 'int' in declaration of '__libq_init' [-Wimplicit-int] 1847 | extern __libq_init(); | ^~~~~~~~~~~ q.c:1849:8: warning: return type defaults to 'int' [-Wimplicit-int] 1849 | static resolve() | ^~~~~~~ q.c:1975:8: warning: return type defaults to 'int' [-Wimplicit-int] 1975 | static init_dlls() | ^~~~~~~~~ q.c:1985:8: warning: return type defaults to 'int' [-Wimplicit-int] 1985 | static unload_dlls() | ^~~~~~~~~~~ q.c:2008:8: warning: return type defaults to 'int' [-Wimplicit-int] 2008 | static gnuclient(char *sexp) | ^~~~~~~~~ q.c:2121:1: warning: return type defaults to 'int' [-Wimplicit-int] 2121 | main(int argc, char **argv) | ^~~~ q.c: In function 'main': q.c:2200:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2200 | if (chkfile(searchlib(fname, source)) && In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from q.c:26: mangle.h:5:23: warning: implicit declaration of function '__qq__acquire_input'; did you mean '__qq__acquire_tty'? [-Wimplicit-function-declaration] 5 | #define acquire_input __qq__acquire_input | ^~~~~~~~~~~~~~~~~~~ q.c:2452:5: note: in expansion of macro 'acquire_input' 2452 | acquire_input(); | ^~~~~~~~~~~~~ mangle.h:220:23: warning: implicit declaration of function '__qq__release_input'; did you mean '__qq__release_tty'? [-Wimplicit-function-declaration] 220 | #define release_input __qq__release_input | ^~~~~~~~~~~~~~~~~~~ q.c:2457:7: note: in expansion of macro 'release_input' 2457 | release_input(); | ^~~~~~~~~~~~~ q.c: In function 'unload_dlls': q.c:2004:1: warning: control reaches end of non-void function [-Wreturn-type] 2004 | } | ^ q.c: In function 'mygetline1': q.c:795:1: warning: control reaches end of non-void function [-Wreturn-type] 795 | } | ^ q.c: In function 'qcarg': q.c:993:1: warning: control reaches end of non-void function [-Wreturn-type] 993 | } | ^ q.c: In function 'set_qcarg': q.c:1005:1: warning: control reaches end of non-void function [-Wreturn-type] 1005 | } | ^ q.c: In function 'init_dlls': q.c:1983:1: warning: control reaches end of non-void function [-Wreturn-type] 1983 | } | ^ q.c: In function 'gnuclient': q.c:2016:1: warning: control reaches end of non-void function [-Wreturn-type] 2016 | } | ^ At top level: q.c:723:18: warning: 'last' defined but not used [-Wunused-variable] 723 | static char *last = NULL; | ^~~~ q.c:949:8: warning: 'wsarg' defined but not used [-Wunused-function] 949 | static wsarg(char *arg) | ^~~~~ q.c: In function '__qq__rerun': q.c:1563:19: warning: '__qq__nargs' may be used uninitialized in this function [-Wmaybe-uninitialized] 1563 | while (nargs-- > 1) In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from q.c:26: mangle.h:147:15: note: '__qq__nargs' was declared here 147 | #define nargs __qq__nargs | ^~~~~~~~~~~ q.c:1566:23: warning: 'args' may be used uninitialized in this function [-Wmaybe-uninitialized] 1566 | symtb[ARGSOP].x = args; q.c:1377:9: note: 'args' was declared here 1377 | EXPR *args, *in, *out, *err; | ^~~~ q.c: In function 'main': q.c:2158:24: warning: '%s' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2158 | sprintf(qcprog, "%s%s", prefix, "qc"); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from sys.h:58, from qbase.h:24, from qdefs.h:24, from q.c:26: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 1026 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libglobs_a-qm.o `test -f 'qm.c' || echo './'`qm.c qm.c: In function '__qq__atfork_child': qm.c:331:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 331 | if (thr->xst) free(thr->xst); thr->xst = thr->xsp = NULL; | ^~ qm.c:331:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 331 | if (thr->xst) free(thr->xst); thr->xst = thr->xsp = NULL; | ^~~ qm.c:332:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 332 | if (thr->ast) free(thr->ast); thr->ast = thr->asp = NULL; | ^~ qm.c:332:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 332 | if (thr->ast) free(thr->ast); thr->ast = thr->asp = NULL; | ^~~ qm.c:333:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 333 | if (thr->args) free(thr->args); thr->args = NULL; | ^~ qm.c:333:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 333 | if (thr->args) free(thr->args); thr->args = NULL; | ^~~ qm.c:334:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 334 | if (thr->mark) free(thr->mark); thr->mark = NULL; | ^~ qm.c:334:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 334 | if (thr->mark) free(thr->mark); thr->mark = NULL; | ^~~ qm.c:336:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 336 | if (thr->vartb) free(thr->vartb); thr->vartb = NULL; | ^~ qm.c:336:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 336 | if (thr->vartb) free(thr->vartb); thr->vartb = NULL; | ^~~ qm.c: At top level: qm.c:728:8: warning: return type defaults to 'int' [-Wimplicit-int] 728 | static initfx(int fno) | ^~~~~~ qm.c: In function 'initfx': qm.c:738:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 738 | fno < BUILTIN && funtb[fno] && nargs[fno] == 0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qm.c: In function '__qq__init': qm.c:772:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 772 | (symtb[fno].type && (symtb[symtb[fno].type].flags & VIRT) || qm.c: In function 'x_alloc': qm.c:827:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 827 | if (x = xfreep) { | ^ qm.c: In function '__qq__qmfree': qm.c:1226:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1226 | if (x->type) | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qm.c:24: mangle.h:178:14: warning: label '__qq__push' defined but not used [-Wunused-label] 178 | #define push __qq__push | ^~~~~~~~~~ qm.c:1189:7: note: in expansion of macro 'push' 1189 | push: | ^~~~ qm.c: In function '__qq__usrexpr': qm.c:1649:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1649 | if (type) | ^ qm.c: In function '__qq__consexpr': qm.c:1749:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1749 | x->red = thr->mode || x1->red || !(get_argv(x1)&1) && x2->red; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ qm.c: In function 'memexpr': qm.c:1772:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1772 | if (y->mem || !y->red || fno < RESERVED && fno != VECTOP) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ qm.c: In function '__qq__pushfun': qm.c:1996:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1996 | if (x = vectexpr(thr, n+1, xv)) { | ^ qm.c:2007:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2007 | if (x = consexpr(thr, fno, thr->xsp[-2], thr->xsp[-1])) { | ^ qm.c:2015:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2015 | if (x = funexpr(thr, fno)) { | ^ qm.c: In function 'evalb': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2228:9: note: in expansion of macro 'have_fun' 2228 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2228:9: note: in expansion of macro 'have_fun' 2228 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2239:11: note: in expansion of macro 'exec_fun' 2239 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2239:11: note: in expansion of macro 'exec_fun' 2239 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2259:14: note: in expansion of macro 'have_fun' 2259 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2259:14: note: in expansion of macro 'have_fun' 2259 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2262:11: note: in expansion of macro 'exec_fun' 2262 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2262:11: note: in expansion of macro 'exec_fun' 2262 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c:2215:27: warning: unused variable 'rc' [-Wunused-variable] 2215 | int n, *rp, rc; | ^~ qm.c:2215:23: warning: unused variable 'rp' [-Wunused-variable] 2215 | int n, *rp, rc; | ^~ qm.c: At top level: qm.c:2279:8: warning: return type defaults to 'int' [-Wimplicit-int] 2279 | static evalb_with_frame(THREAD *thr, | ^~~~~~~~~~~~~~~~ qm.c: In function 'evalb_with_frame': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2297:9: note: in expansion of macro 'have_fun' 2297 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2297:9: note: in expansion of macro 'have_fun' 2297 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2311:11: note: in expansion of macro 'exec_fun' 2311 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2311:11: note: in expansion of macro 'exec_fun' 2311 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2334:14: note: in expansion of macro 'have_fun' 2334 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2334:14: note: in expansion of macro 'have_fun' 2334 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2340:11: note: in expansion of macro 'exec_fun' 2340 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2340:11: note: in expansion of macro 'exec_fun' 2340 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c: In function 'eval_internal': qm.c:3569:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3569 | if (!x->red || !x->raw && thr->mode) | ~~~~~~~~^~~~~~~~~~~~ qm.c: In function '__qq__eval': qm.c:3655:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3655 | cstackmax > 0 && stack_dir*(&base - thr->baseptr) >= cstackmax) { qm.c: In function 'print_stacked_rule': qm.c:3868:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3868 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld qm.c: In function 'print_stack': qm.c:3890:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3890 | printf("stack size: %d\n", thr->asp-thr->ast+1); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld qm.c:3892:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3892 | printf("%3d> ", abp-thr->ast); | ~~^ ~~~~~~~~~~~~ | | | | int long int | %3ld qm.c:3898:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3898 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qm.c:24: qm.c: At top level: mangle.h:169:27: warning: type defaults to 'int' in declaration of '__qq__print_breakpoints' [-Wimplicit-int] 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qm.c:4052:8: note: in expansion of macro 'print_breakpoints' 4052 | extern print_breakpoints(); | ^~~~~~~~~~~~~~~~~ qm.c: In function 'rule': qm.c:4074:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 4074 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld qm.c:4249:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 4249 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld qm.c:4275:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 4275 | printf("heap: %d cells (%d used, %d free) out of %d\n", | ~^ | | | int | %ld 4276 | xnblks*XBLKSZ, mexprs, fexprs, memmax); | ~~~~~~ | | | long unsigned int qm.c:4275:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 4275 | printf("heap: %d cells (%d used, %d free) out of %d\n", | ~^ | | | int | %ld qm.c:4278:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 4278 | printf("heap: %d cells (%d used, %d free)\n", | ~^ | | | int | %ld 4279 | xnblks*XBLKSZ, mexprs, fexprs); | ~~~~~~ | | | long unsigned int qm.c:4278:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 4278 | printf("heap: %d cells (%d used, %d free)\n", | ~^ | | | int | %ld qm.c: At top level: qm.c:4475:1: warning: return type defaults to 'int' [-Wimplicit-int] 4475 | varcmp(v1, v2) | ^~~~~~ qm.c: In function 'listvars': qm.c:4506:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4506 | if (i > 0) | ^ qm.c: In function 'lastoffs': qm.c:4902:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4902 | if (ip->opcode == MATCHOP) | ^ qm.c: In function 'printc': qm.c:4914:17: warning: unused variable 'maxoffs' [-Wunused-variable] 4914 | int maxoffs = (fno==APPOP)?(top-xbp-2):(top-xbp); | ^~~~~~~ qm.c: In function '__qq__mksym': qm.c:5135:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5135 | if (matchsym(fno, s) && | ^ qm.c: In function '__qq__getsym': qm.c:5311:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5311 | if (matchsym(fno, s) && | ^ qm.c: In function '__qq__gettype': qm.c:5368:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5368 | if (matchtyp(type, s) && | ^ qm.c: At top level: qm.c:86:14: warning: 'x_copy' declared 'static' but never defined [-Wunused-function] 86 | static EXPR *x_copy(EXPR *x); | ^~~~~~ qm.c:87:13: warning: 'xcopy_cleanup' declared 'static' but never defined [-Wunused-function] 87 | static void xcopy_cleanup(void); | ^~~~~~~~~~~~~ qm.c: In function 'initfx': qm.c:748:1: warning: control reaches end of non-void function [-Wreturn-type] 748 | } | ^ At top level: qm.c:4588:12: warning: 'getvar' defined but not used [-Wunused-function] 4588 | static int getvar(THREAD *thr, char *name, int offs) | ^~~~~~ qm.c: In function '__qq__getsym': qm.c:5278:17: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized] 5278 | else if (impib[p] & 2) | ^ qm.c:5299:35: note: 'p1' was declared here 5299 | int fno, fno1 = NONE, p = NONE, p1; | ^~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qm.c:24: qm.c: In function 'evalu': mangle.h:50:14: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized] 50 | #define eval __qq__eval | ^~~~~~~~~~ qm.c:3134:13: note: 'h' was declared here 3134 | EXPR *h, *x; | ^ qm.c:3143:13: warning: 'xp' may be used uninitialized in this function [-Wmaybe-uninitialized] 3143 | while (thr->xsp-thr->xst > xp) qmfree(thr, *--thr->xsp); | ^ qm.c:3016:19: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized] 3016 | if (thr->mode && thr->xsp-thr->xst-1 == start) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qm.c:24: qm.c: In function 'evalf': mangle.h:50:14: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized] 50 | #define eval __qq__eval | ^~~~~~~~~~ qm.c:3428:11: note: 'h' was declared here 3428 | EXPR *h, *x = NULL; | ^ qm.c:3433:11: warning: 'xp' may be used uninitialized in this function [-Wmaybe-uninitialized] 3433 | while (thr->xsp-thr->xst > xp) qmfree(thr, *--thr->xsp); | ^ qm.c: In function '__qq__evaldef1': qm.c:3340:22: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized] 3340 | if (thr0->mode && thr0->xsp-thr0->xst-1 == start) qm.c: In function '__qq__gettype': qm.c:5278:17: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized] 5278 | else if (impib[p] & 2) | ^ qm.c:5356:37: note: 'p1' was declared here 5356 | int type, type1 = NONE, p = NONE, p1; | ^~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libglobs_a-qmcode.o `test -f 'qmcode.c' || echo './'`qmcode.c qmcode.c: In function '__qq__iscode': qmcode.c:33:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | fread(magic, sizeof(char), strlen(outid)+1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c: In function '__qq__readtables': qmcode.c:62:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | fread(outid1, sizeof(char), strlen(outid)+1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:65:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | fread(&mainno, sizeof mainno, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:66:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 66 | fread(&codespsz, sizeof codespsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:67:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | fread(&strspsz, sizeof strspsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:68:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | fread(&limbspsz, sizeof limbspsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:69:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | fread(&hashtbsz, sizeof hashtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:70:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | fread(&symtbsz, sizeof symtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:71:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | fread(&statetbsz, sizeof statetbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:72:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | fread(&transtbsz, sizeof transtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:73:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | fread(&roffstbsz, sizeof roffstbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:74:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | fread(&matchtbsz, sizeof matchtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:75:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | fread(&inittbsz, sizeof inittbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:76:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | fread(&modtbsz, sizeof modtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:77:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | fread(&imptbsz, sizeof imptbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:137:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 137 | fread(codesp, sizeof(OPREC), codespsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:138:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 138 | fread(strsp, sizeof(char), strspsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:139:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 139 | fread(limbsp, sizeof(mp_limb_t), limbspsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:140:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | fread(hashtb, sizeof(int), hashtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:141:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 141 | fread(symtb, sizeof(SYMREC), symtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:142:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 142 | fread(statetb, sizeof(STATEREC), statetbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:143:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | fread(transtb, sizeof(TRANSREC), transtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:144:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 144 | fread(roffstb, sizeof(int), roffstbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:145:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 145 | fread(matchtb, sizeof(int), matchtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:146:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | fread(inittb, sizeof(int), inittbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:147:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | fread(modtb, sizeof(int), modtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:148:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | fread(fnametb, sizeof(int), modtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:149:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 149 | fread(imports, sizeof(int), modtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:150:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 150 | fread(imptb, sizeof(int), imptbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:151:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 151 | fread(impib, sizeof(byte), imptbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libglobs_a-qmfuns.o `test -f 'qmfuns.c' || echo './'`qmfuns.c qmfuns.c: In function 'u8strpos': qmfuns.c:351:17: warning: unused variable 's0' [-Wunused-variable] 351 | char *t = s, *s0 = s; | ^~ qmfuns.c: In function 'u8encode': qmfuns.c:454:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 454 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:459:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 459 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:461:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 461 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:466:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 466 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:468:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 468 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:470:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 470 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c: At top level: qmfuns.c:878:1: warning: return type defaults to 'int' [-Wimplicit-int] 878 | xeq(THREAD *thr, EXPR *x, EXPR *y) | ^~~ qmfuns.c: In function 'xeq': qmfuns.c:904:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 904 | if (x->data.f == y->data.f || is_nan(x->data.f) && is_nan(y->data.f)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:981:1: warning: return type defaults to 'int' [-Wimplicit-int] 981 | xeqchk(THREAD *thr, EXPR *x, EXPR *y) | ^~~~~~ qmfuns.c:1002:1: warning: return type defaults to 'int' [-Wimplicit-int] 1002 | add_vtb(THREAD *thr, int fno, EXPR *x) | ^~~~~~~ qmfuns.c:1045:1: warning: return type defaults to 'int' [-Wimplicit-int] 1045 | xmatch(THREAD *thr, EXPR *x, EXPR *y, int mode, int vmode) | ^~~~~~ qmfuns.c: In function 'xmatch': qmfuns.c:1133:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1133 | return x->data.f == y->data.f || is_nan(x->data.f) && is_nan(y->data.f); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:1166:1: warning: return type defaults to 'int' [-Wimplicit-int] 1166 | qmdef(THREAD* thr) | ^~~~~ qmfuns.c:1191:1: warning: return type defaults to 'int' [-Wimplicit-int] 1191 | qmundef(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'xlpat': qmfuns.c:1285:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1285 | if (y1 = xlpat(thr, x1, env)) | ^~ qmfuns.c: In function 'cleanup': qmfuns.c:1350:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1350 | if (x != t) | ^ qmfuns.c: In function 'xlbody': qmfuns.c:1447:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1447 | if (y1 = xlbody(thr, x1, key, env)) | ^~ qmfuns.c: At top level: qmfuns.c:1532:1: warning: return type defaults to 'int' [-Wimplicit-int] 1532 | xlmatch(THREAD *thr, EXPRL **xvars, int mode, int vmode, | ^~~~~~~ qmfuns.c: In function 'xlmatch': qmfuns.c:1658:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1658 | res = x->data.f == y->data.f || is_nan(x->data.f) && is_nan(y->data.f); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ qmfuns.c: In function 'xlcppat': qmfuns.c:1793:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1793 | if (y1 = xlcppat(thr, x1, xenv)) | ^~ qmfuns.c: In function 'xlrepl': qmfuns.c:1899:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1899 | if (y1 = xlrepl(thr, x1, key, xenv)) | ^~ qmfuns.c: At top level: qmfuns.c:1945:8: warning: return type defaults to 'int' [-Wimplicit-int] 1945 | static qmlambda(THREAD* thr) | ^~~~~~~~ qmfuns.c: In function 'qmlambda': qmfuns.c:1984:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1984 | if (x) | ^ qmfuns.c: At top level: qmfuns.c:2005:8: warning: return type defaults to 'int' [-Wimplicit-int] 2005 | static qmlambda_app(THREAD* thr) | ^~~~~~~~~~~~ qmfuns.c:2114:1: warning: return type defaults to 'int' [-Wimplicit-int] 2114 | xfindvar(xxvartb_t *vtb, int vno) | ^~~~~~~~ qmfuns.c: In function 'xclosview': qmfuns.c:2179:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2179 | if (y1 = consexpr(thr, APPOP, f, y1)) | ^~ qmfuns.c:2200:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2200 | if (y1 = xclosview(thr, x1, vtb, env)) | ^~ qmfuns.c: At top level: qmfuns.c:2246:8: warning: return type defaults to 'int' [-Wimplicit-int] 2246 | static qmview(THREAD *thr) | ^~~~~~ qmfuns.c:2271:1: warning: return type defaults to 'int' [-Wimplicit-int] 2271 | strconcat(THREAD *thr, char *s1, char *s2) | ^~~~~~~~~ qmfuns.c:2285:1: warning: return type defaults to 'int' [-Wimplicit-int] 2285 | listconcat(THREAD *thr, EXPR *x1, EXPR *x2) | ^~~~~~~~~~ qmfuns.c:2310:1: warning: return type defaults to 'int' [-Wimplicit-int] 2310 | vectconcat(THREAD *thr, int n1, EXPR **xv1, int n2, EXPR **xv2) | ^~~~~~~~~~ qmfuns.c: In function 'vectconcat': qmfuns.c:2315:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2315 | if (n1 >= INT_MAX - n2 || n1+n2>0 && (xv = malloc((n1+n2)*sizeof(EXPR*))) | ^ qmfuns.c: At top level: qmfuns.c:2330:1: warning: return type defaults to 'int' [-Wimplicit-int] 2330 | tupleconcat(THREAD *thr, EXPR *x1, EXPR *x2) | ^~~~~~~~~~~ qmfuns.c:2366:8: warning: return type defaults to 'int' [-Wimplicit-int] 2366 | static qmconcat(THREAD* thr) | ^~~~~~~~ qmfuns.c:2440:8: warning: return type defaults to 'int' [-Wimplicit-int] 2440 | static qmadd(THREAD* thr) | ^~~~~ qmfuns.c:2506:8: warning: return type defaults to 'int' [-Wimplicit-int] 2506 | static qmmin(THREAD* thr) | ^~~~~ qmfuns.c:2583:8: warning: return type defaults to 'int' [-Wimplicit-int] 2583 | static qmmul(THREAD* thr) | ^~~~~ qmfuns.c:2617:8: warning: return type defaults to 'int' [-Wimplicit-int] 2617 | static qmfdiv(THREAD* thr) | ^~~~~~ qmfuns.c:2649:8: warning: return type defaults to 'int' [-Wimplicit-int] 2649 | static qmdiv(THREAD* thr) | ^~~~~ qmfuns.c:2662:8: warning: return type defaults to 'int' [-Wimplicit-int] 2662 | static qmmod(THREAD* thr) | ^~~~~ qmfuns.c:2674:8: warning: return type defaults to 'int' [-Wimplicit-int] 2674 | static qmpow(THREAD* thr) | ^~~~~ qmfuns.c: In function 'qmpow': qmfuns.c:2691:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2690 | (mpz_sgn(args[0]->data.z) >= 0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2691 | modf(args[1]->data.f, &ip) == 0.0) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 2692 | (mpz_sgn(args[0]->data.z) != 0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2693 | args[1]->data.f != 0.0)) | ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c:2715:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2714 | (args[0]->data.f >= 0.0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 2715 | modf(args[1]->data.f, &ip) == 0.0) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 2716 | (args[0]->data.f != 0.0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 2717 | args[1]->data.f != 0.0)) | ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:2735:8: warning: return type defaults to 'int' [-Wimplicit-int] 2735 | static qmidx(THREAD* thr) | ^~~~~ qmfuns.c:2793:8: warning: return type defaults to 'int' [-Wimplicit-int] 2793 | static qmcomp(THREAD* thr) | ^~~~~~ qmfuns.c:2808:8: warning: return type defaults to 'int' [-Wimplicit-int] 2808 | static qmumin(THREAD* thr) | ^~~~~~ qmfuns.c:2821:8: warning: return type defaults to 'int' [-Wimplicit-int] 2821 | static qmhash(THREAD* thr) | ^~~~~~ qmfuns.c:2861:8: warning: return type defaults to 'int' [-Wimplicit-int] 2861 | static qmunquote(THREAD* thr) | ^~~~~~~~~ qmfuns.c:2882:8: warning: return type defaults to 'int' [-Wimplicit-int] 2882 | static qmforce(THREAD* thr) | ^~~~~~~ qmfuns.c:2888:8: warning: return type defaults to 'int' [-Wimplicit-int] 2888 | static qmmem(THREAD* thr) | ^~~~~ qmfuns.c:2896:8: warning: return type defaults to 'int' [-Wimplicit-int] 2896 | static qmor(THREAD* thr) | ^~~~ qmfuns.c:2914:8: warning: return type defaults to 'int' [-Wimplicit-int] 2914 | static qmorelse(THREAD* thr) | ^~~~~~~~ qmfuns.c:2926:8: warning: return type defaults to 'int' [-Wimplicit-int] 2926 | static qmand(THREAD* thr) | ^~~~~ qmfuns.c:2944:8: warning: return type defaults to 'int' [-Wimplicit-int] 2944 | static qmandthen(THREAD* thr) | ^~~~~~~~~ qmfuns.c:2956:8: warning: return type defaults to 'int' [-Wimplicit-int] 2956 | static qmnot(THREAD* thr) | ^~~~~ qmfuns.c:2972:1: warning: return type defaults to 'int' [-Wimplicit-int] 2972 | xcmp(EXPR *x, EXPR *y, int *result) | ^~~~ qmfuns.c:3041:8: warning: return type defaults to 'int' [-Wimplicit-int] 3041 | static qmle(THREAD* thr) | ^~~~ qmfuns.c:3057:8: warning: return type defaults to 'int' [-Wimplicit-int] 3057 | static qmgr(THREAD* thr) | ^~~~ qmfuns.c:3073:8: warning: return type defaults to 'int' [-Wimplicit-int] 3073 | static qmeq(THREAD* thr) | ^~~~ qmfuns.c:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] 3089 | static qmleq(THREAD* thr) | ^~~~~ qmfuns.c:3105:8: warning: return type defaults to 'int' [-Wimplicit-int] 3105 | static qmgeq(THREAD* thr) | ^~~~~ qmfuns.c:3121:8: warning: return type defaults to 'int' [-Wimplicit-int] 3121 | static qmneq(THREAD* thr) | ^~~~~ qmfuns.c:3137:8: warning: return type defaults to 'int' [-Wimplicit-int] 3137 | static qmid(THREAD* thr) | ^~~~ qmfuns.c:3146:8: warning: return type defaults to 'int' [-Wimplicit-int] 3146 | static qmrapp(THREAD* thr) | ^~~~~~ qmfuns.c:3161:8: warning: return type defaults to 'int' [-Wimplicit-int] 3161 | static qmseq(THREAD* thr) | ^~~~~ qmfuns.c:3167:8: warning: return type defaults to 'int' [-Wimplicit-int] 3167 | static shl(THREAD *thr, mpz_t z, int i) | ^~~ qmfuns.c:3199:8: warning: return type defaults to 'int' [-Wimplicit-int] 3199 | static shr(THREAD *thr, mpz_t z, int i) | ^~~ qmfuns.c:3224:8: warning: return type defaults to 'int' [-Wimplicit-int] 3224 | static qmshl(THREAD* thr) | ^~~~~ qmfuns.c:3251:8: warning: return type defaults to 'int' [-Wimplicit-int] 3251 | static qmshr(THREAD* thr) | ^~~~~ qmfuns.c:3278:8: warning: return type defaults to 'int' [-Wimplicit-int] 3278 | static qmpred(THREAD* thr) | ^~~~~~ qmfuns.c:3303:8: warning: return type defaults to 'int' [-Wimplicit-int] 3303 | static qmsucc(THREAD* thr) | ^~~~~~ qmfuns.c:3328:8: warning: return type defaults to 'int' [-Wimplicit-int] 3328 | static qmenum(THREAD* thr) | ^~~~~~ qmfuns.c:3487:8: warning: return type defaults to 'int' [-Wimplicit-int] 3487 | static qmenum1(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmenum1': qmfuns.c:3511:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3511 | n > 1 && t0 != t1) | ~~~~~~^~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:3541:8: warning: return type defaults to 'int' [-Wimplicit-int] 3541 | static qmexp(THREAD* thr) | ^~~~~ qmfuns.c:3554:8: warning: return type defaults to 'int' [-Wimplicit-int] 3554 | static qmln(THREAD* thr) | ^~~~ qmfuns.c:3574:8: warning: return type defaults to 'int' [-Wimplicit-int] 3574 | static qmsqrt(THREAD* thr) | ^~~~~~ qmfuns.c:3593:8: warning: return type defaults to 'int' [-Wimplicit-int] 3593 | static qmsin(THREAD* thr) | ^~~~~ qmfuns.c:3606:8: warning: return type defaults to 'int' [-Wimplicit-int] 3606 | static qmcos(THREAD* thr) | ^~~~~ qmfuns.c:3619:8: warning: return type defaults to 'int' [-Wimplicit-int] 3619 | static qmatan(THREAD* thr) | ^~~~~~ qmfuns.c:3632:8: warning: return type defaults to 'int' [-Wimplicit-int] 3632 | static qmatan2(THREAD* thr) | ^~~~~~~ qmfuns.c:3663:8: warning: return type defaults to 'int' [-Wimplicit-int] 3663 | static qmrandom(THREAD* thr) | ^~~~~~~~ qmfuns.c: In function 'qmrandom': qmfuns.c:3665:10: warning: unused variable 'args' [-Wunused-variable] 3665 | EXPR **args = thr->args; | ^~~~ qmfuns.c: At top level: qmfuns.c:3677:8: warning: return type defaults to 'int' [-Wimplicit-int] 3677 | static qmseed(THREAD* thr) | ^~~~~~ qmfuns.c:3687:8: warning: return type defaults to 'int' [-Wimplicit-int] 3687 | static qmsub(THREAD* thr) | ^~~~~ qmfuns.c: In function 'qmsub': qmfuns.c:3695:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3695 | if (i < 0) i = 0; c = j-i+1; | ^~ qmfuns.c:3695:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3695 | if (i < 0) i = 0; c = j-i+1; | ^ qmfuns.c: At top level: qmfuns.c:3803:8: warning: return type defaults to 'int' [-Wimplicit-int] 3803 | static qmsubstr(THREAD* thr) | ^~~~~~~~ qmfuns.c:3852:8: warning: return type defaults to 'int' [-Wimplicit-int] 3852 | static qmpos(THREAD* thr) | ^~~~~ qmfuns.c:3872:8: warning: return type defaults to 'int' [-Wimplicit-int] 3872 | static qmint(THREAD* thr) | ^~~~~ qmfuns.c: In function 'qmint': qmfuns.c:3876:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 3876 | double ip, fp; | ^~ qmfuns.c: At top level: qmfuns.c:3885:8: warning: return type defaults to 'int' [-Wimplicit-int] 3885 | static qmfrac(THREAD* thr) | ^~~~~~ qmfuns.c:3898:8: warning: return type defaults to 'int' [-Wimplicit-int] 3898 | static qmtrunc(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmtrunc': qmfuns.c:3902:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 3902 | double ip, fp, dsz; | ^~ qmfuns.c: At top level: qmfuns.c:3919:8: warning: return type defaults to 'int' [-Wimplicit-int] 3919 | static qmround(THREAD* thr) | ^~~~~~~ qmfuns.c:3938:8: warning: return type defaults to 'int' [-Wimplicit-int] 3938 | static qmfloat(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'ptr_hash': qmfuns.c:3988:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3988 | return (unsigned)p; | ^ qmfuns.c: At top level: qmfuns.c:4025:8: warning: return type defaults to 'int' [-Wimplicit-int] 4025 | static qmhashnum(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4031:8: warning: return type defaults to 'int' [-Wimplicit-int] 4031 | static qmord(THREAD* thr) | ^~~~~ qmfuns.c:4046:8: warning: return type defaults to 'int' [-Wimplicit-int] 4046 | static qmchr(THREAD* thr) | ^~~~~ qmfuns.c:4073:8: warning: return type defaults to 'int' [-Wimplicit-int] 4073 | static qmlist(THREAD* thr) | ^~~~~~ qmfuns.c:4092:8: warning: return type defaults to 'int' [-Wimplicit-int] 4092 | static qmtuple(THREAD* thr) | ^~~~~~~ qmfuns.c:4114:8: warning: return type defaults to 'int' [-Wimplicit-int] 4114 | static qmstr(THREAD* thr) | ^~~~~ qmfuns.c:4125:8: warning: return type defaults to 'int' [-Wimplicit-int] 4125 | static qmval(THREAD* thr) | ^~~~~ qmfuns.c:4145:8: warning: return type defaults to 'int' [-Wimplicit-int] 4145 | static qmstrq(THREAD* thr) | ^~~~~~ qmfuns.c:4160:8: warning: return type defaults to 'int' [-Wimplicit-int] 4160 | static qmvalq(THREAD* thr) | ^~~~~~ qmfuns.c:4181:8: warning: return type defaults to 'int' [-Wimplicit-int] 4181 | static qmisspecial(THREAD* thr) | ^~~~~~~~~~~ qmfuns.c:4192:8: warning: return type defaults to 'int' [-Wimplicit-int] 4192 | static qmisconst(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4203:8: warning: return type defaults to 'int' [-Wimplicit-int] 4203 | static qmisfun(THREAD* thr) | ^~~~~~~ qmfuns.c:4212:8: warning: return type defaults to 'int' [-Wimplicit-int] 4212 | static qmisvar(THREAD* thr) | ^~~~~~~ qmfuns.c:4221:8: warning: return type defaults to 'int' [-Wimplicit-int] 4221 | static qmisdef(THREAD* thr) | ^~~~~~~ qmfuns.c:4230:8: warning: return type defaults to 'int' [-Wimplicit-int] 4230 | static qmflip(THREAD* thr) | ^~~~~~ qmfuns.c:4246:8: warning: type defaults to 'int' in declaration of 'qmfread' [-Wimplicit-int] 4246 | static qmfread(THREAD* thr); | ^~~~~~~ qmfuns.c:4248:8: warning: return type defaults to 'int' [-Wimplicit-int] 4248 | static qmread(THREAD* thr) | ^~~~~~ qmfuns.c:4258:8: warning: type defaults to 'int' in declaration of 'qmfreadq' [-Wimplicit-int] 4258 | static qmfreadq(THREAD* thr); | ^~~~~~~~ qmfuns.c:4260:8: warning: return type defaults to 'int' [-Wimplicit-int] 4260 | static qmreadq(THREAD* thr) | ^~~~~~~ qmfuns.c:4270:8: warning: type defaults to 'int' in declaration of 'qmfreadc' [-Wimplicit-int] 4270 | static qmfreadc(THREAD* thr); | ^~~~~~~~ qmfuns.c:4272:8: warning: return type defaults to 'int' [-Wimplicit-int] 4272 | static qmreadc(THREAD* thr) | ^~~~~~~ qmfuns.c:4282:8: warning: type defaults to 'int' in declaration of 'qmfreads' [-Wimplicit-int] 4282 | static qmfreads(THREAD* thr); | ^~~~~~~~ qmfuns.c:4284:8: warning: return type defaults to 'int' [-Wimplicit-int] 4284 | static qmreads(THREAD* thr) | ^~~~~~~ qmfuns.c:4294:8: warning: type defaults to 'int' in declaration of 'qmfwrite' [-Wimplicit-int] 4294 | static qmfwrite(THREAD* thr); | ^~~~~~~~ qmfuns.c:4296:8: warning: return type defaults to 'int' [-Wimplicit-int] 4296 | static qmwrite(THREAD* thr) | ^~~~~~~ qmfuns.c:4307:8: warning: type defaults to 'int' in declaration of 'qmfwriteq' [-Wimplicit-int] 4307 | static qmfwriteq(THREAD* thr); | ^~~~~~~~~ qmfuns.c:4309:8: warning: return type defaults to 'int' [-Wimplicit-int] 4309 | static qmwriteq(THREAD* thr) | ^~~~~~~~ qmfuns.c:4320:8: warning: type defaults to 'int' in declaration of 'qmfwritec' [-Wimplicit-int] 4320 | static qmfwritec(THREAD* thr); | ^~~~~~~~~ qmfuns.c:4322:8: warning: return type defaults to 'int' [-Wimplicit-int] 4322 | static qmwritec(THREAD* thr) | ^~~~~~~~ qmfuns.c:4333:8: warning: type defaults to 'int' in declaration of 'qmfwrites' [-Wimplicit-int] 4333 | static qmfwrites(THREAD* thr); | ^~~~~~~~~ qmfuns.c:4335:8: warning: return type defaults to 'int' [-Wimplicit-int] 4335 | static qmwrites(THREAD* thr) | ^~~~~~~~ qmfuns.c:4346:8: warning: return type defaults to 'int' [-Wimplicit-int] 4346 | static qmfread(THREAD* thr) | ^~~~~~~ qmfuns.c:4378:8: warning: return type defaults to 'int' [-Wimplicit-int] 4378 | static qmfreadq(THREAD* thr) | ^~~~~~~~ qmfuns.c:4414:8: warning: return type defaults to 'int' [-Wimplicit-int] 4414 | static qmfreadc(THREAD* thr) | ^~~~~~~~ qmfuns.c:4473:8: warning: return type defaults to 'int' [-Wimplicit-int] 4473 | static qmfreads(THREAD* thr) | ^~~~~~~~ qmfuns.c: In function 'qmfreads': qmfuns.c:4498:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4498 | if (s1 = (char*) arealloc(s, a, MAXSTRLEN, | ^~ qmfuns.c:4530:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4530 | if (!r && !*s || thr == thr0 && checkbrk) { | ~~~^~~~~~ qmfuns.c: At top level: qmfuns.c:4568:8: warning: return type defaults to 'int' [-Wimplicit-int] 4568 | static qmfwrite(THREAD* thr) | ^~~~~~~~ qmfuns.c:4591:8: warning: return type defaults to 'int' [-Wimplicit-int] 4591 | static qmfwriteq(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4615:8: warning: return type defaults to 'int' [-Wimplicit-int] 4615 | static qmfwritec(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4649:8: warning: return type defaults to 'int' [-Wimplicit-int] 4649 | static qmfwrites(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4685:8: warning: return type defaults to 'int' [-Wimplicit-int] 4685 | static qmfopen(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmfopen': qmfuns.c:4694:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4694 | (mode[1] == '\0' || mode[1] == 'b' && mode[2] == '\0')) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:4722:8: warning: return type defaults to 'int' [-Wimplicit-int] 4722 | static qmpopen(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmpopen': qmfuns.c:4731:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4731 | (mode[1] == '\0' || mode[1] == 'b' && mode[2] == '\0')) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qmfuns.c:4752:2: warning: implicit declaration of function 'setlinebuf'; did you mean 'setvbuf'? [-Wimplicit-function-declaration] 4752 | setlinebuf(fp); | ^~~~~~~~~~ | setvbuf qmfuns.c: At top level: qmfuns.c:4761:8: warning: return type defaults to 'int' [-Wimplicit-int] 4761 | static qmfclose(THREAD* thr) | ^~~~~~~~ qmfuns.c:4796:8: warning: type defaults to 'int' in declaration of 'qmfeof' [-Wimplicit-int] 4796 | static qmfeof(THREAD* thr); | ^~~~~~ qmfuns.c:4798:8: warning: return type defaults to 'int' [-Wimplicit-int] 4798 | static qmeof(THREAD* thr) | ^~~~~ qmfuns.c:4808:8: warning: return type defaults to 'int' [-Wimplicit-int] 4808 | static qmfeof(THREAD* thr) | ^~~~~~ qmfuns.c:4847:8: warning: type defaults to 'int' in declaration of 'qmfflush' [-Wimplicit-int] 4847 | static qmfflush(THREAD* thr); | ^~~~~~~~ qmfuns.c:4849:8: warning: return type defaults to 'int' [-Wimplicit-int] 4849 | static qmflush(THREAD* thr) | ^~~~~~~ qmfuns.c:4859:8: warning: return type defaults to 'int' [-Wimplicit-int] 4859 | static qmfflush(THREAD* thr) | ^~~~~~~~ qmfuns.c:4874:8: warning: return type defaults to 'int' [-Wimplicit-int] 4874 | static qmversion(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4879:8: warning: return type defaults to 'int' [-Wimplicit-int] 4879 | static qmsysinfo(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4884:8: warning: return type defaults to 'int' [-Wimplicit-int] 4884 | static qmwhich(THREAD* thr) | ^~~~~~~ qmfuns.c:4931:8: warning: return type defaults to 'int' [-Wimplicit-int] 4931 | static qmhalt(THREAD* thr) | ^~~~~~ qmfuns.c:4937:8: warning: return type defaults to 'int' [-Wimplicit-int] 4937 | static qmquit(THREAD* thr) | ^~~~~~ qmfuns.c:4943:8: warning: return type defaults to 'int' [-Wimplicit-int] 4943 | static qmbreak(THREAD* thr) | ^~~~~~~ qmfuns.c:4949:8: warning: return type defaults to 'int' [-Wimplicit-int] 4949 | static qmcatch(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmcatch': qmfuns.c:4957:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4957 | } else if (thr == thr0 && checkbrk || qmfuns.c: At top level: qmfuns.c:4977:8: warning: return type defaults to 'int' [-Wimplicit-int] 4977 | static qmthrow(THREAD* thr) | ^~~~~~~ qmfuns.c:4992:8: warning: return type defaults to 'int' [-Wimplicit-int] 4992 | static qmtrap(THREAD* thr) | ^~~~~~ qmfuns.c:5085:8: warning: return type defaults to 'int' [-Wimplicit-int] 5085 | static qmfail(THREAD* thr) | ^~~~~~ qmfuns.c:5091:8: warning: return type defaults to 'int' [-Wimplicit-int] 5091 | static qmfail2(THREAD* thr) | ^~~~~~~ qmfuns.c:5097:8: warning: return type defaults to 'int' [-Wimplicit-int] 5097 | static qmtime(THREAD* thr) | ^~~~~~ qmfuns.c:5102:8: warning: return type defaults to 'int' [-Wimplicit-int] 5102 | static qmsleep(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmenum': qmfuns.c:3460:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] 3460 | inc = x1-x0; | ~~~~^~~~~~~ qmfuns.c:3475:5: warning: 'x0' may be used uninitialized in this function [-Wmaybe-uninitialized] 3475 | x0 += inc; | ~~~^~~~~~ qmfuns.c:3352:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] 3352 | inc = x1-x0; | ~~~~^~~~~~~ qmfuns.c:3333:10: warning: 'x0' may be used uninitialized in this function [-Wmaybe-uninitialized] 3333 | long x0, x1, x2 = u8decode(args[1]->data.s); | ^~ qmfuns.c: In function 'qmfreadc': qmfuns.c:4448:13: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] 4448 | while (c != '\n' && c != EOF) | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libglobs_a-qmmatch.o `test -f 'qmmatch.c' || echo './'`qmmatch.c qmmatch.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] 39 | nextstate(int s, int type, int fno) | ^~~~~~~~~ qmmatch.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] 83 | defaultstate(int s, int type) | ^~~~~~~~~~~~ qmmatch.c: In function 'defaultstate': qmmatch.c:85:29: warning: unused variable 'left' [-Wunused-variable] 85 | int k = statetb[s].trans, left = k, right = k+statetb[s].ntrans; | ^~~~ qmmatch.c: At top level: qmmatch.c:103:1: warning: return type defaults to 'int' [-Wimplicit-int] 103 | nondefault(int s) | ^~~~~~~~~~ qmmatch.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] 115 | typedtrans(int s, int type) | ^~~~~~~~~~ qmmatch.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] 130 | virtual(int s, int type) | ^~~~~~~ qmmatch.c:212:1: warning: return type defaults to 'int' [-Wimplicit-int] 212 | matchx(THREAD *thr, int s, int mode, int vmode, EXPR *x, EXPR **y) | ^~~~~~ qmmatch.c: In function 'matchx': qmmatch.c:297:47: warning: value computed is not used [-Wunused-value] 297 | (s = matchx(thr, s1, mode, 0, x1, &y1)) && | ^~ qmmatch.c:318:53: warning: value computed is not used [-Wunused-value] 318 | (s = matchx(thr, s1, modes.left, 0, x1, &y1)) && | ^~ qmmatch.c:364:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 364 | if (yv) | ^ qmmatch.c: In function '__qq__match': qmmatch.c:416:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 416 | nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:431:47: warning: value computed is not used [-Wunused-value] 431 | (s = matchx(thr, s, 1, 0, x[0], &x[0])) && | ^~ qmmatch.c:458:56: warning: value computed is not used [-Wunused-value] 458 | (s = matchx(thr, s, modes.left, 0, x[0], &x[0])) && | ^~ qmmatch.c: In function '__qq__matchtype': qmmatch.c:525:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 525 | nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:530:32: warning: value computed is not used [-Wunused-value] 530 | (s = nextstate(s, 0, fno)) && (s = typedtrans(s, type)); | ^~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libglobs_a-qmprint.o `test -f 'qmprint.c' || echo './'`qmprint.c qmprint.c:207:15: warning: return type defaults to 'int' [-Wimplicit-int] 207 | static inline checktmpbuf(void) | ^~~~~~~~~~~ qmprint.c:217:15: warning: return type defaults to 'int' [-Wimplicit-int] 217 | static inline writetmpbuf(char *s) | ^~~~~~~~~~~ qmprint.c:238:15: warning: return type defaults to 'int' [-Wimplicit-int] 238 | static inline checklastsym(char *s) | ^~~~~~~~~~~~ qmprint.c:246:15: warning: return type defaults to 'int' [-Wimplicit-int] 246 | static inline checkmarksym(void) | ^~~~~~~~~~~~ qmprint.c:253:15: warning: return type defaults to 'int' [-Wimplicit-int] 253 | static inline marksym(int flag) | ^~~~~~~ qmprint.c:261:8: warning: return type defaults to 'int' [-Wimplicit-int] 261 | static sputstr1(char *s) | ^~~~~~~~ qmprint.c: In function 'sputstr1': qmprint.c:268:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 268 | if (bufp1 = (char*) arealloc(bufp, abufleng, MAXSTRLEN, | ^~~~~ qmprint.c: At top level: qmprint.c:282:15: warning: return type defaults to 'int' [-Wimplicit-int] 282 | static inline sputstr(char *s) | ^~~~~~~ qmprint.c:358:8: warning: return type defaults to 'int' [-Wimplicit-int] 358 | static fputstr1(char *s) | ^~~~~~~~ qmprint.c:379:15: warning: return type defaults to 'int' [-Wimplicit-int] 379 | static inline fputstr(char *s) | ^~~~~~~ qmprint.c:454:8: warning: return type defaults to 'int' [-Wimplicit-int] 454 | static opprec(int fno) | ^~~~~~ qmprint.c:511:15: warning: return type defaults to 'int' [-Wimplicit-int] 511 | static inline islsect(EXPR *x) | ^~~~~~~ qmprint.c:518:15: warning: return type defaults to 'int' [-Wimplicit-int] 518 | static inline isrsect(EXPR *x) | ^~~~~~~ qmprint.c:528:15: warning: return type defaults to 'int' [-Wimplicit-int] 528 | static inline isenum(EXPR *x) | ^~~~~~ qmprint.c:542:15: warning: return type defaults to 'int' [-Wimplicit-int] 542 | static inline isenum1(EXPR *x) | ^~~~~~~ qmprint.c:555:15: warning: return type defaults to 'int' [-Wimplicit-int] 555 | static inline issenum(EXPR *x) | ^~~~~~~ qmprint.c:569:15: warning: return type defaults to 'int' [-Wimplicit-int] 569 | static inline issenum1(EXPR *x) | ^~~~~~~~ qmprint.c:582:15: warning: return type defaults to 'int' [-Wimplicit-int] 582 | static inline istenum(EXPR *x) | ^~~~~~~ qmprint.c:596:15: warning: return type defaults to 'int' [-Wimplicit-int] 596 | static inline istenum1(EXPR *x) | ^~~~~~~~ qmprint.c:609:15: warning: return type defaults to 'int' [-Wimplicit-int] 609 | static inline isstream(EXPR *x) | ^~~~~~~~ qmprint.c: In function 'isstream': qmprint.c:612:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 612 | x->fno == APPOP && x->data.args.x1->fno == APPOP && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 613 | x->data.args.x1->data.args.x1->fno == SCONSOP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmprint.c: At top level: qmprint.c:616:15: warning: return type defaults to 'int' [-Wimplicit-int] 616 | static inline isscons(EXPR *x, EXPR **y, EXPR **z) | ^~~~~~~ qmprint.c:627:15: warning: return type defaults to 'int' [-Wimplicit-int] 627 | static inline islistof(EXPR *x) | ^~~~~~~~ qmprint.c:636:15: warning: return type defaults to 'int' [-Wimplicit-int] 636 | static inline istupleof(EXPR *x) | ^~~~~~~~~ qmprint.c:645:15: warning: return type defaults to 'int' [-Wimplicit-int] 645 | static inline isstreamof(EXPR *x) | ^~~~~~~~~~ qmprint.c:654:15: warning: return type defaults to 'int' [-Wimplicit-int] 654 | static inline islambda(EXPR *x) | ^~~~~~~~ qmprint.c:660:15: warning: return type defaults to 'int' [-Wimplicit-int] 660 | static inline isifelse(EXPR *x) | ^~~~~~~~ qmprint.c:669:15: warning: return type defaults to 'int' [-Wimplicit-int] 669 | static inline iswhen(EXPR *x) | ^~~~~~ qmprint.c:733:8: warning: return type defaults to 'int' [-Wimplicit-int] 733 | static exprprec(THREAD *thr, EXPR *x) | ^~~~~~~~ qmprint.c:776:8: warning: type defaults to 'int' in declaration of 'print' [-Wimplicit-int] 776 | static print(THREAD *thr, int level, EXPR *x); | ^~~~~ qmprint.c:778:15: warning: return type defaults to 'int' [-Wimplicit-int] 778 | static inline printparen(THREAD *thr, int level, EXPR *x) | ^~~~~~~~~~ qmprint.c:783:8: warning: return type defaults to 'int' [-Wimplicit-int] 783 | static printlprec(THREAD *thr, int level, int fno, EXPR *x) | ^~~~~~~~~~ qmprint.c:794:8: warning: return type defaults to 'int' [-Wimplicit-int] 794 | static printrprec(THREAD *thr, int level, int fno, EXPR *x) | ^~~~~~~~~~ qmprint.c:805:8: warning: return type defaults to 'int' [-Wimplicit-int] 805 | static print1(THREAD *thr, int level, int fno, EXPR *x) | ^~~~~~ qmprint.c:811:8: warning: return type defaults to 'int' [-Wimplicit-int] 811 | static print2l(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~~ qmprint.c:819:8: warning: return type defaults to 'int' [-Wimplicit-int] 819 | static print2r(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~~ qmprint.c:827:8: warning: return type defaults to 'int' [-Wimplicit-int] 827 | static print2n(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~~ qmprint.c:835:8: warning: return type defaults to 'int' [-Wimplicit-int] 835 | static print2(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~ qmprint.c:959:8: warning: return type defaults to 'int' [-Wimplicit-int] 959 | static print(THREAD *thr, int level, EXPR *x) | ^~~~~ qmprint.c:1412:15: warning: return type defaults to 'int' [-Wimplicit-int] 1412 | static inline printchk(THREAD *thr, int level, EXPR *x) | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libglobs_a-qmparse.o `test -f 'qmparse.c' || echo './'`qmparse.c qmparse.y:70:8: warning: type defaults to 'int' in declaration of 'swap' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~ qmparse.y:70:16: warning: type defaults to 'int' in declaration of 'pushtern' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~~~~~ qmparse.y:70:28: warning: type defaults to 'int' in declaration of 'pushbin' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~~~~ qmparse.y:70:39: warning: type defaults to 'int' in declaration of 'pushun' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~~~ qmparse.y:71:3: warning: type defaults to 'int' in declaration of 'pushlist' [-Wimplicit-int] 71 | pushlist(int n, int m), pushstream(int n, int m), pushtuple(int n, int m), | ^~~~~~~~ qmparse.y:71:27: warning: type defaults to 'int' in declaration of 'pushstream' [-Wimplicit-int] 71 | pushlist(int n, int m), pushstream(int n, int m), pushtuple(int n, int m), | ^~~~~~~~~~ qmparse.y:71:53: warning: type defaults to 'int' in declaration of 'pushtuple' [-Wimplicit-int] 71 | pushlist(int n, int m), pushstream(int n, int m), pushtuple(int n, int m), | ^~~~~~~~~ qmparse.y:72:3: warning: type defaults to 'int' in declaration of 'pushgroup' [-Wimplicit-int] 72 | pushgroup(int *n, int *m), | ^~~~~~~~~ qmparse.y:73:3: warning: type defaults to 'int' in declaration of 'savepos' [-Wimplicit-int] 73 | savepos(), clean(); | ^~~~~~~ qmparse.y:73:14: warning: type defaults to 'int' in declaration of 'clean' [-Wimplicit-int] 73 | savepos(), clean(); | ^~~~~ qmparse.y:74:8: warning: type defaults to 'int' in declaration of 'init_stats' [-Wimplicit-int] 74 | static init_stats(), fini_stats(), print_stats(); | ^~~~~~~~~~ qmparse.y:74:22: warning: type defaults to 'int' in declaration of 'fini_stats' [-Wimplicit-int] 74 | static init_stats(), fini_stats(), print_stats(); | ^~~~~~~~~~ qmparse.y:74:36: warning: type defaults to 'int' in declaration of 'print_stats' [-Wimplicit-int] 74 | static init_stats(), fini_stats(), print_stats(); | ^~~~~~~~~~~ qmparse.y:75:8: warning: type defaults to 'int' in declaration of 'copyright' [-Wimplicit-int] 75 | static copyright(), shell(), expression(), | ^~~~~~~~~ qmparse.y:75:21: warning: type defaults to 'int' in declaration of 'shell' [-Wimplicit-int] 75 | static copyright(), shell(), expression(), | ^~~~~ qmparse.y:75:30: warning: type defaults to 'int' in declaration of 'expression' [-Wimplicit-int] 75 | static copyright(), shell(), expression(), | ^~~~~~~~~~ qmparse.y:76:3: warning: type defaults to 'int' in declaration of 'vardecl' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~ qmparse.y:76:14: warning: type defaults to 'int' in declaration of 'initializer' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~~~~~ qmparse.y:76:29: warning: type defaults to 'int' in declaration of 'assignment' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~~~~ qmparse.y:76:43: warning: type defaults to 'int' in declaration of 'unassignment' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~~~~~~ qmparse.y:77:3: warning: type defaults to 'int' in declaration of 'sethistfile' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~~~ qmparse.y:77:18: warning: type defaults to 'int' in declaration of 'sethistsize' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~~~ qmparse.y:77:33: warning: type defaults to 'int' in declaration of 'help' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~ qmparse.y:77:41: warning: type defaults to 'int' in declaration of 'edit' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~ qmparse.y:77:49: warning: type defaults to 'int' in declaration of 'save_vars' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~ qmparse.y:77:62: warning: type defaults to 'int' in declaration of 'clear_vars' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~~ qmparse.y:78:3: warning: type defaults to 'int' in declaration of 'add_import' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~ qmparse.y:78:17: warning: type defaults to 'int' in declaration of 'del_import' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~ qmparse.y:78:31: warning: type defaults to 'int' in declaration of 'clear_imports' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~~~~ qmparse.y:78:48: warning: type defaults to 'int' in declaration of 'breakpoints' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~~ qmparse.y:78:63: warning: type defaults to 'int' in declaration of 'profile' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~ qmparse.y:79:3: warning: type defaults to 'int' in declaration of 'who' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~ qmparse.y:79:10: warning: type defaults to 'int' in declaration of 'whos' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~ qmparse.y:79:18: warning: type defaults to 'int' in declaration of 'whois' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~ qmparse.y:79:27: warning: type defaults to 'int' in declaration of 'ambiguous' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~~~~~ qmparse.y:79:40: warning: type defaults to 'int' in declaration of 'import_list' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~~~~~~~ qmparse.y:79:55: warning: type defaults to 'int' in declaration of 'modules' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~~~ qmparse.y:80:8: warning: type defaults to 'int' in declaration of 'strparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~ qmparse.y:80:20: warning: type defaults to 'int' in declaration of 'intparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~ qmparse.y:80:32: warning: type defaults to 'int' in declaration of 'boolparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~~ qmparse.y:80:45: warning: type defaults to 'int' in declaration of 'boolstrparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~~~~~ qmparse.y:80:61: warning: type defaults to 'int' in declaration of 'allparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~ qmparse.y:81:3: warning: type defaults to 'int' in declaration of 'strlist' [-Wimplicit-int] 81 | strlist(), printstr(); | ^~~~~~~ qmparse.y:81:14: warning: type defaults to 'int' in declaration of 'printstr' [-Wimplicit-int] 81 | strlist(), printstr(); | ^~~~~~~~ qmparse.c: In function 'yyparse': qmparse.c:2099:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] 2099 | yychar = yylex (); | ^~~~~ qmparse.y:423:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 423 | printf("bad C stack size %d, using default\n", i/1024); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ | | | long int qmparse.y:444:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 444 | printf("bad stack size %d, using default\n", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | long int qmparse.y:467:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 467 | printf("bad memory size %d, using default\n", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | long int qmparse.y:525:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 525 | if (res && buf) | ^ qmparse.c:4231:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] 4231 | yyerror (YY_("syntax error")); | ^~~~~~~ | yyerrok qmparse.y: At top level: qmparse.y:1683:1: warning: return type defaults to 'int' [-Wimplicit-int] 1683 | yyerror(s) | ^~~~~~~ qmparse.y: In function 'u8encode': qmparse.y:1762:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1762 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1767:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1767 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1769:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1769 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1774:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1774 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1776:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1776 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1778:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1778 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y: At top level: qmparse.y:1898:8: warning: return type defaults to 'int' [-Wimplicit-int] 1898 | static swap() | ^~~~ qmparse.y:1907:8: warning: return type defaults to 'int' [-Wimplicit-int] 1907 | static rot() | ^~~ qmparse.y:1917:8: warning: return type defaults to 'int' [-Wimplicit-int] 1917 | static pushtern(fno) | ^~~~~~~~ qmparse.y:1925:8: warning: return type defaults to 'int' [-Wimplicit-int] 1925 | static pushbin(fno) | ^~~~~~~ qmparse.y:1933:8: warning: return type defaults to 'int' [-Wimplicit-int] 1933 | static pushun(fno) | ^~~~~~ qmparse.y:1940:8: warning: return type defaults to 'int' [-Wimplicit-int] 1940 | static pushlist(int n, int m) | ^~~~~~~~ qmparse.y:1949:8: warning: return type defaults to 'int' [-Wimplicit-int] 1949 | static pushstream(int n, int m) | ^~~~~~~~~~ qmparse.y:1958:8: warning: return type defaults to 'int' [-Wimplicit-int] 1958 | static pushtuple(int n, int m) | ^~~~~~~~~ qmparse.y:1967:8: warning: return type defaults to 'int' [-Wimplicit-int] 1967 | static pushgroup(int *n, int *m) | ^~~~~~~~~ qmparse.y:1983:8: warning: return type defaults to 'int' [-Wimplicit-int] 1983 | static init_stats() | ^~~~~~~~~~ qmparse.y:1992:8: warning: return type defaults to 'int' [-Wimplicit-int] 1992 | static fini_stats() | ^~~~~~~~~~ qmparse.y:1999:8: warning: return type defaults to 'int' [-Wimplicit-int] 1999 | static print_stats(all) | ^~~~~~~~~~~ qmparse.y: In function 'print_stats': qmparse.y:2009:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 2009 | printf("thread #%d: %lu reduction%s, %lu cell%s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2019:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 2019 | printf("thread #%d: %0.3g secs, %lu reduction%s, %lu cell%s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y: At top level: qmparse.y:2046:8: warning: return type defaults to 'int' [-Wimplicit-int] 2046 | static error_report(base, p, tok) | ^~~~~~~~~~~~ qmparse.y: In function 'error_report': qmparse.y:2053:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2053 | if (tok && *tok && p-q >= l) | ^ qmparse.y:2065:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2065 | while (p > q && (p[-1] != '"' || p > q+1 && p[-2] == '\\')) --p; | ~~~~~~~~^~~~~~~~~~~~~~~~ qmparse.y:2049:43: warning: unused variable 't' [-Wunused-variable] 2049 | char *q = p, *r = strchr(p, '\n'), *s, *t, c; | ^ qmparse.y: At top level: qmparse.y:2118:8: warning: return type defaults to 'int' [-Wimplicit-int] 2118 | static savepos() | ^~~~~~~ qmparse.y:2140:8: warning: return type defaults to 'int' [-Wimplicit-int] 2140 | static clean() | ^~~~~ qmparse.y:2168:8: warning: return type defaults to 'int' [-Wimplicit-int] 2168 | static expression() | ^~~~~~~~~~ qmparse.y:2190:8: warning: return type defaults to 'int' [-Wimplicit-int] 2190 | static assignment() | ^~~~~~~~~~ qmparse.y:2209:8: warning: return type defaults to 'int' [-Wimplicit-int] 2209 | static unassignment(int id) | ^~~~~~~~~~~~ qmparse.y:2218:8: warning: return type defaults to 'int' [-Wimplicit-int] 2218 | static vardecl(int id) | ^~~~~~~ qmparse.y:2239:8: warning: return type defaults to 'int' [-Wimplicit-int] 2239 | static initializer() | ^~~~~~~~~~~ qmparse.y:2259:8: warning: return type defaults to 'int' [-Wimplicit-int] 2259 | static printstr(s) | ^~~~~~~~ qmparse.y:2265:8: warning: return type defaults to 'int' [-Wimplicit-int] 2265 | static strparam(a, s) | ^~~~~~~~ qmparse.y:2281:8: warning: return type defaults to 'int' [-Wimplicit-int] 2281 | static intparam(a, i) | ^~~~~~~~ qmparse.y:2298:8: warning: return type defaults to 'int' [-Wimplicit-int] 2298 | static boolparam(a, b) | ^~~~~~~~~ qmparse.y: In function 'boolparam': qmparse.y:2302:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2302 | if (res) | ^ qmparse.y: At top level: qmparse.y:2315:8: warning: return type defaults to 'int' [-Wimplicit-int] 2315 | static boolstrparam(a, b, s) | ^~~~~~~~~~~~ qmparse.y: In function 'boolstrparam': qmparse.y:2320:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2320 | if (res) | ^ qmparse.y: At top level: qmparse.y:2331:8: warning: return type defaults to 'int' [-Wimplicit-int] 2331 | static allparam(a) | ^~~~~~~~ qmparse.y:2344:8: warning: return type defaults to 'int' [-Wimplicit-int] 2344 | static copyright() | ^~~~~~~~~ qmparse.y:2355:8: warning: return type defaults to 'int' [-Wimplicit-int] 2355 | static shell() | ^~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: qmparse.y: In function 'shell': mangle.h:81:15: warning: implicit declaration of function '__qq__getln'; did you mean '__qq__getint'? [-Wimplicit-function-declaration] 81 | #define getln __qq__getln | ^~~~~~~~~~~ qmparse.y:2359:5: note: in expansion of macro 'getln' 2359 | getln(shell_command); | ^~~~~ qmparse.y: At top level: qmparse.y:2385:8: warning: return type defaults to 'int' [-Wimplicit-int] 2385 | static sethistfile(s) | ^~~~~~~~~~~ qmparse.y:2409:8: warning: return type defaults to 'int' [-Wimplicit-int] 2409 | static sethistsize(i) | ^~~~~~~~~~~ qmparse.y:2421:8: warning: return type defaults to 'int' [-Wimplicit-int] 2421 | static help(s) | ^~~~ qmparse.y:2451:8: warning: return type defaults to 'int' [-Wimplicit-int] 2451 | static edit(s) | ^~~~ qmparse.y:2480:8: warning: return type defaults to 'int' [-Wimplicit-int] 2480 | static save_vars(s) | ^~~~~~~~~ qmparse.y:2540:8: warning: return type defaults to 'int' [-Wimplicit-int] 2540 | static clear_vars() | ^~~~~~~~~~ qmparse.y:2554:1: warning: return type defaults to 'int' [-Wimplicit-int] 2554 | search_import(m) | ^~~~~~~~~~~~~ qmparse.y:2568:1: warning: return type defaults to 'int' [-Wimplicit-int] 2568 | add_import(s) | ^~~~~~~~~~ qmparse.y:2615:1: warning: return type defaults to 'int' [-Wimplicit-int] 2615 | del_import(s) | ^~~~~~~~~~ qmparse.y: In function 'del_import': qmparse.y:2636:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2636 | if (mno == NONE || pos == NONE && mno != mainno) { qmparse.y: At top level: qmparse.y:2657:1: warning: return type defaults to 'int' [-Wimplicit-int] 2657 | clear_imports() | ^~~~~~~~~~~~~ qmparse.y:2670:1: warning: return type defaults to 'int' [-Wimplicit-int] 2670 | modcmp(v1, v2) | ^~~~~~ qmparse.y:2677:1: warning: return type defaults to 'int' [-Wimplicit-int] 2677 | print_modlist() | ^~~~~~~~~~~~~ qmparse.y: In function 'print_modlist': qmparse.y:2681:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2681 | return; | ^~~~~~ qmparse.y:2677:1: note: declared here 2677 | print_modlist() | ^~~~~~~~~~~~~ qmparse.y:2684:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2684 | return; | ^~~~~~ qmparse.y:2677:1: note: declared here 2677 | print_modlist() | ^~~~~~~~~~~~~ qmparse.y:2694:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2694 | if (i > 0) | ^ qmparse.y: At top level: qmparse.y:2715:8: warning: return type defaults to 'int' [-Wimplicit-int] 2715 | static modules() | ^~~~~~~ qmparse.y:2725:1: warning: return type defaults to 'int' [-Wimplicit-int] 2725 | print_implist() | ^~~~~~~~~~~~~ qmparse.y: In function 'print_implist': qmparse.y:2733:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2733 | return; | ^~~~~~ qmparse.y:2725:1: note: declared here 2725 | print_implist() | ^~~~~~~~~~~~~ qmparse.y:2736:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2736 | return; | ^~~~~~ qmparse.y:2725:1: note: declared here 2725 | print_implist() | ^~~~~~~~~~~~~ qmparse.y:2747:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2747 | if (i > 0) | ^ qmparse.y: At top level: qmparse.y:2767:8: warning: return type defaults to 'int' [-Wimplicit-int] 2767 | static import_list() | ^~~~~~~~~~~ qmparse.y:2777:1: warning: return type defaults to 'int' [-Wimplicit-int] 2777 | idcmp(v1, v2) | ^~~~~ qmparse.y:2789:1: warning: return type defaults to 'int' [-Wimplicit-int] 2789 | print_varlist(int all) | ^~~~~~~~~~~~~ qmparse.y: In function 'print_varlist': qmparse.y:2799:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2799 | return; | ^~~~~~ qmparse.y:2789:1: note: declared here 2789 | print_varlist(int all) | ^~~~~~~~~~~~~ qmparse.y:2802:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2802 | return; | ^~~~~~ qmparse.y:2789:1: note: declared here 2789 | print_varlist(int all) | ^~~~~~~~~~~~~ qmparse.y:2811:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2811 | if (i > 0) | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: qmparse.y: At top level: mangle.h:169:27: warning: return type defaults to 'int' [-Wimplicit-int] 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' 2826 | print_breakpoints() | ^~~~~~~~~~~~~~~~~ qmparse.y: In function '__qq__print_breakpoints': qmparse.y:2837:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2837 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' 2826 | print_breakpoints() | ^~~~~~~~~~~~~~~~~ qmparse.y:2840:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2840 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' 2826 | print_breakpoints() | ^~~~~~~~~~~~~~~~~ qmparse.y:2849:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2849 | if (i > 0) | ^ qmparse.y: At top level: qmparse.y:2867:8: warning: return type defaults to 'int' [-Wimplicit-int] 2867 | static breakpoints() | ^~~~~~~~~~~ qmparse.y:2875:1: warning: return type defaults to 'int' [-Wimplicit-int] 2875 | profcmp(v1, v2) | ^~~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: warning: return type defaults to 'int' [-Wimplicit-int] 170 | #define print_profile __qq__print_profile | ^~~~~~~~~~~~~~~~~~~ qmparse.y:2891:1: note: in expansion of macro 'print_profile' 2891 | print_profile() | ^~~~~~~~~~~~~ qmparse.y: In function '__qq__print_profile': qmparse.y:2899:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2899 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here 170 | #define print_profile __qq__print_profile | ^~~~~~~~~~~~~~~~~~~ qmparse.y:2891:1: note: in expansion of macro 'print_profile' 2891 | print_profile() | ^~~~~~~~~~~~~ qmparse.y:2902:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2902 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here 170 | #define print_profile __qq__print_profile | ^~~~~~~~~~~~~~~~~~~ qmparse.y:2891:1: note: in expansion of macro 'print_profile' 2891 | print_profile() | ^~~~~~~~~~~~~ qmparse.y:2909:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 2909 | printf("%8d\t%s\n", symtb[v[i]].nredns, | ^~~~~~~~~~~ qmparse.y: At top level: qmparse.y:2916:8: warning: return type defaults to 'int' [-Wimplicit-int] 2916 | static profile() | ^~~~~~~ qmparse.y:2923:8: warning: return type defaults to 'int' [-Wimplicit-int] 2923 | static who(int all) | ^~~ qmparse.y:2930:8: warning: return type defaults to 'int' [-Wimplicit-int] 2930 | static whos(int sym) | ^~~~ qmparse.y: In function 'whos': qmparse.y:2946:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2946 | if ((flags & VSYM) && !x && !(flags & DCL) || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ qmparse.y: At top level: qmparse.y:3026:8: warning: return type defaults to 'int' [-Wimplicit-int] 3026 | static whois(int fno, char *s) | ^~~~~ qmparse.y:3061:8: warning: return type defaults to 'int' [-Wimplicit-int] 3061 | static ambiguous(int fno, char *s) | ^~~~~~~~~ qmparse.y:3075:8: warning: return type defaults to 'int' [-Wimplicit-int] 3075 | static yypush() | ^~~~~~ qmparse.y:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] 3089 | static yypop() | ^~~~~ qmparse.y:3103:8: warning: return type defaults to 'int' [-Wimplicit-int] 3103 | static parse(source, arg, _mode) | ^~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: qmparse.y: In function 'parse': mangle.h:237:14: warning: implicit declaration of function '__qq__skip'; did you mean '__qq__init'? [-Wimplicit-function-declaration] 237 | #define skip __qq__skip | ^~~~~~~~~~ qmparse.y:3131:64: note: in expansion of macro 'skip' 3131 | if (yychar && yychar != 10 && (thr > thr0 || !checkbrk)) skip(); | ^~~~ qmparse.y:3107:7: warning: unused variable 'c' [-Wunused-variable] 3107 | int c, actmode; | ^ qmparse.y: At top level: qmparse.y:81:3: warning: 'strlist' declared 'static' but never defined [-Wunused-function] 81 | strlist(), printstr(); | ^~~~~~~ qmparse.c: In function 'yyparse': qmparse.y:554:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 554 | system(cmd); | ^~~~~~~~~~~ qmparse.y: In function 'shell': qmparse.y:2361:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2361 | system(shell_command); | ^~~~~~~~~~~~~~~~~~~~~ qmparse.y: In function 'help': qmparse.y:2443:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2443 | system(cmd); | ^~~~~~~~~~~ qmparse.y: In function 'sethistfile': qmparse.y:2407:1: warning: control reaches end of non-void function [-Wreturn-type] 2407 | } | ^ qmparse.y: In function 'sethistsize': qmparse.y:2419:1: warning: control reaches end of non-void function [-Wreturn-type] 2419 | } | ^ qmparse.y: In function 'print_stats': qmparse.y:2030:1: warning: control reaches end of non-void function [-Wreturn-type] 2030 | } | ^ qmparse.y: In function 'clear_vars': qmparse.y:2548:1: warning: control reaches end of non-void function [-Wreturn-type] 2548 | } | ^ qmparse.y: In function 'edit': qmparse.y:2472:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2472 | system(cmd); | ^~~~~~~~~~~ qmparse.y: In function 'printstr': qmparse.y:2263:1: warning: control reaches end of non-void function [-Wreturn-type] 2263 | } | ^ qmparse.y: In function 'savepos': qmparse.y:2136:1: warning: control reaches end of non-void function [-Wreturn-type] 2136 | } | ^ qmparse.y: In function 'ambiguous': qmparse.y:3065:1: warning: control reaches end of non-void function [-Wreturn-type] 3065 | } | ^ qmparse.y: In function 'error_report': qmparse.y:2109:1: warning: control reaches end of non-void function [-Wreturn-type] 2109 | } | ^ qmparse.y: In function 'yyerror': qmparse.y:1689:1: warning: control reaches end of non-void function [-Wreturn-type] 1689 | } | ^ qmparse.y: In function 'yypush': qmparse.y:3087:1: warning: control reaches end of non-void function [-Wreturn-type] 3087 | } | ^ qmparse.y: In function 'yypop': qmparse.y:3099:1: warning: control reaches end of non-void function [-Wreturn-type] 3099 | } | ^ qmparse.c: In function 'yyparse': qmparse.y:700:13: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] 700 | eflag = b; qmparse.y:697:7: note: 'b' was declared here 697 | int b; char *s; | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libglobs_a-qmlex.o `test -f 'qmlex.c' || echo './'`qmlex.c qmlex.l:51:8: warning: type defaults to 'int' in declaration of 'bigint' [-Wimplicit-int] 51 | static bigint(); | ^~~~~~ qmlex.l:52:8: warning: type defaults to 'int' in declaration of 'string' [-Wimplicit-int] 52 | static string(); | ^~~~~~ qmlex.l:53:8: warning: type defaults to 'int' in declaration of 'utf8_qualid' [-Wimplicit-int] 53 | static utf8_qualid(); | ^~~~~~~~~~~ qmlex.l: In function 'getbuf': qmlex.l:129:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 129 | if (mybuf1 = (char*)realloc(mybuf, mybufsz+MAXSTRLEN)) { | ^~~~~~ qmlex.l: In function 'getch': qmlex.l:143:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 143 | if (_sflag) | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmlex.l:32: qmlex.l: In function 'yylex': mangle.h:237:14: warning: implicit declaration of function '__qq__skip'; did you mean '__qq__init'? [-Wimplicit-function-declaration] 237 | #define skip __qq__skip | ^~~~~~~~~~ qmlex.l:218:3: note: in expansion of macro 'skip' 218 | ^"#!" { skip(); BEGIN(0); } | ^~~~ qmlex.l: At top level: qmlex.l:537:8: warning: return type defaults to 'int' [-Wimplicit-int] 537 | { | ^ qmlex.l:542:8: warning: return type defaults to 'int' [-Wimplicit-int] 542 | { | ^ qmlex.l: In function 'addbuf': qmlex.l:547:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 547 | } else | ^~~~ qmlex.l:542:8: note: declared here 542 | { | ^ qmlex.l:544:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 544 | if (!(buf = (char*)arealloc(buf, abufsz, 100, sizeof(char)))) { | ^ qmlex.l: At top level: qmlex.l:553:8: warning: return type defaults to 'int' [-Wimplicit-int] 553 | { | ^ qmlex.l: In function 'u8encode': qmlex.l:636:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 636 | c = c >> 6; | ^ qmlex.l:641:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 641 | c = c >> 6; | ^ qmlex.l:643:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 643 | c = c >> 6; | ^ qmlex.l:648:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 648 | c = c >> 6; | ^ qmlex.l:650:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 650 | c = c >> 6; | ^ qmlex.l:652:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 652 | c = c >> 6; | ^ qmlex.l: At top level: qmlex.l:682:8: warning: return type defaults to 'int' [-Wimplicit-int] 682 | { | ^ qmlex.l:798:8: warning: return type defaults to 'int' [-Wimplicit-int] 798 | { | ^ qmlex.l: In function 'utf8_qualid': qmlex.l:800:17: warning: unused variable 'c' [-Wunused-variable] 800 | int ret, ret2; | ^ qmlex.l: At top level: qmlex.l:822:8: warning: return type defaults to 'int' [-Wimplicit-int] 822 | { | ^ qmlex.l:854:8: warning: return type defaults to 'int' [-Wimplicit-int] 854 | mpz_t z; | ^~~~~~ qmlex.l:884:1: warning: return type defaults to 'int' [-Wimplicit-int] 884 | { | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmlex.l:32: mangle.h:160:14: warning: return type defaults to 'int' [-Wimplicit-int] 160 | #define peek __qq__peek | ^~~~~~~~~~ qmlex.l:889:1: note: in expansion of macro 'peek' 889 | { | ^ mangle.h:237:14: warning: return type defaults to 'int' [-Wimplicit-int] 237 | #define skip __qq__skip | ^~~~~~~~~~ qmlex.l:896:1: note: in expansion of macro 'skip' 896 | /* skip remainder of input line */ | ^~~~ mangle.h:81:15: warning: return type defaults to 'int' [-Wimplicit-int] 81 | #define getln __qq__getln | ^~~~~~~~~~~ qmlex.l:909:1: note: in expansion of macro 'getln' 909 | char *s; | ^ qmlex.l:944:8: warning: return type defaults to 'int' [-Wimplicit-int] 944 | { | ^ qmlex.l:974:8: warning: return type defaults to 'int' [-Wimplicit-int] 974 | { | ^ qmlex.l: In function 'string': qmlex.l:845:1: warning: control reaches end of non-void function [-Wreturn-type] 845 | | ^ qmlex.l: In function 'initbuf': qmlex.l:540:1: warning: control reaches end of non-void function [-Wreturn-type] 540 | | ^ qmlex.l: In function '__qq__skip': qmlex.l:907:1: warning: control reaches end of non-void function [-Wreturn-type] 907 | | ^ qmlex.l: In function '__qq__getln': qmlex.l:929:1: warning: control reaches end of non-void function [-Wreturn-type] 929 | | ^ qmlex.l: In function 'lexpop': qmlex.l:1000:1: warning: control reaches end of non-void function [-Wreturn-type] 1000 | | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libglobs_a-qbase.o `test -f 'qbase.c' || echo './'`qbase.c qbase.c: In function 'u8encode': qbase.c:587:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 587 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:592:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 592 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:594:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 594 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:599:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 599 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:601:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 601 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:603:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 603 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c: In function 'scanchar': qbase.c:1081:13: warning: unused variable 'r' [-Wunused-variable] 1081 | char *r; | ^ qbase.c: In function '__qq__absolute': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1180:12: note: in expansion of macro 'tilde' 1180 | else if (tilde(s)) | ^~~~~ qbase.c: In function '__qq__dirprefix': qbase.c:1193:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1193 | (!s[l] || strchr(dirstr, s[l]) && !strchr(volstr, s[l])); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c: In function '__qq__expand': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1244:7: note: in expansion of macro 'tilde' 1244 | if (tilde(s2)) { | ^~~~~ qbase.c: In function '__qq__searchlib': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1269:7: note: in expansion of macro 'tilde' 1269 | if (tilde(s2)) | ^~~~~ qbase.c:1279:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1279 | if (s[0] == '.') | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libglobs_a-sys.o `test -f 'sys.c' || echo './'`sys.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libglobs_a-random.o `test -f 'random.c' || echo './'`random.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libglobs_a-uchar.o `test -f 'uchar.c' || echo './'`uchar.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libglobs_a-getopt.o `test -f 'getopt.c' || echo './'`getopt.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libglobs_a-getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c rm -f libglobs.a ar cru libglobs.a libglobs_a-q.o libglobs_a-qm.o libglobs_a-qmcode.o libglobs_a-qmfuns.o libglobs_a-qmmatch.o libglobs_a-qmprint.o libglobs_a-qmparse.o libglobs_a-qmlex.o libglobs_a-qbase.o libglobs_a-sys.o libglobs_a-random.o libglobs_a-uchar.o libglobs_a-getopt.o libglobs_a-getopt1.o ranlib libglobs.a /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o q.lo q.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c q.c -fPIC -DPIC -o .libs/q.o q.c:52:8: warning: type defaults to 'int' in declaration of 'unload_dlls' [-Wimplicit-int] 52 | static unload_dlls(void); | ^~~~~~~~~~~ q.c: In function '__qq__exitproc': q.c:61:7: warning: unused variable 'i' [-Wunused-variable] 61 | int i; | ^ q.c: At top level: q.c:480:8: warning: return type defaults to 'int' [-Wimplicit-int] 480 | static comp(x, y) | ^~~~ q.c:486:8: warning: return type defaults to 'int' [-Wimplicit-int] 486 | static build_fsym_table() | ^~~~~~~~~~~~~~~~ q.c: In function 'build_fsym_table': q.c:490:15: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 490 | if (!fsyms) return; | ^~~~~~ q.c:486:8: note: declared here 486 | static build_fsym_table() | ^~~~~~~~~~~~~~~~ q.c:493:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 493 | if (('a' <= *base && *base <= 'z' || | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ q.c: At top level: q.c:513:8: warning: return type defaults to 'int' [-Wimplicit-int] 513 | static build_vsym_table() | ^~~~~~~~~~~~~~~~ q.c: In function 'build_vsym_table': q.c:517:15: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 517 | if (!vsyms) return; | ^~~~~~ q.c:513:8: note: declared here 513 | static build_vsym_table() | ^~~~~~~~~~~~~~~~ q.c:520:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 520 | if (('a' <= *base && *base <= 'z' || | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ q.c: At top level: q.c:540:8: warning: return type defaults to 'int' [-Wimplicit-int] 540 | static search(table, text, len) | ^~~~~~ q.c:550:8: warning: return type defaults to 'int' [-Wimplicit-int] 550 | static clear_fsym_table() | ^~~~~~~~~~~~~~~~ q.c: In function 'clear_fsym_table': q.c:553:15: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 553 | if (!fsyms) return; | ^~~~~~ q.c:550:8: note: declared here 550 | static clear_fsym_table() | ^~~~~~~~~~~~~~~~ q.c: At top level: q.c:560:8: warning: return type defaults to 'int' [-Wimplicit-int] 560 | static clear_vsym_table() | ^~~~~~~~~~~~~~~~ q.c: In function 'clear_vsym_table': q.c:563:15: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 563 | if (!vsyms) return; | ^~~~~~ q.c:560:8: note: declared here 560 | static clear_vsym_table() | ^~~~~~~~~~~~~~~~ q.c: In function 'sym_generator': q.c:603:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 603 | while (name = csyms[i_csym]) | ^~~~ q.c:614:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 614 | while (name = fsyms[i_fsym]) | ^~~~ q.c:625:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 625 | while (name = vsyms[i_vsym]) | ^~~~ q.c: In function 'init_readline': q.c:655:3: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations] 655 | rl_attempted_completion_function = (CPPFunction *)sym_completion; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q.c: In function '__qq__list_completions': q.c:699:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 699 | if (matches[0]) | ^ q.c: In function 'mygetline1': q.c:723:18: warning: unused variable 'last' [-Wunused-variable] 723 | static char *last = NULL; | ^~~~ q.c:766:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 766 | (l = strlen(bufp)) > 0 && bufp[l-1] == '\n') | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ q.c:774:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 774 | if (buf) | ^ q.c:785:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 785 | if (ferror(fp) || feof(fp) && !*buf) { | ~~~~~~~~~^~~~~~~~ q.c: At top level: q.c:797:8: warning: type defaults to 'int' in declaration of 'contd' [-Wimplicit-int] 797 | static contd(); | ^~~~~ q.c: In function '__qq__mygetline': q.c:891:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 891 | codeset != NULL && strcmp(codeset, rl_codeset) != 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q.c: At top level: q.c:949:8: warning: return type defaults to 'int' [-Wimplicit-int] 949 | static wsarg(char *arg) | ^~~~~ q.c:983:8: warning: return type defaults to 'int' [-Wimplicit-int] 983 | static qcarg(char *arg) | ^~~~~ q.c:995:8: warning: return type defaults to 'int' [-Wimplicit-int] 995 | static set_qcarg(int i, char *arg) | ^~~~~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from q.c:26: q.c: In function 'parse_opts': mangle.h:35:26: warning: implicit declaration of function '__qq__debug_parse_opts'; did you mean 'debug_parse_opts'? [-Wimplicit-function-declaration] 35 | #define debug_parse_opts __qq__debug_parse_opts | ^~~~~~~~~~~~~~~~~~~~~~ q.c:1039:12: note: in expansion of macro 'debug_parse_opts' 1039 | if (!debug_parse_opts(opts)) { | ^~~~~~~~~~~~~~~~ q.c: In function 'get_source_opts': q.c:1292:7: warning: unused variable 'i' [-Wunused-variable] 1292 | int i; | ^ q.c: At top level: q.c:1332:1: warning: return type defaults to 'int' [-Wimplicit-int] 1332 | spawn(char *prog, char *argv[]) | ^~~~~ q.c:1366:8: warning: type defaults to 'int' in declaration of 'resolve' [-Wimplicit-int] 1366 | static resolve(), init_dlls(); | ^~~~~~~ q.c:1366:19: warning: type defaults to 'int' in declaration of 'init_dlls' [-Wimplicit-int] 1366 | static resolve(), init_dlls(); | ^~~~~~~~~ q.c: In function 'dorun': q.c:1381:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1381 | chkfile(searchlib(fname, _source)) && q.c:1383:72: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1383 | chkfile(searchlib(fname, strcat(strcpy(fname2, _source), ".q"))) && q.c:1534:33: warning: unused variable 'argv0' [-Wunused-variable] 1534 | int count = 0; char *const *argv0 = argv; | ^~~~~ q.c:1595:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1595 | if (gflag) | ^ q.c:1374:45: warning: unused variable 'msg' [-Wunused-variable] 1374 | char fname[MAXSTRLEN], fname2[MAXSTRLEN], msg[MAXSTRLEN]; | ^~~ q.c: In function '__qq___qinter_mpz_floatexpr': q.c:1687:14: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 1687 | double ip, fp; | ^~ q.c: In function '__qq__getmpz_floatexpr': q.c:1757:9: warning: unused variable 'z' [-Wunused-variable] 1757 | mpz_t z; | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from q.c:26: q.c: In function '__qq___qinter_sentinel': mangle.h:213:20: warning: implicit declaration of function '__qq__qmsentinel'; did you mean '__qq__qmnew'? [-Wimplicit-function-declaration] 213 | #define qmsentinel __qq__qmsentinel | ^~~~~~~~~~~~~~~~ q.c:1782:3: note: in expansion of macro 'qmsentinel' 1782 | qmsentinel(get_thr(), x); | ^~~~~~~~~~ q.c: At top level: q.c:1847:8: warning: type defaults to 'int' in declaration of '__libq_init' [-Wimplicit-int] 1847 | extern __libq_init(); | ^~~~~~~~~~~ q.c:1849:8: warning: return type defaults to 'int' [-Wimplicit-int] 1849 | static resolve() | ^~~~~~~ q.c:1975:8: warning: return type defaults to 'int' [-Wimplicit-int] 1975 | static init_dlls() | ^~~~~~~~~ q.c:1985:8: warning: return type defaults to 'int' [-Wimplicit-int] 1985 | static unload_dlls() | ^~~~~~~~~~~ q.c:2008:8: warning: return type defaults to 'int' [-Wimplicit-int] 2008 | static gnuclient(char *sexp) | ^~~~~~~~~ q.c:2121:1: warning: return type defaults to 'int' [-Wimplicit-int] 2121 | main(int argc, char **argv) | ^~~~ q.c: In function 'main': q.c:2200:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2200 | if (chkfile(searchlib(fname, source)) && In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from q.c:26: mangle.h:5:23: warning: implicit declaration of function '__qq__acquire_input'; did you mean '__qq__acquire_tty'? [-Wimplicit-function-declaration] 5 | #define acquire_input __qq__acquire_input | ^~~~~~~~~~~~~~~~~~~ q.c:2452:5: note: in expansion of macro 'acquire_input' 2452 | acquire_input(); | ^~~~~~~~~~~~~ mangle.h:220:23: warning: implicit declaration of function '__qq__release_input'; did you mean '__qq__release_tty'? [-Wimplicit-function-declaration] 220 | #define release_input __qq__release_input | ^~~~~~~~~~~~~~~~~~~ q.c:2457:7: note: in expansion of macro 'release_input' 2457 | release_input(); | ^~~~~~~~~~~~~ q.c: In function 'unload_dlls': q.c:2004:1: warning: control reaches end of non-void function [-Wreturn-type] 2004 | } | ^ q.c: In function 'mygetline1': q.c:795:1: warning: control reaches end of non-void function [-Wreturn-type] 795 | } | ^ q.c: In function 'qcarg': q.c:993:1: warning: control reaches end of non-void function [-Wreturn-type] 993 | } | ^ q.c: In function 'set_qcarg': q.c:1005:1: warning: control reaches end of non-void function [-Wreturn-type] 1005 | } | ^ q.c: In function 'init_dlls': q.c:1983:1: warning: control reaches end of non-void function [-Wreturn-type] 1983 | } | ^ q.c: In function 'gnuclient': q.c:2016:1: warning: control reaches end of non-void function [-Wreturn-type] 2016 | } | ^ At top level: q.c:723:18: warning: 'last' defined but not used [-Wunused-variable] 723 | static char *last = NULL; | ^~~~ q.c:949:8: warning: 'wsarg' defined but not used [-Wunused-function] 949 | static wsarg(char *arg) | ^~~~~ q.c: In function '__qq__rerun': q.c:1563:19: warning: '__qq__nargs' may be used uninitialized in this function [-Wmaybe-uninitialized] 1563 | while (nargs-- > 1) In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from q.c:26: mangle.h:147:15: note: '__qq__nargs' was declared here 147 | #define nargs __qq__nargs | ^~~~~~~~~~~ q.c:1566:23: warning: 'args' may be used uninitialized in this function [-Wmaybe-uninitialized] 1566 | symtb[ARGSOP].x = args; q.c:1377:9: note: 'args' was declared here 1377 | EXPR *args, *in, *out, *err; | ^~~~ q.c: In function 'main': q.c:2158:24: warning: '%s' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2158 | sprintf(qcprog, "%s%s", prefix, "qc"); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from sys.h:58, from qbase.h:24, from qdefs.h:24, from q.c:26: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 1026 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c q.c -o q.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qm.lo qm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qm.c -fPIC -DPIC -o .libs/qm.o qm.c: In function '__qq__atfork_child': qm.c:331:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 331 | if (thr->xst) free(thr->xst); thr->xst = thr->xsp = NULL; | ^~ qm.c:331:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 331 | if (thr->xst) free(thr->xst); thr->xst = thr->xsp = NULL; | ^~~ qm.c:332:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 332 | if (thr->ast) free(thr->ast); thr->ast = thr->asp = NULL; | ^~ qm.c:332:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 332 | if (thr->ast) free(thr->ast); thr->ast = thr->asp = NULL; | ^~~ qm.c:333:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 333 | if (thr->args) free(thr->args); thr->args = NULL; | ^~ qm.c:333:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 333 | if (thr->args) free(thr->args); thr->args = NULL; | ^~~ qm.c:334:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 334 | if (thr->mark) free(thr->mark); thr->mark = NULL; | ^~ qm.c:334:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 334 | if (thr->mark) free(thr->mark); thr->mark = NULL; | ^~~ qm.c:336:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 336 | if (thr->vartb) free(thr->vartb); thr->vartb = NULL; | ^~ qm.c:336:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 336 | if (thr->vartb) free(thr->vartb); thr->vartb = NULL; | ^~~ qm.c: At top level: qm.c:728:8: warning: return type defaults to 'int' [-Wimplicit-int] 728 | static initfx(int fno) | ^~~~~~ qm.c: In function 'initfx': qm.c:738:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 738 | fno < BUILTIN && funtb[fno] && nargs[fno] == 0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qm.c: In function '__qq__init': qm.c:772:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 772 | (symtb[fno].type && (symtb[symtb[fno].type].flags & VIRT) || qm.c: In function 'x_alloc': qm.c:827:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 827 | if (x = xfreep) { | ^ qm.c: In function '__qq__qmfree': qm.c:1226:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1226 | if (x->type) | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qm.c:24: mangle.h:178:14: warning: label '__qq__push' defined but not used [-Wunused-label] 178 | #define push __qq__push | ^~~~~~~~~~ qm.c:1189:7: note: in expansion of macro 'push' 1189 | push: | ^~~~ qm.c: In function '__qq__usrexpr': qm.c:1649:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1649 | if (type) | ^ qm.c: In function '__qq__consexpr': qm.c:1749:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1749 | x->red = thr->mode || x1->red || !(get_argv(x1)&1) && x2->red; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ qm.c: In function 'memexpr': qm.c:1772:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1772 | if (y->mem || !y->red || fno < RESERVED && fno != VECTOP) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ qm.c: In function '__qq__pushfun': qm.c:1996:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1996 | if (x = vectexpr(thr, n+1, xv)) { | ^ qm.c:2007:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2007 | if (x = consexpr(thr, fno, thr->xsp[-2], thr->xsp[-1])) { | ^ qm.c:2015:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2015 | if (x = funexpr(thr, fno)) { | ^ qm.c: In function 'evalb': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2228:9: note: in expansion of macro 'have_fun' 2228 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2228:9: note: in expansion of macro 'have_fun' 2228 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2239:11: note: in expansion of macro 'exec_fun' 2239 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2239:11: note: in expansion of macro 'exec_fun' 2239 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2259:14: note: in expansion of macro 'have_fun' 2259 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2259:14: note: in expansion of macro 'have_fun' 2259 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2262:11: note: in expansion of macro 'exec_fun' 2262 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2262:11: note: in expansion of macro 'exec_fun' 2262 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c:2215:27: warning: unused variable 'rc' [-Wunused-variable] 2215 | int n, *rp, rc; | ^~ qm.c:2215:23: warning: unused variable 'rp' [-Wunused-variable] 2215 | int n, *rp, rc; | ^~ qm.c: At top level: qm.c:2279:8: warning: return type defaults to 'int' [-Wimplicit-int] 2279 | static evalb_with_frame(THREAD *thr, | ^~~~~~~~~~~~~~~~ qm.c: In function 'evalb_with_frame': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2297:9: note: in expansion of macro 'have_fun' 2297 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2297:9: note: in expansion of macro 'have_fun' 2297 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2311:11: note: in expansion of macro 'exec_fun' 2311 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2311:11: note: in expansion of macro 'exec_fun' 2311 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2334:14: note: in expansion of macro 'have_fun' 2334 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2334:14: note: in expansion of macro 'have_fun' 2334 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2340:11: note: in expansion of macro 'exec_fun' 2340 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2340:11: note: in expansion of macro 'exec_fun' 2340 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c: In function 'eval_internal': qm.c:3569:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3569 | if (!x->red || !x->raw && thr->mode) | ~~~~~~~~^~~~~~~~~~~~ qm.c: In function '__qq__eval': qm.c:3655:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3655 | cstackmax > 0 && stack_dir*(&base - thr->baseptr) >= cstackmax) { qm.c: In function 'print_stacked_rule': qm.c:3868:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3868 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld qm.c: In function 'print_stack': qm.c:3890:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3890 | printf("stack size: %d\n", thr->asp-thr->ast+1); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld qm.c:3892:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3892 | printf("%3d> ", abp-thr->ast); | ~~^ ~~~~~~~~~~~~ | | | | int long int | %3ld qm.c:3898:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3898 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qm.c:24: qm.c: At top level: mangle.h:169:27: warning: type defaults to 'int' in declaration of '__qq__print_breakpoints' [-Wimplicit-int] 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qm.c:4052:8: note: in expansion of macro 'print_breakpoints' 4052 | extern print_breakpoints(); | ^~~~~~~~~~~~~~~~~ qm.c: In function 'rule': qm.c:4074:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 4074 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld qm.c:4249:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 4249 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld qm.c:4275:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 4275 | printf("heap: %d cells (%d used, %d free) out of %d\n", | ~^ | | | int | %ld 4276 | xnblks*XBLKSZ, mexprs, fexprs, memmax); | ~~~~~~ | | | long unsigned int qm.c:4275:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 4275 | printf("heap: %d cells (%d used, %d free) out of %d\n", | ~^ | | | int | %ld qm.c:4278:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 4278 | printf("heap: %d cells (%d used, %d free)\n", | ~^ | | | int | %ld 4279 | xnblks*XBLKSZ, mexprs, fexprs); | ~~~~~~ | | | long unsigned int qm.c:4278:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 4278 | printf("heap: %d cells (%d used, %d free)\n", | ~^ | | | int | %ld qm.c: At top level: qm.c:4475:1: warning: return type defaults to 'int' [-Wimplicit-int] 4475 | varcmp(v1, v2) | ^~~~~~ qm.c: In function 'listvars': qm.c:4506:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4506 | if (i > 0) | ^ qm.c: In function 'lastoffs': qm.c:4902:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4902 | if (ip->opcode == MATCHOP) | ^ qm.c: In function 'printc': qm.c:4914:17: warning: unused variable 'maxoffs' [-Wunused-variable] 4914 | int maxoffs = (fno==APPOP)?(top-xbp-2):(top-xbp); | ^~~~~~~ qm.c: In function '__qq__mksym': qm.c:5135:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5135 | if (matchsym(fno, s) && | ^ qm.c: In function '__qq__getsym': qm.c:5311:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5311 | if (matchsym(fno, s) && | ^ qm.c: In function '__qq__gettype': qm.c:5368:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5368 | if (matchtyp(type, s) && | ^ qm.c: At top level: qm.c:86:14: warning: 'x_copy' declared 'static' but never defined [-Wunused-function] 86 | static EXPR *x_copy(EXPR *x); | ^~~~~~ qm.c:87:13: warning: 'xcopy_cleanup' declared 'static' but never defined [-Wunused-function] 87 | static void xcopy_cleanup(void); | ^~~~~~~~~~~~~ qm.c: In function 'initfx': qm.c:748:1: warning: control reaches end of non-void function [-Wreturn-type] 748 | } | ^ At top level: qm.c:4588:12: warning: 'getvar' defined but not used [-Wunused-function] 4588 | static int getvar(THREAD *thr, char *name, int offs) | ^~~~~~ qm.c: In function '__qq__getsym': qm.c:5278:17: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized] 5278 | else if (impib[p] & 2) | ^ qm.c:5299:35: note: 'p1' was declared here 5299 | int fno, fno1 = NONE, p = NONE, p1; | ^~ qm.c: In function 'evalu': qm.c:3016:19: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized] 3016 | if (thr->mode && thr->xsp-thr->xst-1 == start) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qm.c: In function '__qq__evaldef1': qm.c:3340:22: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized] 3340 | if (thr0->mode && thr0->xsp-thr0->xst-1 == start) qm.c: In function '__qq__gettype': qm.c:5278:17: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized] 5278 | else if (impib[p] & 2) | ^ qm.c:5356:37: note: 'p1' was declared here 5356 | int type, type1 = NONE, p = NONE, p1; | ^~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qm.c -o qm.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qmcode.lo qmcode.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmcode.c -fPIC -DPIC -o .libs/qmcode.o qmcode.c: In function '__qq__iscode': qmcode.c:33:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | fread(magic, sizeof(char), strlen(outid)+1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c: In function '__qq__readtables': qmcode.c:62:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | fread(outid1, sizeof(char), strlen(outid)+1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:65:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | fread(&mainno, sizeof mainno, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:66:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 66 | fread(&codespsz, sizeof codespsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:67:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | fread(&strspsz, sizeof strspsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:68:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | fread(&limbspsz, sizeof limbspsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:69:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | fread(&hashtbsz, sizeof hashtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:70:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | fread(&symtbsz, sizeof symtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:71:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | fread(&statetbsz, sizeof statetbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:72:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | fread(&transtbsz, sizeof transtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:73:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | fread(&roffstbsz, sizeof roffstbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:74:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | fread(&matchtbsz, sizeof matchtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:75:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | fread(&inittbsz, sizeof inittbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:76:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | fread(&modtbsz, sizeof modtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:77:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | fread(&imptbsz, sizeof imptbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:137:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 137 | fread(codesp, sizeof(OPREC), codespsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:138:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 138 | fread(strsp, sizeof(char), strspsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:139:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 139 | fread(limbsp, sizeof(mp_limb_t), limbspsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:140:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | fread(hashtb, sizeof(int), hashtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:141:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 141 | fread(symtb, sizeof(SYMREC), symtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:142:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 142 | fread(statetb, sizeof(STATEREC), statetbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:143:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | fread(transtb, sizeof(TRANSREC), transtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:144:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 144 | fread(roffstb, sizeof(int), roffstbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:145:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 145 | fread(matchtb, sizeof(int), matchtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:146:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | fread(inittb, sizeof(int), inittbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:147:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | fread(modtb, sizeof(int), modtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:148:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | fread(fnametb, sizeof(int), modtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:149:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 149 | fread(imports, sizeof(int), modtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:150:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 150 | fread(imptb, sizeof(int), imptbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:151:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 151 | fread(impib, sizeof(byte), imptbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmcode.c -o qmcode.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qmfuns.lo qmfuns.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmfuns.c -fPIC -DPIC -o .libs/qmfuns.o qmfuns.c: In function 'u8strpos': qmfuns.c:351:17: warning: unused variable 's0' [-Wunused-variable] 351 | char *t = s, *s0 = s; | ^~ qmfuns.c: In function 'u8encode': qmfuns.c:454:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 454 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:459:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 459 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:461:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 461 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:466:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 466 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:468:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 468 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:470:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 470 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c: At top level: qmfuns.c:878:1: warning: return type defaults to 'int' [-Wimplicit-int] 878 | xeq(THREAD *thr, EXPR *x, EXPR *y) | ^~~ qmfuns.c: In function 'xeq': qmfuns.c:904:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 904 | if (x->data.f == y->data.f || is_nan(x->data.f) && is_nan(y->data.f)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:981:1: warning: return type defaults to 'int' [-Wimplicit-int] 981 | xeqchk(THREAD *thr, EXPR *x, EXPR *y) | ^~~~~~ qmfuns.c:1002:1: warning: return type defaults to 'int' [-Wimplicit-int] 1002 | add_vtb(THREAD *thr, int fno, EXPR *x) | ^~~~~~~ qmfuns.c:1045:1: warning: return type defaults to 'int' [-Wimplicit-int] 1045 | xmatch(THREAD *thr, EXPR *x, EXPR *y, int mode, int vmode) | ^~~~~~ qmfuns.c: In function 'xmatch': qmfuns.c:1133:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1133 | return x->data.f == y->data.f || is_nan(x->data.f) && is_nan(y->data.f); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:1166:1: warning: return type defaults to 'int' [-Wimplicit-int] 1166 | qmdef(THREAD* thr) | ^~~~~ qmfuns.c:1191:1: warning: return type defaults to 'int' [-Wimplicit-int] 1191 | qmundef(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'xlpat': qmfuns.c:1285:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1285 | if (y1 = xlpat(thr, x1, env)) | ^~ qmfuns.c: In function 'cleanup': qmfuns.c:1350:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1350 | if (x != t) | ^ qmfuns.c: In function 'xlbody': qmfuns.c:1447:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1447 | if (y1 = xlbody(thr, x1, key, env)) | ^~ qmfuns.c: At top level: qmfuns.c:1532:1: warning: return type defaults to 'int' [-Wimplicit-int] 1532 | xlmatch(THREAD *thr, EXPRL **xvars, int mode, int vmode, | ^~~~~~~ qmfuns.c: In function 'xlmatch': qmfuns.c:1658:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1658 | res = x->data.f == y->data.f || is_nan(x->data.f) && is_nan(y->data.f); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ qmfuns.c: In function 'xlcppat': qmfuns.c:1793:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1793 | if (y1 = xlcppat(thr, x1, xenv)) | ^~ qmfuns.c: In function 'xlrepl': qmfuns.c:1899:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1899 | if (y1 = xlrepl(thr, x1, key, xenv)) | ^~ qmfuns.c: At top level: qmfuns.c:1945:8: warning: return type defaults to 'int' [-Wimplicit-int] 1945 | static qmlambda(THREAD* thr) | ^~~~~~~~ qmfuns.c: In function 'qmlambda': qmfuns.c:1984:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1984 | if (x) | ^ qmfuns.c: At top level: qmfuns.c:2005:8: warning: return type defaults to 'int' [-Wimplicit-int] 2005 | static qmlambda_app(THREAD* thr) | ^~~~~~~~~~~~ qmfuns.c:2114:1: warning: return type defaults to 'int' [-Wimplicit-int] 2114 | xfindvar(xxvartb_t *vtb, int vno) | ^~~~~~~~ qmfuns.c: In function 'xclosview': qmfuns.c:2179:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2179 | if (y1 = consexpr(thr, APPOP, f, y1)) | ^~ qmfuns.c:2200:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2200 | if (y1 = xclosview(thr, x1, vtb, env)) | ^~ qmfuns.c: At top level: qmfuns.c:2246:8: warning: return type defaults to 'int' [-Wimplicit-int] 2246 | static qmview(THREAD *thr) | ^~~~~~ qmfuns.c:2271:1: warning: return type defaults to 'int' [-Wimplicit-int] 2271 | strconcat(THREAD *thr, char *s1, char *s2) | ^~~~~~~~~ qmfuns.c:2285:1: warning: return type defaults to 'int' [-Wimplicit-int] 2285 | listconcat(THREAD *thr, EXPR *x1, EXPR *x2) | ^~~~~~~~~~ qmfuns.c:2310:1: warning: return type defaults to 'int' [-Wimplicit-int] 2310 | vectconcat(THREAD *thr, int n1, EXPR **xv1, int n2, EXPR **xv2) | ^~~~~~~~~~ qmfuns.c: In function 'vectconcat': qmfuns.c:2315:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2315 | if (n1 >= INT_MAX - n2 || n1+n2>0 && (xv = malloc((n1+n2)*sizeof(EXPR*))) | ^ qmfuns.c: At top level: qmfuns.c:2330:1: warning: return type defaults to 'int' [-Wimplicit-int] 2330 | tupleconcat(THREAD *thr, EXPR *x1, EXPR *x2) | ^~~~~~~~~~~ qmfuns.c:2366:8: warning: return type defaults to 'int' [-Wimplicit-int] 2366 | static qmconcat(THREAD* thr) | ^~~~~~~~ qmfuns.c:2440:8: warning: return type defaults to 'int' [-Wimplicit-int] 2440 | static qmadd(THREAD* thr) | ^~~~~ qmfuns.c:2506:8: warning: return type defaults to 'int' [-Wimplicit-int] 2506 | static qmmin(THREAD* thr) | ^~~~~ qmfuns.c:2583:8: warning: return type defaults to 'int' [-Wimplicit-int] 2583 | static qmmul(THREAD* thr) | ^~~~~ qmfuns.c:2617:8: warning: return type defaults to 'int' [-Wimplicit-int] 2617 | static qmfdiv(THREAD* thr) | ^~~~~~ qmfuns.c:2649:8: warning: return type defaults to 'int' [-Wimplicit-int] 2649 | static qmdiv(THREAD* thr) | ^~~~~ qmfuns.c:2662:8: warning: return type defaults to 'int' [-Wimplicit-int] 2662 | static qmmod(THREAD* thr) | ^~~~~ qmfuns.c:2674:8: warning: return type defaults to 'int' [-Wimplicit-int] 2674 | static qmpow(THREAD* thr) | ^~~~~ qmfuns.c: In function 'qmpow': qmfuns.c:2691:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2690 | (mpz_sgn(args[0]->data.z) >= 0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2691 | modf(args[1]->data.f, &ip) == 0.0) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 2692 | (mpz_sgn(args[0]->data.z) != 0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2693 | args[1]->data.f != 0.0)) | ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c:2715:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2714 | (args[0]->data.f >= 0.0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 2715 | modf(args[1]->data.f, &ip) == 0.0) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 2716 | (args[0]->data.f != 0.0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 2717 | args[1]->data.f != 0.0)) | ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:2735:8: warning: return type defaults to 'int' [-Wimplicit-int] 2735 | static qmidx(THREAD* thr) | ^~~~~ qmfuns.c:2793:8: warning: return type defaults to 'int' [-Wimplicit-int] 2793 | static qmcomp(THREAD* thr) | ^~~~~~ qmfuns.c:2808:8: warning: return type defaults to 'int' [-Wimplicit-int] 2808 | static qmumin(THREAD* thr) | ^~~~~~ qmfuns.c:2821:8: warning: return type defaults to 'int' [-Wimplicit-int] 2821 | static qmhash(THREAD* thr) | ^~~~~~ qmfuns.c:2861:8: warning: return type defaults to 'int' [-Wimplicit-int] 2861 | static qmunquote(THREAD* thr) | ^~~~~~~~~ qmfuns.c:2882:8: warning: return type defaults to 'int' [-Wimplicit-int] 2882 | static qmforce(THREAD* thr) | ^~~~~~~ qmfuns.c:2888:8: warning: return type defaults to 'int' [-Wimplicit-int] 2888 | static qmmem(THREAD* thr) | ^~~~~ qmfuns.c:2896:8: warning: return type defaults to 'int' [-Wimplicit-int] 2896 | static qmor(THREAD* thr) | ^~~~ qmfuns.c:2914:8: warning: return type defaults to 'int' [-Wimplicit-int] 2914 | static qmorelse(THREAD* thr) | ^~~~~~~~ qmfuns.c:2926:8: warning: return type defaults to 'int' [-Wimplicit-int] 2926 | static qmand(THREAD* thr) | ^~~~~ qmfuns.c:2944:8: warning: return type defaults to 'int' [-Wimplicit-int] 2944 | static qmandthen(THREAD* thr) | ^~~~~~~~~ qmfuns.c:2956:8: warning: return type defaults to 'int' [-Wimplicit-int] 2956 | static qmnot(THREAD* thr) | ^~~~~ qmfuns.c:2972:1: warning: return type defaults to 'int' [-Wimplicit-int] 2972 | xcmp(EXPR *x, EXPR *y, int *result) | ^~~~ qmfuns.c:3041:8: warning: return type defaults to 'int' [-Wimplicit-int] 3041 | static qmle(THREAD* thr) | ^~~~ qmfuns.c:3057:8: warning: return type defaults to 'int' [-Wimplicit-int] 3057 | static qmgr(THREAD* thr) | ^~~~ qmfuns.c:3073:8: warning: return type defaults to 'int' [-Wimplicit-int] 3073 | static qmeq(THREAD* thr) | ^~~~ qmfuns.c:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] 3089 | static qmleq(THREAD* thr) | ^~~~~ qmfuns.c:3105:8: warning: return type defaults to 'int' [-Wimplicit-int] 3105 | static qmgeq(THREAD* thr) | ^~~~~ qmfuns.c:3121:8: warning: return type defaults to 'int' [-Wimplicit-int] 3121 | static qmneq(THREAD* thr) | ^~~~~ qmfuns.c:3137:8: warning: return type defaults to 'int' [-Wimplicit-int] 3137 | static qmid(THREAD* thr) | ^~~~ qmfuns.c:3146:8: warning: return type defaults to 'int' [-Wimplicit-int] 3146 | static qmrapp(THREAD* thr) | ^~~~~~ qmfuns.c:3161:8: warning: return type defaults to 'int' [-Wimplicit-int] 3161 | static qmseq(THREAD* thr) | ^~~~~ qmfuns.c:3167:8: warning: return type defaults to 'int' [-Wimplicit-int] 3167 | static shl(THREAD *thr, mpz_t z, int i) | ^~~ qmfuns.c:3199:8: warning: return type defaults to 'int' [-Wimplicit-int] 3199 | static shr(THREAD *thr, mpz_t z, int i) | ^~~ qmfuns.c:3224:8: warning: return type defaults to 'int' [-Wimplicit-int] 3224 | static qmshl(THREAD* thr) | ^~~~~ qmfuns.c:3251:8: warning: return type defaults to 'int' [-Wimplicit-int] 3251 | static qmshr(THREAD* thr) | ^~~~~ qmfuns.c:3278:8: warning: return type defaults to 'int' [-Wimplicit-int] 3278 | static qmpred(THREAD* thr) | ^~~~~~ qmfuns.c:3303:8: warning: return type defaults to 'int' [-Wimplicit-int] 3303 | static qmsucc(THREAD* thr) | ^~~~~~ qmfuns.c:3328:8: warning: return type defaults to 'int' [-Wimplicit-int] 3328 | static qmenum(THREAD* thr) | ^~~~~~ qmfuns.c:3487:8: warning: return type defaults to 'int' [-Wimplicit-int] 3487 | static qmenum1(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmenum1': qmfuns.c:3511:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3511 | n > 1 && t0 != t1) | ~~~~~~^~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:3541:8: warning: return type defaults to 'int' [-Wimplicit-int] 3541 | static qmexp(THREAD* thr) | ^~~~~ qmfuns.c:3554:8: warning: return type defaults to 'int' [-Wimplicit-int] 3554 | static qmln(THREAD* thr) | ^~~~ qmfuns.c:3574:8: warning: return type defaults to 'int' [-Wimplicit-int] 3574 | static qmsqrt(THREAD* thr) | ^~~~~~ qmfuns.c:3593:8: warning: return type defaults to 'int' [-Wimplicit-int] 3593 | static qmsin(THREAD* thr) | ^~~~~ qmfuns.c:3606:8: warning: return type defaults to 'int' [-Wimplicit-int] 3606 | static qmcos(THREAD* thr) | ^~~~~ qmfuns.c:3619:8: warning: return type defaults to 'int' [-Wimplicit-int] 3619 | static qmatan(THREAD* thr) | ^~~~~~ qmfuns.c:3632:8: warning: return type defaults to 'int' [-Wimplicit-int] 3632 | static qmatan2(THREAD* thr) | ^~~~~~~ qmfuns.c:3663:8: warning: return type defaults to 'int' [-Wimplicit-int] 3663 | static qmrandom(THREAD* thr) | ^~~~~~~~ qmfuns.c: In function 'qmrandom': qmfuns.c:3665:10: warning: unused variable 'args' [-Wunused-variable] 3665 | EXPR **args = thr->args; | ^~~~ qmfuns.c: At top level: qmfuns.c:3677:8: warning: return type defaults to 'int' [-Wimplicit-int] 3677 | static qmseed(THREAD* thr) | ^~~~~~ qmfuns.c:3687:8: warning: return type defaults to 'int' [-Wimplicit-int] 3687 | static qmsub(THREAD* thr) | ^~~~~ qmfuns.c: In function 'qmsub': qmfuns.c:3695:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3695 | if (i < 0) i = 0; c = j-i+1; | ^~ qmfuns.c:3695:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3695 | if (i < 0) i = 0; c = j-i+1; | ^ qmfuns.c: At top level: qmfuns.c:3803:8: warning: return type defaults to 'int' [-Wimplicit-int] 3803 | static qmsubstr(THREAD* thr) | ^~~~~~~~ qmfuns.c:3852:8: warning: return type defaults to 'int' [-Wimplicit-int] 3852 | static qmpos(THREAD* thr) | ^~~~~ qmfuns.c:3872:8: warning: return type defaults to 'int' [-Wimplicit-int] 3872 | static qmint(THREAD* thr) | ^~~~~ qmfuns.c: In function 'qmint': qmfuns.c:3876:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 3876 | double ip, fp; | ^~ qmfuns.c: At top level: qmfuns.c:3885:8: warning: return type defaults to 'int' [-Wimplicit-int] 3885 | static qmfrac(THREAD* thr) | ^~~~~~ qmfuns.c:3898:8: warning: return type defaults to 'int' [-Wimplicit-int] 3898 | static qmtrunc(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmtrunc': qmfuns.c:3902:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 3902 | double ip, fp, dsz; | ^~ qmfuns.c: At top level: qmfuns.c:3919:8: warning: return type defaults to 'int' [-Wimplicit-int] 3919 | static qmround(THREAD* thr) | ^~~~~~~ qmfuns.c:3938:8: warning: return type defaults to 'int' [-Wimplicit-int] 3938 | static qmfloat(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'ptr_hash': qmfuns.c:3988:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3988 | return (unsigned)p; | ^ qmfuns.c: At top level: qmfuns.c:4025:8: warning: return type defaults to 'int' [-Wimplicit-int] 4025 | static qmhashnum(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4031:8: warning: return type defaults to 'int' [-Wimplicit-int] 4031 | static qmord(THREAD* thr) | ^~~~~ qmfuns.c:4046:8: warning: return type defaults to 'int' [-Wimplicit-int] 4046 | static qmchr(THREAD* thr) | ^~~~~ qmfuns.c:4073:8: warning: return type defaults to 'int' [-Wimplicit-int] 4073 | static qmlist(THREAD* thr) | ^~~~~~ qmfuns.c:4092:8: warning: return type defaults to 'int' [-Wimplicit-int] 4092 | static qmtuple(THREAD* thr) | ^~~~~~~ qmfuns.c:4114:8: warning: return type defaults to 'int' [-Wimplicit-int] 4114 | static qmstr(THREAD* thr) | ^~~~~ qmfuns.c:4125:8: warning: return type defaults to 'int' [-Wimplicit-int] 4125 | static qmval(THREAD* thr) | ^~~~~ qmfuns.c:4145:8: warning: return type defaults to 'int' [-Wimplicit-int] 4145 | static qmstrq(THREAD* thr) | ^~~~~~ qmfuns.c:4160:8: warning: return type defaults to 'int' [-Wimplicit-int] 4160 | static qmvalq(THREAD* thr) | ^~~~~~ qmfuns.c:4181:8: warning: return type defaults to 'int' [-Wimplicit-int] 4181 | static qmisspecial(THREAD* thr) | ^~~~~~~~~~~ qmfuns.c:4192:8: warning: return type defaults to 'int' [-Wimplicit-int] 4192 | static qmisconst(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4203:8: warning: return type defaults to 'int' [-Wimplicit-int] 4203 | static qmisfun(THREAD* thr) | ^~~~~~~ qmfuns.c:4212:8: warning: return type defaults to 'int' [-Wimplicit-int] 4212 | static qmisvar(THREAD* thr) | ^~~~~~~ qmfuns.c:4221:8: warning: return type defaults to 'int' [-Wimplicit-int] 4221 | static qmisdef(THREAD* thr) | ^~~~~~~ qmfuns.c:4230:8: warning: return type defaults to 'int' [-Wimplicit-int] 4230 | static qmflip(THREAD* thr) | ^~~~~~ qmfuns.c:4246:8: warning: type defaults to 'int' in declaration of 'qmfread' [-Wimplicit-int] 4246 | static qmfread(THREAD* thr); | ^~~~~~~ qmfuns.c:4248:8: warning: return type defaults to 'int' [-Wimplicit-int] 4248 | static qmread(THREAD* thr) | ^~~~~~ qmfuns.c:4258:8: warning: type defaults to 'int' in declaration of 'qmfreadq' [-Wimplicit-int] 4258 | static qmfreadq(THREAD* thr); | ^~~~~~~~ qmfuns.c:4260:8: warning: return type defaults to 'int' [-Wimplicit-int] 4260 | static qmreadq(THREAD* thr) | ^~~~~~~ qmfuns.c:4270:8: warning: type defaults to 'int' in declaration of 'qmfreadc' [-Wimplicit-int] 4270 | static qmfreadc(THREAD* thr); | ^~~~~~~~ qmfuns.c:4272:8: warning: return type defaults to 'int' [-Wimplicit-int] 4272 | static qmreadc(THREAD* thr) | ^~~~~~~ qmfuns.c:4282:8: warning: type defaults to 'int' in declaration of 'qmfreads' [-Wimplicit-int] 4282 | static qmfreads(THREAD* thr); | ^~~~~~~~ qmfuns.c:4284:8: warning: return type defaults to 'int' [-Wimplicit-int] 4284 | static qmreads(THREAD* thr) | ^~~~~~~ qmfuns.c:4294:8: warning: type defaults to 'int' in declaration of 'qmfwrite' [-Wimplicit-int] 4294 | static qmfwrite(THREAD* thr); | ^~~~~~~~ qmfuns.c:4296:8: warning: return type defaults to 'int' [-Wimplicit-int] 4296 | static qmwrite(THREAD* thr) | ^~~~~~~ qmfuns.c:4307:8: warning: type defaults to 'int' in declaration of 'qmfwriteq' [-Wimplicit-int] 4307 | static qmfwriteq(THREAD* thr); | ^~~~~~~~~ qmfuns.c:4309:8: warning: return type defaults to 'int' [-Wimplicit-int] 4309 | static qmwriteq(THREAD* thr) | ^~~~~~~~ qmfuns.c:4320:8: warning: type defaults to 'int' in declaration of 'qmfwritec' [-Wimplicit-int] 4320 | static qmfwritec(THREAD* thr); | ^~~~~~~~~ qmfuns.c:4322:8: warning: return type defaults to 'int' [-Wimplicit-int] 4322 | static qmwritec(THREAD* thr) | ^~~~~~~~ qmfuns.c:4333:8: warning: type defaults to 'int' in declaration of 'qmfwrites' [-Wimplicit-int] 4333 | static qmfwrites(THREAD* thr); | ^~~~~~~~~ qmfuns.c:4335:8: warning: return type defaults to 'int' [-Wimplicit-int] 4335 | static qmwrites(THREAD* thr) | ^~~~~~~~ qmfuns.c:4346:8: warning: return type defaults to 'int' [-Wimplicit-int] 4346 | static qmfread(THREAD* thr) | ^~~~~~~ qmfuns.c:4378:8: warning: return type defaults to 'int' [-Wimplicit-int] 4378 | static qmfreadq(THREAD* thr) | ^~~~~~~~ qmfuns.c:4414:8: warning: return type defaults to 'int' [-Wimplicit-int] 4414 | static qmfreadc(THREAD* thr) | ^~~~~~~~ qmfuns.c:4473:8: warning: return type defaults to 'int' [-Wimplicit-int] 4473 | static qmfreads(THREAD* thr) | ^~~~~~~~ qmfuns.c: In function 'qmfreads': qmfuns.c:4498:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4498 | if (s1 = (char*) arealloc(s, a, MAXSTRLEN, | ^~ qmfuns.c:4530:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4530 | if (!r && !*s || thr == thr0 && checkbrk) { | ~~~^~~~~~ qmfuns.c: At top level: qmfuns.c:4568:8: warning: return type defaults to 'int' [-Wimplicit-int] 4568 | static qmfwrite(THREAD* thr) | ^~~~~~~~ qmfuns.c:4591:8: warning: return type defaults to 'int' [-Wimplicit-int] 4591 | static qmfwriteq(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4615:8: warning: return type defaults to 'int' [-Wimplicit-int] 4615 | static qmfwritec(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4649:8: warning: return type defaults to 'int' [-Wimplicit-int] 4649 | static qmfwrites(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4685:8: warning: return type defaults to 'int' [-Wimplicit-int] 4685 | static qmfopen(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmfopen': qmfuns.c:4694:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4694 | (mode[1] == '\0' || mode[1] == 'b' && mode[2] == '\0')) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:4722:8: warning: return type defaults to 'int' [-Wimplicit-int] 4722 | static qmpopen(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmpopen': qmfuns.c:4731:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4731 | (mode[1] == '\0' || mode[1] == 'b' && mode[2] == '\0')) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qmfuns.c:4752:2: warning: implicit declaration of function 'setlinebuf'; did you mean 'setvbuf'? [-Wimplicit-function-declaration] 4752 | setlinebuf(fp); | ^~~~~~~~~~ | setvbuf qmfuns.c: At top level: qmfuns.c:4761:8: warning: return type defaults to 'int' [-Wimplicit-int] 4761 | static qmfclose(THREAD* thr) | ^~~~~~~~ qmfuns.c:4796:8: warning: type defaults to 'int' in declaration of 'qmfeof' [-Wimplicit-int] 4796 | static qmfeof(THREAD* thr); | ^~~~~~ qmfuns.c:4798:8: warning: return type defaults to 'int' [-Wimplicit-int] 4798 | static qmeof(THREAD* thr) | ^~~~~ qmfuns.c:4808:8: warning: return type defaults to 'int' [-Wimplicit-int] 4808 | static qmfeof(THREAD* thr) | ^~~~~~ qmfuns.c:4847:8: warning: type defaults to 'int' in declaration of 'qmfflush' [-Wimplicit-int] 4847 | static qmfflush(THREAD* thr); | ^~~~~~~~ qmfuns.c:4849:8: warning: return type defaults to 'int' [-Wimplicit-int] 4849 | static qmflush(THREAD* thr) | ^~~~~~~ qmfuns.c:4859:8: warning: return type defaults to 'int' [-Wimplicit-int] 4859 | static qmfflush(THREAD* thr) | ^~~~~~~~ qmfuns.c:4874:8: warning: return type defaults to 'int' [-Wimplicit-int] 4874 | static qmversion(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4879:8: warning: return type defaults to 'int' [-Wimplicit-int] 4879 | static qmsysinfo(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4884:8: warning: return type defaults to 'int' [-Wimplicit-int] 4884 | static qmwhich(THREAD* thr) | ^~~~~~~ qmfuns.c:4931:8: warning: return type defaults to 'int' [-Wimplicit-int] 4931 | static qmhalt(THREAD* thr) | ^~~~~~ qmfuns.c:4937:8: warning: return type defaults to 'int' [-Wimplicit-int] 4937 | static qmquit(THREAD* thr) | ^~~~~~ qmfuns.c:4943:8: warning: return type defaults to 'int' [-Wimplicit-int] 4943 | static qmbreak(THREAD* thr) | ^~~~~~~ qmfuns.c:4949:8: warning: return type defaults to 'int' [-Wimplicit-int] 4949 | static qmcatch(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmcatch': qmfuns.c:4957:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4957 | } else if (thr == thr0 && checkbrk || qmfuns.c: At top level: qmfuns.c:4977:8: warning: return type defaults to 'int' [-Wimplicit-int] 4977 | static qmthrow(THREAD* thr) | ^~~~~~~ qmfuns.c:4992:8: warning: return type defaults to 'int' [-Wimplicit-int] 4992 | static qmtrap(THREAD* thr) | ^~~~~~ qmfuns.c:5085:8: warning: return type defaults to 'int' [-Wimplicit-int] 5085 | static qmfail(THREAD* thr) | ^~~~~~ qmfuns.c:5091:8: warning: return type defaults to 'int' [-Wimplicit-int] 5091 | static qmfail2(THREAD* thr) | ^~~~~~~ qmfuns.c:5097:8: warning: return type defaults to 'int' [-Wimplicit-int] 5097 | static qmtime(THREAD* thr) | ^~~~~~ qmfuns.c:5102:8: warning: return type defaults to 'int' [-Wimplicit-int] 5102 | static qmsleep(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmenum': qmfuns.c:3460:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] 3460 | inc = x1-x0; | ~~~~^~~~~~~ qmfuns.c:3475:5: warning: 'x0' may be used uninitialized in this function [-Wmaybe-uninitialized] 3475 | x0 += inc; | ~~~^~~~~~ qmfuns.c:3352:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] 3352 | inc = x1-x0; | ~~~~^~~~~~~ qmfuns.c:3333:10: warning: 'x0' may be used uninitialized in this function [-Wmaybe-uninitialized] 3333 | long x0, x1, x2 = u8decode(args[1]->data.s); | ^~ qmfuns.c: In function 'qmfreadc': qmfuns.c:4448:13: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] 4448 | while (c != '\n' && c != EOF) | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmfuns.c -o qmfuns.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qmmatch.lo qmmatch.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmmatch.c -fPIC -DPIC -o .libs/qmmatch.o qmmatch.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] 39 | nextstate(int s, int type, int fno) | ^~~~~~~~~ qmmatch.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] 83 | defaultstate(int s, int type) | ^~~~~~~~~~~~ qmmatch.c: In function 'defaultstate': qmmatch.c:85:29: warning: unused variable 'left' [-Wunused-variable] 85 | int k = statetb[s].trans, left = k, right = k+statetb[s].ntrans; | ^~~~ qmmatch.c: At top level: qmmatch.c:103:1: warning: return type defaults to 'int' [-Wimplicit-int] 103 | nondefault(int s) | ^~~~~~~~~~ qmmatch.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] 115 | typedtrans(int s, int type) | ^~~~~~~~~~ qmmatch.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] 130 | virtual(int s, int type) | ^~~~~~~ qmmatch.c:212:1: warning: return type defaults to 'int' [-Wimplicit-int] 212 | matchx(THREAD *thr, int s, int mode, int vmode, EXPR *x, EXPR **y) | ^~~~~~ qmmatch.c: In function 'matchx': qmmatch.c:297:47: warning: value computed is not used [-Wunused-value] 297 | (s = matchx(thr, s1, mode, 0, x1, &y1)) && | ^~ qmmatch.c:318:53: warning: value computed is not used [-Wunused-value] 318 | (s = matchx(thr, s1, modes.left, 0, x1, &y1)) && | ^~ qmmatch.c:364:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 364 | if (yv) | ^ qmmatch.c: In function '__qq__match': qmmatch.c:416:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 416 | nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:431:47: warning: value computed is not used [-Wunused-value] 431 | (s = matchx(thr, s, 1, 0, x[0], &x[0])) && | ^~ qmmatch.c:458:56: warning: value computed is not used [-Wunused-value] 458 | (s = matchx(thr, s, modes.left, 0, x[0], &x[0])) && | ^~ qmmatch.c: In function '__qq__matchtype': qmmatch.c:525:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 525 | nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:530:32: warning: value computed is not used [-Wunused-value] 530 | (s = nextstate(s, 0, fno)) && (s = typedtrans(s, type)); | ^~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmmatch.c -o qmmatch.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qmprint.lo qmprint.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmprint.c -fPIC -DPIC -o .libs/qmprint.o qmprint.c:207:15: warning: return type defaults to 'int' [-Wimplicit-int] 207 | static inline checktmpbuf(void) | ^~~~~~~~~~~ qmprint.c:217:15: warning: return type defaults to 'int' [-Wimplicit-int] 217 | static inline writetmpbuf(char *s) | ^~~~~~~~~~~ qmprint.c:238:15: warning: return type defaults to 'int' [-Wimplicit-int] 238 | static inline checklastsym(char *s) | ^~~~~~~~~~~~ qmprint.c:246:15: warning: return type defaults to 'int' [-Wimplicit-int] 246 | static inline checkmarksym(void) | ^~~~~~~~~~~~ qmprint.c:253:15: warning: return type defaults to 'int' [-Wimplicit-int] 253 | static inline marksym(int flag) | ^~~~~~~ qmprint.c:261:8: warning: return type defaults to 'int' [-Wimplicit-int] 261 | static sputstr1(char *s) | ^~~~~~~~ qmprint.c: In function 'sputstr1': qmprint.c:268:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 268 | if (bufp1 = (char*) arealloc(bufp, abufleng, MAXSTRLEN, | ^~~~~ qmprint.c: At top level: qmprint.c:282:15: warning: return type defaults to 'int' [-Wimplicit-int] 282 | static inline sputstr(char *s) | ^~~~~~~ qmprint.c:358:8: warning: return type defaults to 'int' [-Wimplicit-int] 358 | static fputstr1(char *s) | ^~~~~~~~ qmprint.c:379:15: warning: return type defaults to 'int' [-Wimplicit-int] 379 | static inline fputstr(char *s) | ^~~~~~~ qmprint.c:454:8: warning: return type defaults to 'int' [-Wimplicit-int] 454 | static opprec(int fno) | ^~~~~~ qmprint.c:511:15: warning: return type defaults to 'int' [-Wimplicit-int] 511 | static inline islsect(EXPR *x) | ^~~~~~~ qmprint.c:518:15: warning: return type defaults to 'int' [-Wimplicit-int] 518 | static inline isrsect(EXPR *x) | ^~~~~~~ qmprint.c:528:15: warning: return type defaults to 'int' [-Wimplicit-int] 528 | static inline isenum(EXPR *x) | ^~~~~~ qmprint.c:542:15: warning: return type defaults to 'int' [-Wimplicit-int] 542 | static inline isenum1(EXPR *x) | ^~~~~~~ qmprint.c:555:15: warning: return type defaults to 'int' [-Wimplicit-int] 555 | static inline issenum(EXPR *x) | ^~~~~~~ qmprint.c:569:15: warning: return type defaults to 'int' [-Wimplicit-int] 569 | static inline issenum1(EXPR *x) | ^~~~~~~~ qmprint.c:582:15: warning: return type defaults to 'int' [-Wimplicit-int] 582 | static inline istenum(EXPR *x) | ^~~~~~~ qmprint.c:596:15: warning: return type defaults to 'int' [-Wimplicit-int] 596 | static inline istenum1(EXPR *x) | ^~~~~~~~ qmprint.c:609:15: warning: return type defaults to 'int' [-Wimplicit-int] 609 | static inline isstream(EXPR *x) | ^~~~~~~~ qmprint.c: In function 'isstream': qmprint.c:612:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 612 | x->fno == APPOP && x->data.args.x1->fno == APPOP && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 613 | x->data.args.x1->data.args.x1->fno == SCONSOP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmprint.c: At top level: qmprint.c:616:15: warning: return type defaults to 'int' [-Wimplicit-int] 616 | static inline isscons(EXPR *x, EXPR **y, EXPR **z) | ^~~~~~~ qmprint.c:627:15: warning: return type defaults to 'int' [-Wimplicit-int] 627 | static inline islistof(EXPR *x) | ^~~~~~~~ qmprint.c:636:15: warning: return type defaults to 'int' [-Wimplicit-int] 636 | static inline istupleof(EXPR *x) | ^~~~~~~~~ qmprint.c:645:15: warning: return type defaults to 'int' [-Wimplicit-int] 645 | static inline isstreamof(EXPR *x) | ^~~~~~~~~~ qmprint.c:654:15: warning: return type defaults to 'int' [-Wimplicit-int] 654 | static inline islambda(EXPR *x) | ^~~~~~~~ qmprint.c:660:15: warning: return type defaults to 'int' [-Wimplicit-int] 660 | static inline isifelse(EXPR *x) | ^~~~~~~~ qmprint.c:669:15: warning: return type defaults to 'int' [-Wimplicit-int] 669 | static inline iswhen(EXPR *x) | ^~~~~~ qmprint.c:733:8: warning: return type defaults to 'int' [-Wimplicit-int] 733 | static exprprec(THREAD *thr, EXPR *x) | ^~~~~~~~ qmprint.c:776:8: warning: type defaults to 'int' in declaration of 'print' [-Wimplicit-int] 776 | static print(THREAD *thr, int level, EXPR *x); | ^~~~~ qmprint.c:778:15: warning: return type defaults to 'int' [-Wimplicit-int] 778 | static inline printparen(THREAD *thr, int level, EXPR *x) | ^~~~~~~~~~ qmprint.c:783:8: warning: return type defaults to 'int' [-Wimplicit-int] 783 | static printlprec(THREAD *thr, int level, int fno, EXPR *x) | ^~~~~~~~~~ qmprint.c:794:8: warning: return type defaults to 'int' [-Wimplicit-int] 794 | static printrprec(THREAD *thr, int level, int fno, EXPR *x) | ^~~~~~~~~~ qmprint.c:805:8: warning: return type defaults to 'int' [-Wimplicit-int] 805 | static print1(THREAD *thr, int level, int fno, EXPR *x) | ^~~~~~ qmprint.c:811:8: warning: return type defaults to 'int' [-Wimplicit-int] 811 | static print2l(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~~ qmprint.c:819:8: warning: return type defaults to 'int' [-Wimplicit-int] 819 | static print2r(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~~ qmprint.c:827:8: warning: return type defaults to 'int' [-Wimplicit-int] 827 | static print2n(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~~ qmprint.c:835:8: warning: return type defaults to 'int' [-Wimplicit-int] 835 | static print2(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~ qmprint.c:959:8: warning: return type defaults to 'int' [-Wimplicit-int] 959 | static print(THREAD *thr, int level, EXPR *x) | ^~~~~ qmprint.c:1412:15: warning: return type defaults to 'int' [-Wimplicit-int] 1412 | static inline printchk(THREAD *thr, int level, EXPR *x) | ^~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmprint.c -o qmprint.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qmparse.lo qmparse.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmparse.c -fPIC -DPIC -o .libs/qmparse.o qmparse.y:70:8: warning: type defaults to 'int' in declaration of 'swap' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~ qmparse.y:70:16: warning: type defaults to 'int' in declaration of 'pushtern' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~~~~~ qmparse.y:70:28: warning: type defaults to 'int' in declaration of 'pushbin' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~~~~ qmparse.y:70:39: warning: type defaults to 'int' in declaration of 'pushun' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~~~ qmparse.y:71:3: warning: type defaults to 'int' in declaration of 'pushlist' [-Wimplicit-int] 71 | pushlist(int n, int m), pushstream(int n, int m), pushtuple(int n, int m), | ^~~~~~~~ qmparse.y:71:27: warning: type defaults to 'int' in declaration of 'pushstream' [-Wimplicit-int] 71 | pushlist(int n, int m), pushstream(int n, int m), pushtuple(int n, int m), | ^~~~~~~~~~ qmparse.y:71:53: warning: type defaults to 'int' in declaration of 'pushtuple' [-Wimplicit-int] 71 | pushlist(int n, int m), pushstream(int n, int m), pushtuple(int n, int m), | ^~~~~~~~~ qmparse.y:72:3: warning: type defaults to 'int' in declaration of 'pushgroup' [-Wimplicit-int] 72 | pushgroup(int *n, int *m), | ^~~~~~~~~ qmparse.y:73:3: warning: type defaults to 'int' in declaration of 'savepos' [-Wimplicit-int] 73 | savepos(), clean(); | ^~~~~~~ qmparse.y:73:14: warning: type defaults to 'int' in declaration of 'clean' [-Wimplicit-int] 73 | savepos(), clean(); | ^~~~~ qmparse.y:74:8: warning: type defaults to 'int' in declaration of 'init_stats' [-Wimplicit-int] 74 | static init_stats(), fini_stats(), print_stats(); | ^~~~~~~~~~ qmparse.y:74:22: warning: type defaults to 'int' in declaration of 'fini_stats' [-Wimplicit-int] 74 | static init_stats(), fini_stats(), print_stats(); | ^~~~~~~~~~ qmparse.y:74:36: warning: type defaults to 'int' in declaration of 'print_stats' [-Wimplicit-int] 74 | static init_stats(), fini_stats(), print_stats(); | ^~~~~~~~~~~ qmparse.y:75:8: warning: type defaults to 'int' in declaration of 'copyright' [-Wimplicit-int] 75 | static copyright(), shell(), expression(), | ^~~~~~~~~ qmparse.y:75:21: warning: type defaults to 'int' in declaration of 'shell' [-Wimplicit-int] 75 | static copyright(), shell(), expression(), | ^~~~~ qmparse.y:75:30: warning: type defaults to 'int' in declaration of 'expression' [-Wimplicit-int] 75 | static copyright(), shell(), expression(), | ^~~~~~~~~~ qmparse.y:76:3: warning: type defaults to 'int' in declaration of 'vardecl' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~ qmparse.y:76:14: warning: type defaults to 'int' in declaration of 'initializer' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~~~~~ qmparse.y:76:29: warning: type defaults to 'int' in declaration of 'assignment' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~~~~ qmparse.y:76:43: warning: type defaults to 'int' in declaration of 'unassignment' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~~~~~~ qmparse.y:77:3: warning: type defaults to 'int' in declaration of 'sethistfile' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~~~ qmparse.y:77:18: warning: type defaults to 'int' in declaration of 'sethistsize' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~~~ qmparse.y:77:33: warning: type defaults to 'int' in declaration of 'help' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~ qmparse.y:77:41: warning: type defaults to 'int' in declaration of 'edit' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~ qmparse.y:77:49: warning: type defaults to 'int' in declaration of 'save_vars' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~ qmparse.y:77:62: warning: type defaults to 'int' in declaration of 'clear_vars' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~~ qmparse.y:78:3: warning: type defaults to 'int' in declaration of 'add_import' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~ qmparse.y:78:17: warning: type defaults to 'int' in declaration of 'del_import' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~ qmparse.y:78:31: warning: type defaults to 'int' in declaration of 'clear_imports' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~~~~ qmparse.y:78:48: warning: type defaults to 'int' in declaration of 'breakpoints' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~~ qmparse.y:78:63: warning: type defaults to 'int' in declaration of 'profile' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~ qmparse.y:79:3: warning: type defaults to 'int' in declaration of 'who' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~ qmparse.y:79:10: warning: type defaults to 'int' in declaration of 'whos' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~ qmparse.y:79:18: warning: type defaults to 'int' in declaration of 'whois' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~ qmparse.y:79:27: warning: type defaults to 'int' in declaration of 'ambiguous' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~~~~~ qmparse.y:79:40: warning: type defaults to 'int' in declaration of 'import_list' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~~~~~~~ qmparse.y:79:55: warning: type defaults to 'int' in declaration of 'modules' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~~~ qmparse.y:80:8: warning: type defaults to 'int' in declaration of 'strparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~ qmparse.y:80:20: warning: type defaults to 'int' in declaration of 'intparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~ qmparse.y:80:32: warning: type defaults to 'int' in declaration of 'boolparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~~ qmparse.y:80:45: warning: type defaults to 'int' in declaration of 'boolstrparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~~~~~ qmparse.y:80:61: warning: type defaults to 'int' in declaration of 'allparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~ qmparse.y:81:3: warning: type defaults to 'int' in declaration of 'strlist' [-Wimplicit-int] 81 | strlist(), printstr(); | ^~~~~~~ qmparse.y:81:14: warning: type defaults to 'int' in declaration of 'printstr' [-Wimplicit-int] 81 | strlist(), printstr(); | ^~~~~~~~ qmparse.c: In function 'yyparse': qmparse.c:2099:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] 2099 | yychar = yylex (); | ^~~~~ qmparse.y:423:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 423 | printf("bad C stack size %d, using default\n", i/1024); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ | | | long int qmparse.y:444:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 444 | printf("bad stack size %d, using default\n", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | long int qmparse.y:467:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 467 | printf("bad memory size %d, using default\n", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | long int qmparse.y:525:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 525 | if (res && buf) | ^ qmparse.c:4231:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] 4231 | yyerror (YY_("syntax error")); | ^~~~~~~ | yyerrok qmparse.y: At top level: qmparse.y:1683:1: warning: return type defaults to 'int' [-Wimplicit-int] 1683 | yyerror(s) | ^~~~~~~ qmparse.y: In function 'u8encode': qmparse.y:1762:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1762 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1767:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1767 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1769:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1769 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1774:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1774 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1776:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1776 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1778:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1778 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y: At top level: qmparse.y:1898:8: warning: return type defaults to 'int' [-Wimplicit-int] 1898 | static swap() | ^~~~ qmparse.y:1907:8: warning: return type defaults to 'int' [-Wimplicit-int] 1907 | static rot() | ^~~ qmparse.y:1917:8: warning: return type defaults to 'int' [-Wimplicit-int] 1917 | static pushtern(fno) | ^~~~~~~~ qmparse.y:1925:8: warning: return type defaults to 'int' [-Wimplicit-int] 1925 | static pushbin(fno) | ^~~~~~~ qmparse.y:1933:8: warning: return type defaults to 'int' [-Wimplicit-int] 1933 | static pushun(fno) | ^~~~~~ qmparse.y:1940:8: warning: return type defaults to 'int' [-Wimplicit-int] 1940 | static pushlist(int n, int m) | ^~~~~~~~ qmparse.y:1949:8: warning: return type defaults to 'int' [-Wimplicit-int] 1949 | static pushstream(int n, int m) | ^~~~~~~~~~ qmparse.y:1958:8: warning: return type defaults to 'int' [-Wimplicit-int] 1958 | static pushtuple(int n, int m) | ^~~~~~~~~ qmparse.y:1967:8: warning: return type defaults to 'int' [-Wimplicit-int] 1967 | static pushgroup(int *n, int *m) | ^~~~~~~~~ qmparse.y:1983:8: warning: return type defaults to 'int' [-Wimplicit-int] 1983 | static init_stats() | ^~~~~~~~~~ qmparse.y:1992:8: warning: return type defaults to 'int' [-Wimplicit-int] 1992 | static fini_stats() | ^~~~~~~~~~ qmparse.y:1999:8: warning: return type defaults to 'int' [-Wimplicit-int] 1999 | static print_stats(all) | ^~~~~~~~~~~ qmparse.y: In function 'print_stats': qmparse.y:2009:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 2009 | printf("thread #%d: %lu reduction%s, %lu cell%s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2019:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 2019 | printf("thread #%d: %0.3g secs, %lu reduction%s, %lu cell%s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y: At top level: qmparse.y:2046:8: warning: return type defaults to 'int' [-Wimplicit-int] 2046 | static error_report(base, p, tok) | ^~~~~~~~~~~~ qmparse.y: In function 'error_report': qmparse.y:2053:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2053 | if (tok && *tok && p-q >= l) | ^ qmparse.y:2065:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2065 | while (p > q && (p[-1] != '"' || p > q+1 && p[-2] == '\\')) --p; | ~~~~~~~~^~~~~~~~~~~~~~~~ qmparse.y:2049:43: warning: unused variable 't' [-Wunused-variable] 2049 | char *q = p, *r = strchr(p, '\n'), *s, *t, c; | ^ qmparse.y: At top level: qmparse.y:2118:8: warning: return type defaults to 'int' [-Wimplicit-int] 2118 | static savepos() | ^~~~~~~ qmparse.y:2140:8: warning: return type defaults to 'int' [-Wimplicit-int] 2140 | static clean() | ^~~~~ qmparse.y:2168:8: warning: return type defaults to 'int' [-Wimplicit-int] 2168 | static expression() | ^~~~~~~~~~ qmparse.y:2190:8: warning: return type defaults to 'int' [-Wimplicit-int] 2190 | static assignment() | ^~~~~~~~~~ qmparse.y:2209:8: warning: return type defaults to 'int' [-Wimplicit-int] 2209 | static unassignment(int id) | ^~~~~~~~~~~~ qmparse.y:2218:8: warning: return type defaults to 'int' [-Wimplicit-int] 2218 | static vardecl(int id) | ^~~~~~~ qmparse.y:2239:8: warning: return type defaults to 'int' [-Wimplicit-int] 2239 | static initializer() | ^~~~~~~~~~~ qmparse.y:2259:8: warning: return type defaults to 'int' [-Wimplicit-int] 2259 | static printstr(s) | ^~~~~~~~ qmparse.y:2265:8: warning: return type defaults to 'int' [-Wimplicit-int] 2265 | static strparam(a, s) | ^~~~~~~~ qmparse.y:2281:8: warning: return type defaults to 'int' [-Wimplicit-int] 2281 | static intparam(a, i) | ^~~~~~~~ qmparse.y:2298:8: warning: return type defaults to 'int' [-Wimplicit-int] 2298 | static boolparam(a, b) | ^~~~~~~~~ qmparse.y: In function 'boolparam': qmparse.y:2302:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2302 | if (res) | ^ qmparse.y: At top level: qmparse.y:2315:8: warning: return type defaults to 'int' [-Wimplicit-int] 2315 | static boolstrparam(a, b, s) | ^~~~~~~~~~~~ qmparse.y: In function 'boolstrparam': qmparse.y:2320:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2320 | if (res) | ^ qmparse.y: At top level: qmparse.y:2331:8: warning: return type defaults to 'int' [-Wimplicit-int] 2331 | static allparam(a) | ^~~~~~~~ qmparse.y:2344:8: warning: return type defaults to 'int' [-Wimplicit-int] 2344 | static copyright() | ^~~~~~~~~ qmparse.y:2355:8: warning: return type defaults to 'int' [-Wimplicit-int] 2355 | static shell() | ^~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: qmparse.y: In function 'shell': mangle.h:81:15: warning: implicit declaration of function '__qq__getln'; did you mean '__qq__getint'? [-Wimplicit-function-declaration] 81 | #define getln __qq__getln | ^~~~~~~~~~~ qmparse.y:2359:5: note: in expansion of macro 'getln' 2359 | getln(shell_command); | ^~~~~ qmparse.y: At top level: qmparse.y:2385:8: warning: return type defaults to 'int' [-Wimplicit-int] 2385 | static sethistfile(s) | ^~~~~~~~~~~ qmparse.y:2409:8: warning: return type defaults to 'int' [-Wimplicit-int] 2409 | static sethistsize(i) | ^~~~~~~~~~~ qmparse.y:2421:8: warning: return type defaults to 'int' [-Wimplicit-int] 2421 | static help(s) | ^~~~ qmparse.y:2451:8: warning: return type defaults to 'int' [-Wimplicit-int] 2451 | static edit(s) | ^~~~ qmparse.y:2480:8: warning: return type defaults to 'int' [-Wimplicit-int] 2480 | static save_vars(s) | ^~~~~~~~~ qmparse.y:2540:8: warning: return type defaults to 'int' [-Wimplicit-int] 2540 | static clear_vars() | ^~~~~~~~~~ qmparse.y:2554:1: warning: return type defaults to 'int' [-Wimplicit-int] 2554 | search_import(m) | ^~~~~~~~~~~~~ qmparse.y:2568:1: warning: return type defaults to 'int' [-Wimplicit-int] 2568 | add_import(s) | ^~~~~~~~~~ qmparse.y:2615:1: warning: return type defaults to 'int' [-Wimplicit-int] 2615 | del_import(s) | ^~~~~~~~~~ qmparse.y: In function 'del_import': qmparse.y:2636:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2636 | if (mno == NONE || pos == NONE && mno != mainno) { qmparse.y: At top level: qmparse.y:2657:1: warning: return type defaults to 'int' [-Wimplicit-int] 2657 | clear_imports() | ^~~~~~~~~~~~~ qmparse.y:2670:1: warning: return type defaults to 'int' [-Wimplicit-int] 2670 | modcmp(v1, v2) | ^~~~~~ qmparse.y:2677:1: warning: return type defaults to 'int' [-Wimplicit-int] 2677 | print_modlist() | ^~~~~~~~~~~~~ qmparse.y: In function 'print_modlist': qmparse.y:2681:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2681 | return; | ^~~~~~ qmparse.y:2677:1: note: declared here 2677 | print_modlist() | ^~~~~~~~~~~~~ qmparse.y:2684:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2684 | return; | ^~~~~~ qmparse.y:2677:1: note: declared here 2677 | print_modlist() | ^~~~~~~~~~~~~ qmparse.y:2694:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2694 | if (i > 0) | ^ qmparse.y: At top level: qmparse.y:2715:8: warning: return type defaults to 'int' [-Wimplicit-int] 2715 | static modules() | ^~~~~~~ qmparse.y:2725:1: warning: return type defaults to 'int' [-Wimplicit-int] 2725 | print_implist() | ^~~~~~~~~~~~~ qmparse.y: In function 'print_implist': qmparse.y:2733:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2733 | return; | ^~~~~~ qmparse.y:2725:1: note: declared here 2725 | print_implist() | ^~~~~~~~~~~~~ qmparse.y:2736:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2736 | return; | ^~~~~~ qmparse.y:2725:1: note: declared here 2725 | print_implist() | ^~~~~~~~~~~~~ qmparse.y:2747:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2747 | if (i > 0) | ^ qmparse.y: At top level: qmparse.y:2767:8: warning: return type defaults to 'int' [-Wimplicit-int] 2767 | static import_list() | ^~~~~~~~~~~ qmparse.y:2777:1: warning: return type defaults to 'int' [-Wimplicit-int] 2777 | idcmp(v1, v2) | ^~~~~ qmparse.y:2789:1: warning: return type defaults to 'int' [-Wimplicit-int] 2789 | print_varlist(int all) | ^~~~~~~~~~~~~ qmparse.y: In function 'print_varlist': qmparse.y:2799:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2799 | return; | ^~~~~~ qmparse.y:2789:1: note: declared here 2789 | print_varlist(int all) | ^~~~~~~~~~~~~ qmparse.y:2802:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2802 | return; | ^~~~~~ qmparse.y:2789:1: note: declared here 2789 | print_varlist(int all) | ^~~~~~~~~~~~~ qmparse.y:2811:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2811 | if (i > 0) | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: qmparse.y: At top level: mangle.h:169:27: warning: return type defaults to 'int' [-Wimplicit-int] 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' 2826 | print_breakpoints() | ^~~~~~~~~~~~~~~~~ qmparse.y: In function '__qq__print_breakpoints': qmparse.y:2837:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2837 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' 2826 | print_breakpoints() | ^~~~~~~~~~~~~~~~~ qmparse.y:2840:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2840 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' 2826 | print_breakpoints() | ^~~~~~~~~~~~~~~~~ qmparse.y:2849:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2849 | if (i > 0) | ^ qmparse.y: At top level: qmparse.y:2867:8: warning: return type defaults to 'int' [-Wimplicit-int] 2867 | static breakpoints() | ^~~~~~~~~~~ qmparse.y:2875:1: warning: return type defaults to 'int' [-Wimplicit-int] 2875 | profcmp(v1, v2) | ^~~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: warning: return type defaults to 'int' [-Wimplicit-int] 170 | #define print_profile __qq__print_profile | ^~~~~~~~~~~~~~~~~~~ qmparse.y:2891:1: note: in expansion of macro 'print_profile' 2891 | print_profile() | ^~~~~~~~~~~~~ qmparse.y: In function '__qq__print_profile': qmparse.y:2899:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2899 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here 170 | #define print_profile __qq__print_profile | ^~~~~~~~~~~~~~~~~~~ qmparse.y:2891:1: note: in expansion of macro 'print_profile' 2891 | print_profile() | ^~~~~~~~~~~~~ qmparse.y:2902:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2902 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here 170 | #define print_profile __qq__print_profile | ^~~~~~~~~~~~~~~~~~~ qmparse.y:2891:1: note: in expansion of macro 'print_profile' 2891 | print_profile() | ^~~~~~~~~~~~~ qmparse.y:2909:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 2909 | printf("%8d\t%s\n", symtb[v[i]].nredns, | ^~~~~~~~~~~ qmparse.y: At top level: qmparse.y:2916:8: warning: return type defaults to 'int' [-Wimplicit-int] 2916 | static profile() | ^~~~~~~ qmparse.y:2923:8: warning: return type defaults to 'int' [-Wimplicit-int] 2923 | static who(int all) | ^~~ qmparse.y:2930:8: warning: return type defaults to 'int' [-Wimplicit-int] 2930 | static whos(int sym) | ^~~~ qmparse.y: In function 'whos': qmparse.y:2946:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2946 | if ((flags & VSYM) && !x && !(flags & DCL) || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ qmparse.y: At top level: qmparse.y:3026:8: warning: return type defaults to 'int' [-Wimplicit-int] 3026 | static whois(int fno, char *s) | ^~~~~ qmparse.y:3061:8: warning: return type defaults to 'int' [-Wimplicit-int] 3061 | static ambiguous(int fno, char *s) | ^~~~~~~~~ qmparse.y:3075:8: warning: return type defaults to 'int' [-Wimplicit-int] 3075 | static yypush() | ^~~~~~ qmparse.y:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] 3089 | static yypop() | ^~~~~ qmparse.y:3103:8: warning: return type defaults to 'int' [-Wimplicit-int] 3103 | static parse(source, arg, _mode) | ^~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: qmparse.y: In function 'parse': mangle.h:237:14: warning: implicit declaration of function '__qq__skip'; did you mean '__qq__init'? [-Wimplicit-function-declaration] 237 | #define skip __qq__skip | ^~~~~~~~~~ qmparse.y:3131:64: note: in expansion of macro 'skip' 3131 | if (yychar && yychar != 10 && (thr > thr0 || !checkbrk)) skip(); | ^~~~ qmparse.y:3107:7: warning: unused variable 'c' [-Wunused-variable] 3107 | int c, actmode; | ^ qmparse.y: At top level: qmparse.y:81:3: warning: 'strlist' declared 'static' but never defined [-Wunused-function] 81 | strlist(), printstr(); | ^~~~~~~ qmparse.c: In function 'yyparse': qmparse.y:554:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 554 | system(cmd); | ^~~~~~~~~~~ qmparse.y: In function 'shell': qmparse.y:2361:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2361 | system(shell_command); | ^~~~~~~~~~~~~~~~~~~~~ qmparse.y: In function 'help': qmparse.y:2443:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2443 | system(cmd); | ^~~~~~~~~~~ qmparse.y: In function 'sethistfile': qmparse.y:2407:1: warning: control reaches end of non-void function [-Wreturn-type] 2407 | } | ^ qmparse.y: In function 'sethistsize': qmparse.y:2419:1: warning: control reaches end of non-void function [-Wreturn-type] 2419 | } | ^ qmparse.y: In function 'print_stats': qmparse.y:2030:1: warning: control reaches end of non-void function [-Wreturn-type] 2030 | } | ^ qmparse.y: In function 'clear_vars': qmparse.y:2548:1: warning: control reaches end of non-void function [-Wreturn-type] 2548 | } | ^ qmparse.y: In function 'edit': qmparse.y:2472:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2472 | system(cmd); | ^~~~~~~~~~~ qmparse.y: In function 'printstr': qmparse.y:2263:1: warning: control reaches end of non-void function [-Wreturn-type] 2263 | } | ^ qmparse.y: In function 'savepos': qmparse.y:2136:1: warning: control reaches end of non-void function [-Wreturn-type] 2136 | } | ^ qmparse.y: In function 'ambiguous': qmparse.y:3065:1: warning: control reaches end of non-void function [-Wreturn-type] 3065 | } | ^ qmparse.y: In function 'error_report': qmparse.y:2109:1: warning: control reaches end of non-void function [-Wreturn-type] 2109 | } | ^ qmparse.y: In function 'yyerror': qmparse.y:1689:1: warning: control reaches end of non-void function [-Wreturn-type] 1689 | } | ^ qmparse.y: In function 'yypush': qmparse.y:3087:1: warning: control reaches end of non-void function [-Wreturn-type] 3087 | } | ^ qmparse.y: In function 'yypop': qmparse.y:3099:1: warning: control reaches end of non-void function [-Wreturn-type] 3099 | } | ^ qmparse.c: In function 'yyparse': qmparse.y:700:13: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] 700 | eflag = b; qmparse.y:697:7: note: 'b' was declared here 697 | int b; char *s; | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmparse.c -o qmparse.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qmlex.lo qmlex.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmlex.c -fPIC -DPIC -o .libs/qmlex.o qmlex.l:51:8: warning: type defaults to 'int' in declaration of 'bigint' [-Wimplicit-int] 51 | static bigint(); | ^~~~~~ qmlex.l:52:8: warning: type defaults to 'int' in declaration of 'string' [-Wimplicit-int] 52 | static string(); | ^~~~~~ qmlex.l:53:8: warning: type defaults to 'int' in declaration of 'utf8_qualid' [-Wimplicit-int] 53 | static utf8_qualid(); | ^~~~~~~~~~~ qmlex.l: In function 'getbuf': qmlex.l:129:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 129 | if (mybuf1 = (char*)realloc(mybuf, mybufsz+MAXSTRLEN)) { | ^~~~~~ qmlex.l: In function 'getch': qmlex.l:143:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 143 | if (_sflag) | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmlex.l:32: qmlex.l: In function 'yylex': mangle.h:237:14: warning: implicit declaration of function '__qq__skip'; did you mean '__qq__init'? [-Wimplicit-function-declaration] 237 | #define skip __qq__skip | ^~~~~~~~~~ qmlex.l:218:3: note: in expansion of macro 'skip' 218 | ^"#!" { skip(); BEGIN(0); } | ^~~~ qmlex.l: At top level: qmlex.l:537:8: warning: return type defaults to 'int' [-Wimplicit-int] 537 | { | ^ qmlex.l:542:8: warning: return type defaults to 'int' [-Wimplicit-int] 542 | { | ^ qmlex.l: In function 'addbuf': qmlex.l:547:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 547 | } else | ^~~~ qmlex.l:542:8: note: declared here 542 | { | ^ qmlex.l:544:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 544 | if (!(buf = (char*)arealloc(buf, abufsz, 100, sizeof(char)))) { | ^ qmlex.l: At top level: qmlex.l:553:8: warning: return type defaults to 'int' [-Wimplicit-int] 553 | { | ^ qmlex.l: In function 'u8encode': qmlex.l:636:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 636 | c = c >> 6; | ^ qmlex.l:641:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 641 | c = c >> 6; | ^ qmlex.l:643:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 643 | c = c >> 6; | ^ qmlex.l:648:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 648 | c = c >> 6; | ^ qmlex.l:650:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 650 | c = c >> 6; | ^ qmlex.l:652:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 652 | c = c >> 6; | ^ qmlex.l: At top level: qmlex.l:682:8: warning: return type defaults to 'int' [-Wimplicit-int] 682 | { | ^ qmlex.l:798:8: warning: return type defaults to 'int' [-Wimplicit-int] 798 | { | ^ qmlex.l: In function 'utf8_qualid': qmlex.l:800:17: warning: unused variable 'c' [-Wunused-variable] 800 | int ret, ret2; | ^ qmlex.l: At top level: qmlex.l:822:8: warning: return type defaults to 'int' [-Wimplicit-int] 822 | { | ^ qmlex.l:854:8: warning: return type defaults to 'int' [-Wimplicit-int] 854 | mpz_t z; | ^~~~~~ qmlex.l:884:1: warning: return type defaults to 'int' [-Wimplicit-int] 884 | { | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmlex.l:32: mangle.h:160:14: warning: return type defaults to 'int' [-Wimplicit-int] 160 | #define peek __qq__peek | ^~~~~~~~~~ qmlex.l:889:1: note: in expansion of macro 'peek' 889 | { | ^ mangle.h:237:14: warning: return type defaults to 'int' [-Wimplicit-int] 237 | #define skip __qq__skip | ^~~~~~~~~~ qmlex.l:896:1: note: in expansion of macro 'skip' 896 | /* skip remainder of input line */ | ^~~~ mangle.h:81:15: warning: return type defaults to 'int' [-Wimplicit-int] 81 | #define getln __qq__getln | ^~~~~~~~~~~ qmlex.l:909:1: note: in expansion of macro 'getln' 909 | char *s; | ^ qmlex.l:944:8: warning: return type defaults to 'int' [-Wimplicit-int] 944 | { | ^ qmlex.l:974:8: warning: return type defaults to 'int' [-Wimplicit-int] 974 | { | ^ qmlex.l: In function 'string': qmlex.l:845:1: warning: control reaches end of non-void function [-Wreturn-type] 845 | | ^ qmlex.l: In function 'initbuf': qmlex.l:540:1: warning: control reaches end of non-void function [-Wreturn-type] 540 | | ^ qmlex.l: In function '__qq__skip': qmlex.l:907:1: warning: control reaches end of non-void function [-Wreturn-type] 907 | | ^ qmlex.l: In function '__qq__getln': qmlex.l:929:1: warning: control reaches end of non-void function [-Wreturn-type] 929 | | ^ qmlex.l: In function 'lexpop': qmlex.l:1000:1: warning: control reaches end of non-void function [-Wreturn-type] 1000 | | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmlex.c -o qmlex.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o qbase.lo qbase.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qbase.c -fPIC -DPIC -o .libs/qbase.o qbase.c: In function 'u8encode': qbase.c:587:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 587 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:592:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 592 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:594:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 594 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:599:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 599 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:601:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 601 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:603:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 603 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c: In function 'scanchar': qbase.c:1081:13: warning: unused variable 'r' [-Wunused-variable] 1081 | char *r; | ^ qbase.c: In function '__qq__absolute': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1180:12: note: in expansion of macro 'tilde' 1180 | else if (tilde(s)) | ^~~~~ qbase.c: In function '__qq__dirprefix': qbase.c:1193:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1193 | (!s[l] || strchr(dirstr, s[l]) && !strchr(volstr, s[l])); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c: In function '__qq__expand': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1244:7: note: in expansion of macro 'tilde' 1244 | if (tilde(s2)) { | ^~~~~ qbase.c: In function '__qq__searchlib': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1269:7: note: in expansion of macro 'tilde' 1269 | if (tilde(s2)) | ^~~~~ qbase.c:1279:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1279 | if (s[0] == '.') | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qbase.c -o qbase.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o sys.lo sys.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c sys.c -fPIC -DPIC -o .libs/sys.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c sys.c -o sys.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o random.lo random.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c random.c -fPIC -DPIC -o .libs/random.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c random.c -o random.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o uchar.lo uchar.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c uchar.c -fPIC -DPIC -o .libs/uchar.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c uchar.c -o uchar.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o getopt.lo getopt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c getopt.c -fPIC -DPIC -o .libs/getopt.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c getopt.c -o getopt.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o getopt1.lo getopt1.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c getopt1.c -fPIC -DPIC -o .libs/getopt1.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c getopt1.c -o getopt1.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -static -no-undefined -version-info 8:0:0 -dlpreopen force -dlopen ../modules/clib/clib.la -dlopen ../modules/curl/curl.la -dlopen ../modules/dxl/dxl.la -dlopen ../modules/gdbm/gdbm.la -dlopen ../modules/magick/magick.la -dlopen ../modules/odbc/odbc.la -dlopen ../modules/octave/octave.la -dlopen ../modules/tk/tk.la -dlopen ../modules/xml/xml.la -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libqmain.la -rpath /usr/lib64 q.lo qm.lo qmcode.lo qmfuns.lo qmmatch.lo qmprint.lo qmparse.lo qmlex.lo qbase.lo sys.lo random.lo uchar.lo getopt.lo getopt1.lo ../libq/libq.la -lgmp ../libltdl/libltdlc.la -lpthread -lreadline -lncurses -lncursesw -lcrypt -lrt -lutil -lm libtool: warning: '-dlopen self' is ignored for libtool libraries libtool: link: rm -f .libs/libqmain.nm .libs/libqmain.nmS .libs/libqmain.nmT libtool: link: rm -f ".libs/libqmain.nmI" libtool: link: (cd .libs && gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -fno-builtin -fPIC -DPIC "libqmainS.c") libtool: link: rm -f ".libs/libqmainS.c" ".libs/libqmain.nm" ".libs/libqmain.nmS" ".libs/libqmain.nmT" ".libs/libqmain.nmI" libtool: link: (cd .libs/libqmain.lax/libltdlc.a && ar x "/builddir/build/BUILD/q-7.11/src/../libltdl/.libs/libltdlc.a") libtool: link: ar cru .libs/libqmain.a q.o qm.o qmcode.o qmfuns.o qmmatch.o qmprint.o qmparse.o qmlex.o qbase.o sys.o random.o uchar.o getopt.o getopt1.o .libs/libqmainS.o .libs/libqmain.lax/libltdlc.a/dlopen.o .libs/libqmain.lax/libltdlc.a/libltdlcS.o .libs/libqmain.lax/libltdlc.a/libltdlc_la-lt__alloc.o .libs/libqmain.lax/libltdlc.a/libltdlc_la-lt_dlloader.o .libs/libqmain.lax/libltdlc.a/libltdlc_la-lt_error.o .libs/libqmain.lax/libltdlc.a/libltdlc_la-ltdl.o .libs/libqmain.lax/libltdlc.a/libltdlc_la-preopen.o .libs/libqmain.lax/libltdlc.a/libltdlc_la-slist.o .libs/libqmain.lax/libltdlc.a/lt__strl.o libtool: link: ranlib .libs/libqmain.a libtool: link: rm -fr .libs/libqmain.lax libtool: link: ( cd ".libs" && rm -f "libqmain.la" && ln -s "../libqmain.la" "libqmain.la" ) /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libqint_la-q.lo `test -f 'q.c' || echo './'`q.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c q.c -fPIC -DPIC -o .libs/libqint_la-q.o q.c:52:8: warning: type defaults to 'int' in declaration of 'unload_dlls' [-Wimplicit-int] 52 | static unload_dlls(void); | ^~~~~~~~~~~ q.c: In function '__qq__exitproc': q.c:61:7: warning: unused variable 'i' [-Wunused-variable] 61 | int i; | ^ q.c: In function 'mygetline1': q.c:766:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 766 | (l = strlen(bufp)) > 0 && bufp[l-1] == '\n') | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ q.c:774:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 774 | if (buf) | ^ q.c:785:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 785 | if (ferror(fp) || feof(fp) && !*buf) { | ~~~~~~~~~^~~~~~~~ q.c: At top level: q.c:797:8: warning: type defaults to 'int' in declaration of 'contd' [-Wimplicit-int] 797 | static contd(); | ^~~~~ q.c:949:8: warning: return type defaults to 'int' [-Wimplicit-int] 949 | static wsarg(char *arg) | ^~~~~ q.c:983:8: warning: return type defaults to 'int' [-Wimplicit-int] 983 | static qcarg(char *arg) | ^~~~~ q.c:995:8: warning: return type defaults to 'int' [-Wimplicit-int] 995 | static set_qcarg(int i, char *arg) | ^~~~~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from q.c:26: q.c: In function 'parse_opts': mangle.h:35:26: warning: implicit declaration of function '__qq__debug_parse_opts'; did you mean 'debug_parse_opts'? [-Wimplicit-function-declaration] 35 | #define debug_parse_opts __qq__debug_parse_opts | ^~~~~~~~~~~~~~~~~~~~~~ q.c:1039:12: note: in expansion of macro 'debug_parse_opts' 1039 | if (!debug_parse_opts(opts)) { | ^~~~~~~~~~~~~~~~ q.c: In function 'get_source_opts': q.c:1292:7: warning: unused variable 'i' [-Wunused-variable] 1292 | int i; | ^ q.c: At top level: q.c:1332:1: warning: return type defaults to 'int' [-Wimplicit-int] 1332 | spawn(char *prog, char *argv[]) | ^~~~~ q.c:1366:8: warning: type defaults to 'int' in declaration of 'resolve' [-Wimplicit-int] 1366 | static resolve(), init_dlls(); | ^~~~~~~ q.c:1366:19: warning: type defaults to 'int' in declaration of 'init_dlls' [-Wimplicit-int] 1366 | static resolve(), init_dlls(); | ^~~~~~~~~ q.c: In function 'dorun': q.c:1381:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1381 | chkfile(searchlib(fname, _source)) && q.c:1383:72: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1383 | chkfile(searchlib(fname, strcat(strcpy(fname2, _source), ".q"))) && q.c:1534:33: warning: unused variable 'argv0' [-Wunused-variable] 1534 | int count = 0; char *const *argv0 = argv; | ^~~~~ q.c:1595:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1595 | if (gflag) | ^ q.c:1374:45: warning: unused variable 'msg' [-Wunused-variable] 1374 | char fname[MAXSTRLEN], fname2[MAXSTRLEN], msg[MAXSTRLEN]; | ^~~ q.c: In function '__qq___qinter_mpz_floatexpr': q.c:1687:14: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 1687 | double ip, fp; | ^~ q.c: In function '__qq__getmpz_floatexpr': q.c:1757:9: warning: unused variable 'z' [-Wunused-variable] 1757 | mpz_t z; | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from q.c:26: q.c: In function '__qq___qinter_sentinel': mangle.h:213:20: warning: implicit declaration of function '__qq__qmsentinel'; did you mean '__qq__qmnew'? [-Wimplicit-function-declaration] 213 | #define qmsentinel __qq__qmsentinel | ^~~~~~~~~~~~~~~~ q.c:1782:3: note: in expansion of macro 'qmsentinel' 1782 | qmsentinel(get_thr(), x); | ^~~~~~~~~~ q.c: At top level: q.c:1847:8: warning: type defaults to 'int' in declaration of '__libq_init' [-Wimplicit-int] 1847 | extern __libq_init(); | ^~~~~~~~~~~ q.c:1849:8: warning: return type defaults to 'int' [-Wimplicit-int] 1849 | static resolve() | ^~~~~~~ q.c:1975:8: warning: return type defaults to 'int' [-Wimplicit-int] 1975 | static init_dlls() | ^~~~~~~~~ q.c:1985:8: warning: return type defaults to 'int' [-Wimplicit-int] 1985 | static unload_dlls() | ^~~~~~~~~~~ q.c:2008:8: warning: return type defaults to 'int' [-Wimplicit-int] 2008 | static gnuclient(char *sexp) | ^~~~~~~~~ q.c:2483:8: warning: return type defaults to 'int' [-Wimplicit-int] 2483 | static libmain(const char *path, int argc, char **argv) | ^~~~~~~ q.c: In function 'libmain': q.c:2553:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2553 | if (chkfile(searchlib(fname, source)) && q.c:2564:3: warning: label 'err' defined but not used [-Wunused-label] 2564 | err: | ^~~ q.c:2487:45: warning: unused variable 'msg' [-Wunused-variable] 2487 | char fname[MAXSTRLEN], fname2[MAXSTRLEN], msg[MAXSTRLEN]; | ^~~ q.c: In function 'qevalx': q.c:3009:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3009 | if (ret || thr->qmstat == XCEPT && thr->xsp > thr->xst) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ q.c: In function 'unload_dlls': q.c:2004:1: warning: control reaches end of non-void function [-Wreturn-type] 2004 | } | ^ q.c: In function 'mygetline1': q.c:795:1: warning: control reaches end of non-void function [-Wreturn-type] 795 | } | ^ q.c: In function 'qcarg': q.c:993:1: warning: control reaches end of non-void function [-Wreturn-type] 993 | } | ^ q.c: In function 'set_qcarg': q.c:1005:1: warning: control reaches end of non-void function [-Wreturn-type] 1005 | } | ^ q.c: In function 'init_dlls': q.c:1983:1: warning: control reaches end of non-void function [-Wreturn-type] 1983 | } | ^ q.c: In function 'gnuclient': q.c:2016:1: warning: control reaches end of non-void function [-Wreturn-type] 2016 | } | ^ At top level: q.c:1289:1: warning: 'get_source_opts' defined but not used [-Wunused-function] 1289 | get_source_opts(FILE *fp) | ^~~~~~~~~~~~~~~ q.c:949:8: warning: 'wsarg' defined but not used [-Wunused-function] 949 | static wsarg(char *arg) | ^~~~~ q.c:33:14: warning: 'helpmsg' defined but not used [-Wunused-variable] 33 | static char helpmsg[] = HELPMSG; | ^~~~~~~ q.c:32:14: warning: 'copying' defined but not used [-Wunused-variable] 32 | static char copying[] = COPYING; | ^~~~~~~ q.c:31:14: warning: 'terms' defined but not used [-Wunused-variable] 31 | static char terms[] = TERMS; | ^~~~~ q.c:30:14: warning: 'opts' defined but not used [-Wunused-variable] 30 | static char opts[4096]; | ^~~~ q.c:29:17: warning: 'usage' defined but not used [-Wunused-variable] 29 | static char usage[] = Q_USAGE; | ^~~~~ q.c:28:14: warning: 'signon' defined but not used [-Wunused-variable] 28 | static char signon[] = Q_SIGNON; | ^~~~~~ q.c: In function 'libmain': q.c:2513:24: warning: '%s' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2513 | sprintf(qcprog, "%s%s", prefix, "qc"); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from sys.h:58, from qbase.h:24, from qdefs.h:24, from q.c:26: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 1026 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q.c: In function 'dorun': q.c:1563:19: warning: '__qq__nargs' may be used uninitialized in this function [-Wmaybe-uninitialized] 1563 | while (nargs-- > 1) q.c:1566:23: warning: 'args' may be used uninitialized in this function [-Wmaybe-uninitialized] 1566 | symtb[ARGSOP].x = args; libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c q.c -o libqint_la-q.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libqint_la-qm.lo `test -f 'qm.c' || echo './'`qm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qm.c -fPIC -DPIC -o .libs/libqint_la-qm.o qm.c: In function '__qq__atfork_child': qm.c:331:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 331 | if (thr->xst) free(thr->xst); thr->xst = thr->xsp = NULL; | ^~ qm.c:331:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 331 | if (thr->xst) free(thr->xst); thr->xst = thr->xsp = NULL; | ^~~ qm.c:332:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 332 | if (thr->ast) free(thr->ast); thr->ast = thr->asp = NULL; | ^~ qm.c:332:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 332 | if (thr->ast) free(thr->ast); thr->ast = thr->asp = NULL; | ^~~ qm.c:333:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 333 | if (thr->args) free(thr->args); thr->args = NULL; | ^~ qm.c:333:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 333 | if (thr->args) free(thr->args); thr->args = NULL; | ^~~ qm.c:334:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 334 | if (thr->mark) free(thr->mark); thr->mark = NULL; | ^~ qm.c:334:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 334 | if (thr->mark) free(thr->mark); thr->mark = NULL; | ^~~ qm.c:336:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 336 | if (thr->vartb) free(thr->vartb); thr->vartb = NULL; | ^~ qm.c:336:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 336 | if (thr->vartb) free(thr->vartb); thr->vartb = NULL; | ^~~ qm.c: At top level: qm.c:728:8: warning: return type defaults to 'int' [-Wimplicit-int] 728 | static initfx(int fno) | ^~~~~~ qm.c: In function 'initfx': qm.c:738:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 738 | fno < BUILTIN && funtb[fno] && nargs[fno] == 0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qm.c: In function '__qq__init': qm.c:772:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 772 | (symtb[fno].type && (symtb[symtb[fno].type].flags & VIRT) || qm.c: In function 'x_alloc': qm.c:827:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 827 | if (x = xfreep) { | ^ qm.c: In function '__qq__qmfree': qm.c:1226:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1226 | if (x->type) | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qm.c:24: mangle.h:178:14: warning: label '__qq__push' defined but not used [-Wunused-label] 178 | #define push __qq__push | ^~~~~~~~~~ qm.c:1189:7: note: in expansion of macro 'push' 1189 | push: | ^~~~ qm.c: In function '__qq__usrexpr': qm.c:1649:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1649 | if (type) | ^ qm.c: In function '__qq__consexpr': qm.c:1749:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1749 | x->red = thr->mode || x1->red || !(get_argv(x1)&1) && x2->red; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ qm.c: In function 'memexpr': qm.c:1772:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1772 | if (y->mem || !y->red || fno < RESERVED && fno != VECTOP) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ qm.c: In function '__qq__pushfun': qm.c:1996:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1996 | if (x = vectexpr(thr, n+1, xv)) { | ^ qm.c:2007:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2007 | if (x = consexpr(thr, fno, thr->xsp[-2], thr->xsp[-1])) { | ^ qm.c:2015:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2015 | if (x = funexpr(thr, fno)) { | ^ qm.c: In function 'evalb': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2228:9: note: in expansion of macro 'have_fun' 2228 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2228:9: note: in expansion of macro 'have_fun' 2228 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2239:11: note: in expansion of macro 'exec_fun' 2239 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2239:11: note: in expansion of macro 'exec_fun' 2239 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2259:14: note: in expansion of macro 'have_fun' 2259 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2259:14: note: in expansion of macro 'have_fun' 2259 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2262:11: note: in expansion of macro 'exec_fun' 2262 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2262:11: note: in expansion of macro 'exec_fun' 2262 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c:2215:27: warning: unused variable 'rc' [-Wunused-variable] 2215 | int n, *rp, rc; | ^~ qm.c:2215:23: warning: unused variable 'rp' [-Wunused-variable] 2215 | int n, *rp, rc; | ^~ qm.c: At top level: qm.c:2279:8: warning: return type defaults to 'int' [-Wimplicit-int] 2279 | static evalb_with_frame(THREAD *thr, | ^~~~~~~~~~~~~~~~ qm.c: In function 'evalb_with_frame': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2297:9: note: in expansion of macro 'have_fun' 2297 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2297:9: note: in expansion of macro 'have_fun' 2297 | if (have_fun(x->fno, x->type, n)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2311:11: note: in expansion of macro 'exec_fun' 2311 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2311:11: note: in expansion of macro 'exec_fun' 2311 | if (exec_fun(thr, x->fno, x->type, argc)) { | ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2334:14: note: in expansion of macro 'have_fun' 2334 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2203 | #define have_fun(fno,type,n) fno < BUILTIN && \ | ^ qm.c:2334:14: note: in expansion of macro 'have_fun' 2334 | else if (have_fun(fno, 0, 0)) { | ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2209 | (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2340:11: note: in expansion of macro 'exec_fun' 2340 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2208 | #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ | ^ qm.c:2340:11: note: in expansion of macro 'exec_fun' 2340 | if (exec_fun(thr, fno, 0, 0)) { | ^~~~~~~~ qm.c: In function 'eval_internal': qm.c:3569:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3569 | if (!x->red || !x->raw && thr->mode) | ~~~~~~~~^~~~~~~~~~~~ qm.c: In function '__qq__eval': qm.c:3655:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3655 | cstackmax > 0 && stack_dir*(&base - thr->baseptr) >= cstackmax) { qm.c: In function 'print_stacked_rule': qm.c:3868:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3868 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld qm.c: In function 'print_stack': qm.c:3890:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3890 | printf("stack size: %d\n", thr->asp-thr->ast+1); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld qm.c:3892:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3892 | printf("%3d> ", abp-thr->ast); | ~~^ ~~~~~~~~~~~~ | | | | int long int | %3ld qm.c:3898:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3898 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qm.c:24: qm.c: At top level: mangle.h:169:27: warning: type defaults to 'int' in declaration of '__qq__print_breakpoints' [-Wimplicit-int] 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qm.c:4052:8: note: in expansion of macro 'print_breakpoints' 4052 | extern print_breakpoints(); | ^~~~~~~~~~~~~~~~~ qm.c: In function 'rule': qm.c:4074:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 4074 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld qm.c:4249:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 4249 | printf("%3d> ", thr->asp-thr->ast-base); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld qm.c:4275:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 4275 | printf("heap: %d cells (%d used, %d free) out of %d\n", | ~^ | | | int | %ld 4276 | xnblks*XBLKSZ, mexprs, fexprs, memmax); | ~~~~~~ | | | long unsigned int qm.c:4275:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 4275 | printf("heap: %d cells (%d used, %d free) out of %d\n", | ~^ | | | int | %ld qm.c:4278:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 4278 | printf("heap: %d cells (%d used, %d free)\n", | ~^ | | | int | %ld 4279 | xnblks*XBLKSZ, mexprs, fexprs); | ~~~~~~ | | | long unsigned int qm.c:4278:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 4278 | printf("heap: %d cells (%d used, %d free)\n", | ~^ | | | int | %ld qm.c: At top level: qm.c:4475:1: warning: return type defaults to 'int' [-Wimplicit-int] 4475 | varcmp(v1, v2) | ^~~~~~ qm.c: In function 'listvars': qm.c:4506:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4506 | if (i > 0) | ^ qm.c: In function 'lastoffs': qm.c:4902:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4902 | if (ip->opcode == MATCHOP) | ^ qm.c: In function 'printc': qm.c:4914:17: warning: unused variable 'maxoffs' [-Wunused-variable] 4914 | int maxoffs = (fno==APPOP)?(top-xbp-2):(top-xbp); | ^~~~~~~ qm.c: In function '__qq__mksym': qm.c:5135:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5135 | if (matchsym(fno, s) && | ^ qm.c: In function '__qq__getsym': qm.c:5311:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5311 | if (matchsym(fno, s) && | ^ qm.c: In function '__qq__gettype': qm.c:5368:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5368 | if (matchtyp(type, s) && | ^ qm.c: At top level: qm.c:86:14: warning: 'x_copy' declared 'static' but never defined [-Wunused-function] 86 | static EXPR *x_copy(EXPR *x); | ^~~~~~ qm.c:87:13: warning: 'xcopy_cleanup' declared 'static' but never defined [-Wunused-function] 87 | static void xcopy_cleanup(void); | ^~~~~~~~~~~~~ qm.c: In function 'initfx': qm.c:748:1: warning: control reaches end of non-void function [-Wreturn-type] 748 | } | ^ At top level: qm.c:4588:12: warning: 'getvar' defined but not used [-Wunused-function] 4588 | static int getvar(THREAD *thr, char *name, int offs) | ^~~~~~ qm.c: In function '__qq__getsym': qm.c:5278:17: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized] 5278 | else if (impib[p] & 2) | ^ qm.c:5299:35: note: 'p1' was declared here 5299 | int fno, fno1 = NONE, p = NONE, p1; | ^~ qm.c: In function 'evalu': qm.c:3016:19: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized] 3016 | if (thr->mode && thr->xsp-thr->xst-1 == start) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qm.c: In function '__qq__evaldef1': qm.c:3340:22: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized] 3340 | if (thr0->mode && thr0->xsp-thr0->xst-1 == start) qm.c: In function '__qq__gettype': qm.c:5278:17: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized] 5278 | else if (impib[p] & 2) | ^ qm.c:5356:37: note: 'p1' was declared here 5356 | int type, type1 = NONE, p = NONE, p1; | ^~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qm.c -o libqint_la-qm.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libqint_la-qmcode.lo `test -f 'qmcode.c' || echo './'`qmcode.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmcode.c -fPIC -DPIC -o .libs/libqint_la-qmcode.o qmcode.c: In function '__qq__iscode': qmcode.c:33:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | fread(magic, sizeof(char), strlen(outid)+1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c: In function '__qq__readtables': qmcode.c:62:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | fread(outid1, sizeof(char), strlen(outid)+1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:65:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | fread(&mainno, sizeof mainno, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:66:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 66 | fread(&codespsz, sizeof codespsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:67:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | fread(&strspsz, sizeof strspsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:68:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | fread(&limbspsz, sizeof limbspsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:69:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | fread(&hashtbsz, sizeof hashtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:70:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | fread(&symtbsz, sizeof symtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:71:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | fread(&statetbsz, sizeof statetbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:72:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | fread(&transtbsz, sizeof transtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:73:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | fread(&roffstbsz, sizeof roffstbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:74:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | fread(&matchtbsz, sizeof matchtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:75:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | fread(&inittbsz, sizeof inittbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:76:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | fread(&modtbsz, sizeof modtbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:77:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | fread(&imptbsz, sizeof imptbsz, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:137:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 137 | fread(codesp, sizeof(OPREC), codespsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:138:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 138 | fread(strsp, sizeof(char), strspsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:139:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 139 | fread(limbsp, sizeof(mp_limb_t), limbspsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:140:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | fread(hashtb, sizeof(int), hashtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:141:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 141 | fread(symtb, sizeof(SYMREC), symtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:142:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 142 | fread(statetb, sizeof(STATEREC), statetbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:143:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | fread(transtb, sizeof(TRANSREC), transtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:144:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 144 | fread(roffstb, sizeof(int), roffstbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:145:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 145 | fread(matchtb, sizeof(int), matchtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:146:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | fread(inittb, sizeof(int), inittbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:147:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | fread(modtb, sizeof(int), modtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:148:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | fread(fnametb, sizeof(int), modtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:149:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 149 | fread(imports, sizeof(int), modtbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:150:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 150 | fread(imptb, sizeof(int), imptbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:151:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 151 | fread(impib, sizeof(byte), imptbsz, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmcode.c -o libqint_la-qmcode.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libqint_la-qmfuns.lo `test -f 'qmfuns.c' || echo './'`qmfuns.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmfuns.c -fPIC -DPIC -o .libs/libqint_la-qmfuns.o qmfuns.c: In function 'u8strpos': qmfuns.c:351:17: warning: unused variable 's0' [-Wunused-variable] 351 | char *t = s, *s0 = s; | ^~ qmfuns.c: In function 'u8encode': qmfuns.c:454:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 454 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:459:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 459 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:461:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 461 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:466:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 466 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:468:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 468 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c:470:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 470 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmfuns.c: At top level: qmfuns.c:878:1: warning: return type defaults to 'int' [-Wimplicit-int] 878 | xeq(THREAD *thr, EXPR *x, EXPR *y) | ^~~ qmfuns.c: In function 'xeq': qmfuns.c:904:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 904 | if (x->data.f == y->data.f || is_nan(x->data.f) && is_nan(y->data.f)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:981:1: warning: return type defaults to 'int' [-Wimplicit-int] 981 | xeqchk(THREAD *thr, EXPR *x, EXPR *y) | ^~~~~~ qmfuns.c:1002:1: warning: return type defaults to 'int' [-Wimplicit-int] 1002 | add_vtb(THREAD *thr, int fno, EXPR *x) | ^~~~~~~ qmfuns.c:1045:1: warning: return type defaults to 'int' [-Wimplicit-int] 1045 | xmatch(THREAD *thr, EXPR *x, EXPR *y, int mode, int vmode) | ^~~~~~ qmfuns.c: In function 'xmatch': qmfuns.c:1133:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1133 | return x->data.f == y->data.f || is_nan(x->data.f) && is_nan(y->data.f); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:1166:1: warning: return type defaults to 'int' [-Wimplicit-int] 1166 | qmdef(THREAD* thr) | ^~~~~ qmfuns.c:1191:1: warning: return type defaults to 'int' [-Wimplicit-int] 1191 | qmundef(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'xlpat': qmfuns.c:1285:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1285 | if (y1 = xlpat(thr, x1, env)) | ^~ qmfuns.c: In function 'cleanup': qmfuns.c:1350:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1350 | if (x != t) | ^ qmfuns.c: In function 'xlbody': qmfuns.c:1447:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1447 | if (y1 = xlbody(thr, x1, key, env)) | ^~ qmfuns.c: At top level: qmfuns.c:1532:1: warning: return type defaults to 'int' [-Wimplicit-int] 1532 | xlmatch(THREAD *thr, EXPRL **xvars, int mode, int vmode, | ^~~~~~~ qmfuns.c: In function 'xlmatch': qmfuns.c:1658:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1658 | res = x->data.f == y->data.f || is_nan(x->data.f) && is_nan(y->data.f); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ qmfuns.c: In function 'xlcppat': qmfuns.c:1793:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1793 | if (y1 = xlcppat(thr, x1, xenv)) | ^~ qmfuns.c: In function 'xlrepl': qmfuns.c:1899:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1899 | if (y1 = xlrepl(thr, x1, key, xenv)) | ^~ qmfuns.c: At top level: qmfuns.c:1945:8: warning: return type defaults to 'int' [-Wimplicit-int] 1945 | static qmlambda(THREAD* thr) | ^~~~~~~~ qmfuns.c: In function 'qmlambda': qmfuns.c:1984:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1984 | if (x) | ^ qmfuns.c: At top level: qmfuns.c:2005:8: warning: return type defaults to 'int' [-Wimplicit-int] 2005 | static qmlambda_app(THREAD* thr) | ^~~~~~~~~~~~ qmfuns.c:2114:1: warning: return type defaults to 'int' [-Wimplicit-int] 2114 | xfindvar(xxvartb_t *vtb, int vno) | ^~~~~~~~ qmfuns.c: In function 'xclosview': qmfuns.c:2179:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2179 | if (y1 = consexpr(thr, APPOP, f, y1)) | ^~ qmfuns.c:2200:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2200 | if (y1 = xclosview(thr, x1, vtb, env)) | ^~ qmfuns.c: At top level: qmfuns.c:2246:8: warning: return type defaults to 'int' [-Wimplicit-int] 2246 | static qmview(THREAD *thr) | ^~~~~~ qmfuns.c:2271:1: warning: return type defaults to 'int' [-Wimplicit-int] 2271 | strconcat(THREAD *thr, char *s1, char *s2) | ^~~~~~~~~ qmfuns.c:2285:1: warning: return type defaults to 'int' [-Wimplicit-int] 2285 | listconcat(THREAD *thr, EXPR *x1, EXPR *x2) | ^~~~~~~~~~ qmfuns.c:2310:1: warning: return type defaults to 'int' [-Wimplicit-int] 2310 | vectconcat(THREAD *thr, int n1, EXPR **xv1, int n2, EXPR **xv2) | ^~~~~~~~~~ qmfuns.c: In function 'vectconcat': qmfuns.c:2315:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2315 | if (n1 >= INT_MAX - n2 || n1+n2>0 && (xv = malloc((n1+n2)*sizeof(EXPR*))) | ^ qmfuns.c: At top level: qmfuns.c:2330:1: warning: return type defaults to 'int' [-Wimplicit-int] 2330 | tupleconcat(THREAD *thr, EXPR *x1, EXPR *x2) | ^~~~~~~~~~~ qmfuns.c:2366:8: warning: return type defaults to 'int' [-Wimplicit-int] 2366 | static qmconcat(THREAD* thr) | ^~~~~~~~ qmfuns.c:2440:8: warning: return type defaults to 'int' [-Wimplicit-int] 2440 | static qmadd(THREAD* thr) | ^~~~~ qmfuns.c:2506:8: warning: return type defaults to 'int' [-Wimplicit-int] 2506 | static qmmin(THREAD* thr) | ^~~~~ qmfuns.c:2583:8: warning: return type defaults to 'int' [-Wimplicit-int] 2583 | static qmmul(THREAD* thr) | ^~~~~ qmfuns.c:2617:8: warning: return type defaults to 'int' [-Wimplicit-int] 2617 | static qmfdiv(THREAD* thr) | ^~~~~~ qmfuns.c:2649:8: warning: return type defaults to 'int' [-Wimplicit-int] 2649 | static qmdiv(THREAD* thr) | ^~~~~ qmfuns.c:2662:8: warning: return type defaults to 'int' [-Wimplicit-int] 2662 | static qmmod(THREAD* thr) | ^~~~~ qmfuns.c:2674:8: warning: return type defaults to 'int' [-Wimplicit-int] 2674 | static qmpow(THREAD* thr) | ^~~~~ qmfuns.c: In function 'qmpow': qmfuns.c:2691:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2690 | (mpz_sgn(args[0]->data.z) >= 0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2691 | modf(args[1]->data.f, &ip) == 0.0) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 2692 | (mpz_sgn(args[0]->data.z) != 0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2693 | args[1]->data.f != 0.0)) | ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c:2715:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2714 | (args[0]->data.f >= 0.0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 2715 | modf(args[1]->data.f, &ip) == 0.0) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 2716 | (args[0]->data.f != 0.0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 2717 | args[1]->data.f != 0.0)) | ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:2735:8: warning: return type defaults to 'int' [-Wimplicit-int] 2735 | static qmidx(THREAD* thr) | ^~~~~ qmfuns.c:2793:8: warning: return type defaults to 'int' [-Wimplicit-int] 2793 | static qmcomp(THREAD* thr) | ^~~~~~ qmfuns.c:2808:8: warning: return type defaults to 'int' [-Wimplicit-int] 2808 | static qmumin(THREAD* thr) | ^~~~~~ qmfuns.c:2821:8: warning: return type defaults to 'int' [-Wimplicit-int] 2821 | static qmhash(THREAD* thr) | ^~~~~~ qmfuns.c:2861:8: warning: return type defaults to 'int' [-Wimplicit-int] 2861 | static qmunquote(THREAD* thr) | ^~~~~~~~~ qmfuns.c:2882:8: warning: return type defaults to 'int' [-Wimplicit-int] 2882 | static qmforce(THREAD* thr) | ^~~~~~~ qmfuns.c:2888:8: warning: return type defaults to 'int' [-Wimplicit-int] 2888 | static qmmem(THREAD* thr) | ^~~~~ qmfuns.c:2896:8: warning: return type defaults to 'int' [-Wimplicit-int] 2896 | static qmor(THREAD* thr) | ^~~~ qmfuns.c:2914:8: warning: return type defaults to 'int' [-Wimplicit-int] 2914 | static qmorelse(THREAD* thr) | ^~~~~~~~ qmfuns.c:2926:8: warning: return type defaults to 'int' [-Wimplicit-int] 2926 | static qmand(THREAD* thr) | ^~~~~ qmfuns.c:2944:8: warning: return type defaults to 'int' [-Wimplicit-int] 2944 | static qmandthen(THREAD* thr) | ^~~~~~~~~ qmfuns.c:2956:8: warning: return type defaults to 'int' [-Wimplicit-int] 2956 | static qmnot(THREAD* thr) | ^~~~~ qmfuns.c:2972:1: warning: return type defaults to 'int' [-Wimplicit-int] 2972 | xcmp(EXPR *x, EXPR *y, int *result) | ^~~~ qmfuns.c:3041:8: warning: return type defaults to 'int' [-Wimplicit-int] 3041 | static qmle(THREAD* thr) | ^~~~ qmfuns.c:3057:8: warning: return type defaults to 'int' [-Wimplicit-int] 3057 | static qmgr(THREAD* thr) | ^~~~ qmfuns.c:3073:8: warning: return type defaults to 'int' [-Wimplicit-int] 3073 | static qmeq(THREAD* thr) | ^~~~ qmfuns.c:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] 3089 | static qmleq(THREAD* thr) | ^~~~~ qmfuns.c:3105:8: warning: return type defaults to 'int' [-Wimplicit-int] 3105 | static qmgeq(THREAD* thr) | ^~~~~ qmfuns.c:3121:8: warning: return type defaults to 'int' [-Wimplicit-int] 3121 | static qmneq(THREAD* thr) | ^~~~~ qmfuns.c:3137:8: warning: return type defaults to 'int' [-Wimplicit-int] 3137 | static qmid(THREAD* thr) | ^~~~ qmfuns.c:3146:8: warning: return type defaults to 'int' [-Wimplicit-int] 3146 | static qmrapp(THREAD* thr) | ^~~~~~ qmfuns.c:3161:8: warning: return type defaults to 'int' [-Wimplicit-int] 3161 | static qmseq(THREAD* thr) | ^~~~~ qmfuns.c:3167:8: warning: return type defaults to 'int' [-Wimplicit-int] 3167 | static shl(THREAD *thr, mpz_t z, int i) | ^~~ qmfuns.c:3199:8: warning: return type defaults to 'int' [-Wimplicit-int] 3199 | static shr(THREAD *thr, mpz_t z, int i) | ^~~ qmfuns.c:3224:8: warning: return type defaults to 'int' [-Wimplicit-int] 3224 | static qmshl(THREAD* thr) | ^~~~~ qmfuns.c:3251:8: warning: return type defaults to 'int' [-Wimplicit-int] 3251 | static qmshr(THREAD* thr) | ^~~~~ qmfuns.c:3278:8: warning: return type defaults to 'int' [-Wimplicit-int] 3278 | static qmpred(THREAD* thr) | ^~~~~~ qmfuns.c:3303:8: warning: return type defaults to 'int' [-Wimplicit-int] 3303 | static qmsucc(THREAD* thr) | ^~~~~~ qmfuns.c:3328:8: warning: return type defaults to 'int' [-Wimplicit-int] 3328 | static qmenum(THREAD* thr) | ^~~~~~ qmfuns.c:3487:8: warning: return type defaults to 'int' [-Wimplicit-int] 3487 | static qmenum1(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmenum1': qmfuns.c:3511:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3511 | n > 1 && t0 != t1) | ~~~~~~^~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:3541:8: warning: return type defaults to 'int' [-Wimplicit-int] 3541 | static qmexp(THREAD* thr) | ^~~~~ qmfuns.c:3554:8: warning: return type defaults to 'int' [-Wimplicit-int] 3554 | static qmln(THREAD* thr) | ^~~~ qmfuns.c:3574:8: warning: return type defaults to 'int' [-Wimplicit-int] 3574 | static qmsqrt(THREAD* thr) | ^~~~~~ qmfuns.c:3593:8: warning: return type defaults to 'int' [-Wimplicit-int] 3593 | static qmsin(THREAD* thr) | ^~~~~ qmfuns.c:3606:8: warning: return type defaults to 'int' [-Wimplicit-int] 3606 | static qmcos(THREAD* thr) | ^~~~~ qmfuns.c:3619:8: warning: return type defaults to 'int' [-Wimplicit-int] 3619 | static qmatan(THREAD* thr) | ^~~~~~ qmfuns.c:3632:8: warning: return type defaults to 'int' [-Wimplicit-int] 3632 | static qmatan2(THREAD* thr) | ^~~~~~~ qmfuns.c:3663:8: warning: return type defaults to 'int' [-Wimplicit-int] 3663 | static qmrandom(THREAD* thr) | ^~~~~~~~ qmfuns.c: In function 'qmrandom': qmfuns.c:3665:10: warning: unused variable 'args' [-Wunused-variable] 3665 | EXPR **args = thr->args; | ^~~~ qmfuns.c: At top level: qmfuns.c:3677:8: warning: return type defaults to 'int' [-Wimplicit-int] 3677 | static qmseed(THREAD* thr) | ^~~~~~ qmfuns.c:3687:8: warning: return type defaults to 'int' [-Wimplicit-int] 3687 | static qmsub(THREAD* thr) | ^~~~~ qmfuns.c: In function 'qmsub': qmfuns.c:3695:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3695 | if (i < 0) i = 0; c = j-i+1; | ^~ qmfuns.c:3695:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3695 | if (i < 0) i = 0; c = j-i+1; | ^ qmfuns.c: At top level: qmfuns.c:3803:8: warning: return type defaults to 'int' [-Wimplicit-int] 3803 | static qmsubstr(THREAD* thr) | ^~~~~~~~ qmfuns.c:3852:8: warning: return type defaults to 'int' [-Wimplicit-int] 3852 | static qmpos(THREAD* thr) | ^~~~~ qmfuns.c:3872:8: warning: return type defaults to 'int' [-Wimplicit-int] 3872 | static qmint(THREAD* thr) | ^~~~~ qmfuns.c: In function 'qmint': qmfuns.c:3876:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 3876 | double ip, fp; | ^~ qmfuns.c: At top level: qmfuns.c:3885:8: warning: return type defaults to 'int' [-Wimplicit-int] 3885 | static qmfrac(THREAD* thr) | ^~~~~~ qmfuns.c:3898:8: warning: return type defaults to 'int' [-Wimplicit-int] 3898 | static qmtrunc(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmtrunc': qmfuns.c:3902:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 3902 | double ip, fp, dsz; | ^~ qmfuns.c: At top level: qmfuns.c:3919:8: warning: return type defaults to 'int' [-Wimplicit-int] 3919 | static qmround(THREAD* thr) | ^~~~~~~ qmfuns.c:3938:8: warning: return type defaults to 'int' [-Wimplicit-int] 3938 | static qmfloat(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'ptr_hash': qmfuns.c:3988:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3988 | return (unsigned)p; | ^ qmfuns.c: At top level: qmfuns.c:4025:8: warning: return type defaults to 'int' [-Wimplicit-int] 4025 | static qmhashnum(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4031:8: warning: return type defaults to 'int' [-Wimplicit-int] 4031 | static qmord(THREAD* thr) | ^~~~~ qmfuns.c:4046:8: warning: return type defaults to 'int' [-Wimplicit-int] 4046 | static qmchr(THREAD* thr) | ^~~~~ qmfuns.c:4073:8: warning: return type defaults to 'int' [-Wimplicit-int] 4073 | static qmlist(THREAD* thr) | ^~~~~~ qmfuns.c:4092:8: warning: return type defaults to 'int' [-Wimplicit-int] 4092 | static qmtuple(THREAD* thr) | ^~~~~~~ qmfuns.c:4114:8: warning: return type defaults to 'int' [-Wimplicit-int] 4114 | static qmstr(THREAD* thr) | ^~~~~ qmfuns.c:4125:8: warning: return type defaults to 'int' [-Wimplicit-int] 4125 | static qmval(THREAD* thr) | ^~~~~ qmfuns.c:4145:8: warning: return type defaults to 'int' [-Wimplicit-int] 4145 | static qmstrq(THREAD* thr) | ^~~~~~ qmfuns.c:4160:8: warning: return type defaults to 'int' [-Wimplicit-int] 4160 | static qmvalq(THREAD* thr) | ^~~~~~ qmfuns.c:4181:8: warning: return type defaults to 'int' [-Wimplicit-int] 4181 | static qmisspecial(THREAD* thr) | ^~~~~~~~~~~ qmfuns.c:4192:8: warning: return type defaults to 'int' [-Wimplicit-int] 4192 | static qmisconst(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4203:8: warning: return type defaults to 'int' [-Wimplicit-int] 4203 | static qmisfun(THREAD* thr) | ^~~~~~~ qmfuns.c:4212:8: warning: return type defaults to 'int' [-Wimplicit-int] 4212 | static qmisvar(THREAD* thr) | ^~~~~~~ qmfuns.c:4221:8: warning: return type defaults to 'int' [-Wimplicit-int] 4221 | static qmisdef(THREAD* thr) | ^~~~~~~ qmfuns.c:4230:8: warning: return type defaults to 'int' [-Wimplicit-int] 4230 | static qmflip(THREAD* thr) | ^~~~~~ qmfuns.c:4246:8: warning: type defaults to 'int' in declaration of 'qmfread' [-Wimplicit-int] 4246 | static qmfread(THREAD* thr); | ^~~~~~~ qmfuns.c:4248:8: warning: return type defaults to 'int' [-Wimplicit-int] 4248 | static qmread(THREAD* thr) | ^~~~~~ qmfuns.c:4258:8: warning: type defaults to 'int' in declaration of 'qmfreadq' [-Wimplicit-int] 4258 | static qmfreadq(THREAD* thr); | ^~~~~~~~ qmfuns.c:4260:8: warning: return type defaults to 'int' [-Wimplicit-int] 4260 | static qmreadq(THREAD* thr) | ^~~~~~~ qmfuns.c:4270:8: warning: type defaults to 'int' in declaration of 'qmfreadc' [-Wimplicit-int] 4270 | static qmfreadc(THREAD* thr); | ^~~~~~~~ qmfuns.c:4272:8: warning: return type defaults to 'int' [-Wimplicit-int] 4272 | static qmreadc(THREAD* thr) | ^~~~~~~ qmfuns.c:4282:8: warning: type defaults to 'int' in declaration of 'qmfreads' [-Wimplicit-int] 4282 | static qmfreads(THREAD* thr); | ^~~~~~~~ qmfuns.c:4284:8: warning: return type defaults to 'int' [-Wimplicit-int] 4284 | static qmreads(THREAD* thr) | ^~~~~~~ qmfuns.c:4294:8: warning: type defaults to 'int' in declaration of 'qmfwrite' [-Wimplicit-int] 4294 | static qmfwrite(THREAD* thr); | ^~~~~~~~ qmfuns.c:4296:8: warning: return type defaults to 'int' [-Wimplicit-int] 4296 | static qmwrite(THREAD* thr) | ^~~~~~~ qmfuns.c:4307:8: warning: type defaults to 'int' in declaration of 'qmfwriteq' [-Wimplicit-int] 4307 | static qmfwriteq(THREAD* thr); | ^~~~~~~~~ qmfuns.c:4309:8: warning: return type defaults to 'int' [-Wimplicit-int] 4309 | static qmwriteq(THREAD* thr) | ^~~~~~~~ qmfuns.c:4320:8: warning: type defaults to 'int' in declaration of 'qmfwritec' [-Wimplicit-int] 4320 | static qmfwritec(THREAD* thr); | ^~~~~~~~~ qmfuns.c:4322:8: warning: return type defaults to 'int' [-Wimplicit-int] 4322 | static qmwritec(THREAD* thr) | ^~~~~~~~ qmfuns.c:4333:8: warning: type defaults to 'int' in declaration of 'qmfwrites' [-Wimplicit-int] 4333 | static qmfwrites(THREAD* thr); | ^~~~~~~~~ qmfuns.c:4335:8: warning: return type defaults to 'int' [-Wimplicit-int] 4335 | static qmwrites(THREAD* thr) | ^~~~~~~~ qmfuns.c:4346:8: warning: return type defaults to 'int' [-Wimplicit-int] 4346 | static qmfread(THREAD* thr) | ^~~~~~~ qmfuns.c:4378:8: warning: return type defaults to 'int' [-Wimplicit-int] 4378 | static qmfreadq(THREAD* thr) | ^~~~~~~~ qmfuns.c:4414:8: warning: return type defaults to 'int' [-Wimplicit-int] 4414 | static qmfreadc(THREAD* thr) | ^~~~~~~~ qmfuns.c:4473:8: warning: return type defaults to 'int' [-Wimplicit-int] 4473 | static qmfreads(THREAD* thr) | ^~~~~~~~ qmfuns.c: In function 'qmfreads': qmfuns.c:4498:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4498 | if (s1 = (char*) arealloc(s, a, MAXSTRLEN, | ^~ qmfuns.c:4530:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4530 | if (!r && !*s || thr == thr0 && checkbrk) { | ~~~^~~~~~ qmfuns.c: At top level: qmfuns.c:4568:8: warning: return type defaults to 'int' [-Wimplicit-int] 4568 | static qmfwrite(THREAD* thr) | ^~~~~~~~ qmfuns.c:4591:8: warning: return type defaults to 'int' [-Wimplicit-int] 4591 | static qmfwriteq(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4615:8: warning: return type defaults to 'int' [-Wimplicit-int] 4615 | static qmfwritec(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4649:8: warning: return type defaults to 'int' [-Wimplicit-int] 4649 | static qmfwrites(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4685:8: warning: return type defaults to 'int' [-Wimplicit-int] 4685 | static qmfopen(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmfopen': qmfuns.c:4694:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4694 | (mode[1] == '\0' || mode[1] == 'b' && mode[2] == '\0')) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:4722:8: warning: return type defaults to 'int' [-Wimplicit-int] 4722 | static qmpopen(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmpopen': qmfuns.c:4731:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4731 | (mode[1] == '\0' || mode[1] == 'b' && mode[2] == '\0')) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qmfuns.c:4752:2: warning: implicit declaration of function 'setlinebuf'; did you mean 'setvbuf'? [-Wimplicit-function-declaration] 4752 | setlinebuf(fp); | ^~~~~~~~~~ | setvbuf qmfuns.c: At top level: qmfuns.c:4761:8: warning: return type defaults to 'int' [-Wimplicit-int] 4761 | static qmfclose(THREAD* thr) | ^~~~~~~~ qmfuns.c:4796:8: warning: type defaults to 'int' in declaration of 'qmfeof' [-Wimplicit-int] 4796 | static qmfeof(THREAD* thr); | ^~~~~~ qmfuns.c:4798:8: warning: return type defaults to 'int' [-Wimplicit-int] 4798 | static qmeof(THREAD* thr) | ^~~~~ qmfuns.c:4808:8: warning: return type defaults to 'int' [-Wimplicit-int] 4808 | static qmfeof(THREAD* thr) | ^~~~~~ qmfuns.c:4847:8: warning: type defaults to 'int' in declaration of 'qmfflush' [-Wimplicit-int] 4847 | static qmfflush(THREAD* thr); | ^~~~~~~~ qmfuns.c:4849:8: warning: return type defaults to 'int' [-Wimplicit-int] 4849 | static qmflush(THREAD* thr) | ^~~~~~~ qmfuns.c:4859:8: warning: return type defaults to 'int' [-Wimplicit-int] 4859 | static qmfflush(THREAD* thr) | ^~~~~~~~ qmfuns.c:4874:8: warning: return type defaults to 'int' [-Wimplicit-int] 4874 | static qmversion(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4879:8: warning: return type defaults to 'int' [-Wimplicit-int] 4879 | static qmsysinfo(THREAD* thr) | ^~~~~~~~~ qmfuns.c:4884:8: warning: return type defaults to 'int' [-Wimplicit-int] 4884 | static qmwhich(THREAD* thr) | ^~~~~~~ qmfuns.c:4931:8: warning: return type defaults to 'int' [-Wimplicit-int] 4931 | static qmhalt(THREAD* thr) | ^~~~~~ qmfuns.c:4937:8: warning: return type defaults to 'int' [-Wimplicit-int] 4937 | static qmquit(THREAD* thr) | ^~~~~~ qmfuns.c:4943:8: warning: return type defaults to 'int' [-Wimplicit-int] 4943 | static qmbreak(THREAD* thr) | ^~~~~~~ qmfuns.c:4949:8: warning: return type defaults to 'int' [-Wimplicit-int] 4949 | static qmcatch(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmcatch': qmfuns.c:4957:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4957 | } else if (thr == thr0 && checkbrk || qmfuns.c: At top level: qmfuns.c:4977:8: warning: return type defaults to 'int' [-Wimplicit-int] 4977 | static qmthrow(THREAD* thr) | ^~~~~~~ qmfuns.c:4992:8: warning: return type defaults to 'int' [-Wimplicit-int] 4992 | static qmtrap(THREAD* thr) | ^~~~~~ qmfuns.c:5085:8: warning: return type defaults to 'int' [-Wimplicit-int] 5085 | static qmfail(THREAD* thr) | ^~~~~~ qmfuns.c:5091:8: warning: return type defaults to 'int' [-Wimplicit-int] 5091 | static qmfail2(THREAD* thr) | ^~~~~~~ qmfuns.c:5097:8: warning: return type defaults to 'int' [-Wimplicit-int] 5097 | static qmtime(THREAD* thr) | ^~~~~~ qmfuns.c:5102:8: warning: return type defaults to 'int' [-Wimplicit-int] 5102 | static qmsleep(THREAD* thr) | ^~~~~~~ qmfuns.c: In function 'qmenum': qmfuns.c:3460:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] 3460 | inc = x1-x0; | ~~~~^~~~~~~ qmfuns.c:3475:5: warning: 'x0' may be used uninitialized in this function [-Wmaybe-uninitialized] 3475 | x0 += inc; | ~~~^~~~~~ qmfuns.c:3352:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] 3352 | inc = x1-x0; | ~~~~^~~~~~~ qmfuns.c:3333:10: warning: 'x0' may be used uninitialized in this function [-Wmaybe-uninitialized] 3333 | long x0, x1, x2 = u8decode(args[1]->data.s); | ^~ qmfuns.c: In function 'qmfreadc': qmfuns.c:4448:13: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] 4448 | while (c != '\n' && c != EOF) | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmfuns.c -o libqint_la-qmfuns.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libqint_la-qmmatch.lo `test -f 'qmmatch.c' || echo './'`qmmatch.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmmatch.c -fPIC -DPIC -o .libs/libqint_la-qmmatch.o qmmatch.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] 39 | nextstate(int s, int type, int fno) | ^~~~~~~~~ qmmatch.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] 83 | defaultstate(int s, int type) | ^~~~~~~~~~~~ qmmatch.c: In function 'defaultstate': qmmatch.c:85:29: warning: unused variable 'left' [-Wunused-variable] 85 | int k = statetb[s].trans, left = k, right = k+statetb[s].ntrans; | ^~~~ qmmatch.c: At top level: qmmatch.c:103:1: warning: return type defaults to 'int' [-Wimplicit-int] 103 | nondefault(int s) | ^~~~~~~~~~ qmmatch.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] 115 | typedtrans(int s, int type) | ^~~~~~~~~~ qmmatch.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] 130 | virtual(int s, int type) | ^~~~~~~ qmmatch.c:212:1: warning: return type defaults to 'int' [-Wimplicit-int] 212 | matchx(THREAD *thr, int s, int mode, int vmode, EXPR *x, EXPR **y) | ^~~~~~ qmmatch.c: In function 'matchx': qmmatch.c:297:47: warning: value computed is not used [-Wunused-value] 297 | (s = matchx(thr, s1, mode, 0, x1, &y1)) && | ^~ qmmatch.c:318:53: warning: value computed is not used [-Wunused-value] 318 | (s = matchx(thr, s1, modes.left, 0, x1, &y1)) && | ^~ qmmatch.c:364:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 364 | if (yv) | ^ qmmatch.c: In function '__qq__match': qmmatch.c:416:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 416 | nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:431:47: warning: value computed is not used [-Wunused-value] 431 | (s = matchx(thr, s, 1, 0, x[0], &x[0])) && | ^~ qmmatch.c:458:56: warning: value computed is not used [-Wunused-value] 458 | (s = matchx(thr, s, modes.left, 0, x[0], &x[0])) && | ^~ qmmatch.c: In function '__qq__matchtype': qmmatch.c:525:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 525 | nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:530:32: warning: value computed is not used [-Wunused-value] 530 | (s = nextstate(s, 0, fno)) && (s = typedtrans(s, type)); | ^~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmmatch.c -o libqint_la-qmmatch.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libqint_la-qmprint.lo `test -f 'qmprint.c' || echo './'`qmprint.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmprint.c -fPIC -DPIC -o .libs/libqint_la-qmprint.o qmprint.c:207:15: warning: return type defaults to 'int' [-Wimplicit-int] 207 | static inline checktmpbuf(void) | ^~~~~~~~~~~ qmprint.c:217:15: warning: return type defaults to 'int' [-Wimplicit-int] 217 | static inline writetmpbuf(char *s) | ^~~~~~~~~~~ qmprint.c:238:15: warning: return type defaults to 'int' [-Wimplicit-int] 238 | static inline checklastsym(char *s) | ^~~~~~~~~~~~ qmprint.c:246:15: warning: return type defaults to 'int' [-Wimplicit-int] 246 | static inline checkmarksym(void) | ^~~~~~~~~~~~ qmprint.c:253:15: warning: return type defaults to 'int' [-Wimplicit-int] 253 | static inline marksym(int flag) | ^~~~~~~ qmprint.c:261:8: warning: return type defaults to 'int' [-Wimplicit-int] 261 | static sputstr1(char *s) | ^~~~~~~~ qmprint.c: In function 'sputstr1': qmprint.c:268:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 268 | if (bufp1 = (char*) arealloc(bufp, abufleng, MAXSTRLEN, | ^~~~~ qmprint.c: At top level: qmprint.c:282:15: warning: return type defaults to 'int' [-Wimplicit-int] 282 | static inline sputstr(char *s) | ^~~~~~~ qmprint.c:358:8: warning: return type defaults to 'int' [-Wimplicit-int] 358 | static fputstr1(char *s) | ^~~~~~~~ qmprint.c:379:15: warning: return type defaults to 'int' [-Wimplicit-int] 379 | static inline fputstr(char *s) | ^~~~~~~ qmprint.c:454:8: warning: return type defaults to 'int' [-Wimplicit-int] 454 | static opprec(int fno) | ^~~~~~ qmprint.c:511:15: warning: return type defaults to 'int' [-Wimplicit-int] 511 | static inline islsect(EXPR *x) | ^~~~~~~ qmprint.c:518:15: warning: return type defaults to 'int' [-Wimplicit-int] 518 | static inline isrsect(EXPR *x) | ^~~~~~~ qmprint.c:528:15: warning: return type defaults to 'int' [-Wimplicit-int] 528 | static inline isenum(EXPR *x) | ^~~~~~ qmprint.c:542:15: warning: return type defaults to 'int' [-Wimplicit-int] 542 | static inline isenum1(EXPR *x) | ^~~~~~~ qmprint.c:555:15: warning: return type defaults to 'int' [-Wimplicit-int] 555 | static inline issenum(EXPR *x) | ^~~~~~~ qmprint.c:569:15: warning: return type defaults to 'int' [-Wimplicit-int] 569 | static inline issenum1(EXPR *x) | ^~~~~~~~ qmprint.c:582:15: warning: return type defaults to 'int' [-Wimplicit-int] 582 | static inline istenum(EXPR *x) | ^~~~~~~ qmprint.c:596:15: warning: return type defaults to 'int' [-Wimplicit-int] 596 | static inline istenum1(EXPR *x) | ^~~~~~~~ qmprint.c:609:15: warning: return type defaults to 'int' [-Wimplicit-int] 609 | static inline isstream(EXPR *x) | ^~~~~~~~ qmprint.c: In function 'isstream': qmprint.c:612:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 612 | x->fno == APPOP && x->data.args.x1->fno == APPOP && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 613 | x->data.args.x1->data.args.x1->fno == SCONSOP; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmprint.c: At top level: qmprint.c:616:15: warning: return type defaults to 'int' [-Wimplicit-int] 616 | static inline isscons(EXPR *x, EXPR **y, EXPR **z) | ^~~~~~~ qmprint.c:627:15: warning: return type defaults to 'int' [-Wimplicit-int] 627 | static inline islistof(EXPR *x) | ^~~~~~~~ qmprint.c:636:15: warning: return type defaults to 'int' [-Wimplicit-int] 636 | static inline istupleof(EXPR *x) | ^~~~~~~~~ qmprint.c:645:15: warning: return type defaults to 'int' [-Wimplicit-int] 645 | static inline isstreamof(EXPR *x) | ^~~~~~~~~~ qmprint.c:654:15: warning: return type defaults to 'int' [-Wimplicit-int] 654 | static inline islambda(EXPR *x) | ^~~~~~~~ qmprint.c:660:15: warning: return type defaults to 'int' [-Wimplicit-int] 660 | static inline isifelse(EXPR *x) | ^~~~~~~~ qmprint.c:669:15: warning: return type defaults to 'int' [-Wimplicit-int] 669 | static inline iswhen(EXPR *x) | ^~~~~~ qmprint.c:733:8: warning: return type defaults to 'int' [-Wimplicit-int] 733 | static exprprec(THREAD *thr, EXPR *x) | ^~~~~~~~ qmprint.c:776:8: warning: type defaults to 'int' in declaration of 'print' [-Wimplicit-int] 776 | static print(THREAD *thr, int level, EXPR *x); | ^~~~~ qmprint.c:778:15: warning: return type defaults to 'int' [-Wimplicit-int] 778 | static inline printparen(THREAD *thr, int level, EXPR *x) | ^~~~~~~~~~ qmprint.c:783:8: warning: return type defaults to 'int' [-Wimplicit-int] 783 | static printlprec(THREAD *thr, int level, int fno, EXPR *x) | ^~~~~~~~~~ qmprint.c:794:8: warning: return type defaults to 'int' [-Wimplicit-int] 794 | static printrprec(THREAD *thr, int level, int fno, EXPR *x) | ^~~~~~~~~~ qmprint.c:805:8: warning: return type defaults to 'int' [-Wimplicit-int] 805 | static print1(THREAD *thr, int level, int fno, EXPR *x) | ^~~~~~ qmprint.c:811:8: warning: return type defaults to 'int' [-Wimplicit-int] 811 | static print2l(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~~ qmprint.c:819:8: warning: return type defaults to 'int' [-Wimplicit-int] 819 | static print2r(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~~ qmprint.c:827:8: warning: return type defaults to 'int' [-Wimplicit-int] 827 | static print2n(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~~ qmprint.c:835:8: warning: return type defaults to 'int' [-Wimplicit-int] 835 | static print2(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) | ^~~~~~ qmprint.c:959:8: warning: return type defaults to 'int' [-Wimplicit-int] 959 | static print(THREAD *thr, int level, EXPR *x) | ^~~~~ qmprint.c:1412:15: warning: return type defaults to 'int' [-Wimplicit-int] 1412 | static inline printchk(THREAD *thr, int level, EXPR *x) | ^~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmprint.c -o libqint_la-qmprint.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libqint_la-qmparse.lo `test -f 'qmparse.c' || echo './'`qmparse.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmparse.c -fPIC -DPIC -o .libs/libqint_la-qmparse.o qmparse.y:70:8: warning: type defaults to 'int' in declaration of 'swap' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~ qmparse.y:70:16: warning: type defaults to 'int' in declaration of 'pushtern' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~~~~~ qmparse.y:70:28: warning: type defaults to 'int' in declaration of 'pushbin' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~~~~ qmparse.y:70:39: warning: type defaults to 'int' in declaration of 'pushun' [-Wimplicit-int] 70 | static swap(), pushtern(), pushbin(), pushun(), | ^~~~~~ qmparse.y:71:3: warning: type defaults to 'int' in declaration of 'pushlist' [-Wimplicit-int] 71 | pushlist(int n, int m), pushstream(int n, int m), pushtuple(int n, int m), | ^~~~~~~~ qmparse.y:71:27: warning: type defaults to 'int' in declaration of 'pushstream' [-Wimplicit-int] 71 | pushlist(int n, int m), pushstream(int n, int m), pushtuple(int n, int m), | ^~~~~~~~~~ qmparse.y:71:53: warning: type defaults to 'int' in declaration of 'pushtuple' [-Wimplicit-int] 71 | pushlist(int n, int m), pushstream(int n, int m), pushtuple(int n, int m), | ^~~~~~~~~ qmparse.y:72:3: warning: type defaults to 'int' in declaration of 'pushgroup' [-Wimplicit-int] 72 | pushgroup(int *n, int *m), | ^~~~~~~~~ qmparse.y:73:3: warning: type defaults to 'int' in declaration of 'savepos' [-Wimplicit-int] 73 | savepos(), clean(); | ^~~~~~~ qmparse.y:73:14: warning: type defaults to 'int' in declaration of 'clean' [-Wimplicit-int] 73 | savepos(), clean(); | ^~~~~ qmparse.y:74:8: warning: type defaults to 'int' in declaration of 'init_stats' [-Wimplicit-int] 74 | static init_stats(), fini_stats(), print_stats(); | ^~~~~~~~~~ qmparse.y:74:22: warning: type defaults to 'int' in declaration of 'fini_stats' [-Wimplicit-int] 74 | static init_stats(), fini_stats(), print_stats(); | ^~~~~~~~~~ qmparse.y:74:36: warning: type defaults to 'int' in declaration of 'print_stats' [-Wimplicit-int] 74 | static init_stats(), fini_stats(), print_stats(); | ^~~~~~~~~~~ qmparse.y:75:8: warning: type defaults to 'int' in declaration of 'copyright' [-Wimplicit-int] 75 | static copyright(), shell(), expression(), | ^~~~~~~~~ qmparse.y:75:21: warning: type defaults to 'int' in declaration of 'shell' [-Wimplicit-int] 75 | static copyright(), shell(), expression(), | ^~~~~ qmparse.y:75:30: warning: type defaults to 'int' in declaration of 'expression' [-Wimplicit-int] 75 | static copyright(), shell(), expression(), | ^~~~~~~~~~ qmparse.y:76:3: warning: type defaults to 'int' in declaration of 'vardecl' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~ qmparse.y:76:14: warning: type defaults to 'int' in declaration of 'initializer' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~~~~~ qmparse.y:76:29: warning: type defaults to 'int' in declaration of 'assignment' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~~~~ qmparse.y:76:43: warning: type defaults to 'int' in declaration of 'unassignment' [-Wimplicit-int] 76 | vardecl(), initializer(), assignment(), unassignment(), | ^~~~~~~~~~~~ qmparse.y:77:3: warning: type defaults to 'int' in declaration of 'sethistfile' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~~~ qmparse.y:77:18: warning: type defaults to 'int' in declaration of 'sethistsize' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~~~ qmparse.y:77:33: warning: type defaults to 'int' in declaration of 'help' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~ qmparse.y:77:41: warning: type defaults to 'int' in declaration of 'edit' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~ qmparse.y:77:49: warning: type defaults to 'int' in declaration of 'save_vars' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~ qmparse.y:77:62: warning: type defaults to 'int' in declaration of 'clear_vars' [-Wimplicit-int] 77 | sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), | ^~~~~~~~~~ qmparse.y:78:3: warning: type defaults to 'int' in declaration of 'add_import' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~ qmparse.y:78:17: warning: type defaults to 'int' in declaration of 'del_import' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~ qmparse.y:78:31: warning: type defaults to 'int' in declaration of 'clear_imports' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~~~~ qmparse.y:78:48: warning: type defaults to 'int' in declaration of 'breakpoints' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~~~~~ qmparse.y:78:63: warning: type defaults to 'int' in declaration of 'profile' [-Wimplicit-int] 78 | add_import(), del_import(), clear_imports(), breakpoints(), profile(), | ^~~~~~~ qmparse.y:79:3: warning: type defaults to 'int' in declaration of 'who' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~ qmparse.y:79:10: warning: type defaults to 'int' in declaration of 'whos' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~ qmparse.y:79:18: warning: type defaults to 'int' in declaration of 'whois' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~ qmparse.y:79:27: warning: type defaults to 'int' in declaration of 'ambiguous' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~~~~~ qmparse.y:79:40: warning: type defaults to 'int' in declaration of 'import_list' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~~~~~~~ qmparse.y:79:55: warning: type defaults to 'int' in declaration of 'modules' [-Wimplicit-int] 79 | who(), whos(), whois(), ambiguous(), import_list(), modules(); | ^~~~~~~ qmparse.y:80:8: warning: type defaults to 'int' in declaration of 'strparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~ qmparse.y:80:20: warning: type defaults to 'int' in declaration of 'intparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~ qmparse.y:80:32: warning: type defaults to 'int' in declaration of 'boolparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~~ qmparse.y:80:45: warning: type defaults to 'int' in declaration of 'boolstrparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~~~~~ qmparse.y:80:61: warning: type defaults to 'int' in declaration of 'allparam' [-Wimplicit-int] 80 | static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), | ^~~~~~~~ qmparse.y:81:3: warning: type defaults to 'int' in declaration of 'strlist' [-Wimplicit-int] 81 | strlist(), printstr(); | ^~~~~~~ qmparse.y:81:14: warning: type defaults to 'int' in declaration of 'printstr' [-Wimplicit-int] 81 | strlist(), printstr(); | ^~~~~~~~ qmparse.y:89:8: warning: type defaults to 'int' in declaration of 'histwarn' [-Wimplicit-int] 89 | static histwarn(); | ^~~~~~~~ qmparse.c: In function 'yyparse': qmparse.c:2099:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] 2099 | yychar = yylex (); | ^~~~~ qmparse.y:423:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 423 | printf("bad C stack size %d, using default\n", i/1024); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ | | | long int qmparse.y:444:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 444 | printf("bad stack size %d, using default\n", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | long int qmparse.y:467:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 467 | printf("bad memory size %d, using default\n", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | long int qmparse.y:525:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 525 | if (res && buf) | ^ qmparse.c:4231:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] 4231 | yyerror (YY_("syntax error")); | ^~~~~~~ | yyerrok qmparse.y: At top level: qmparse.y:1683:1: warning: return type defaults to 'int' [-Wimplicit-int] 1683 | yyerror(s) | ^~~~~~~ qmparse.y: In function 'u8encode': qmparse.y:1762:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1762 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1767:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1767 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1769:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1769 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1774:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1774 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1776:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1776 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y:1778:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1778 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qmparse.y: At top level: qmparse.y:1898:8: warning: return type defaults to 'int' [-Wimplicit-int] 1898 | static swap() | ^~~~ qmparse.y:1907:8: warning: return type defaults to 'int' [-Wimplicit-int] 1907 | static rot() | ^~~ qmparse.y:1917:8: warning: return type defaults to 'int' [-Wimplicit-int] 1917 | static pushtern(fno) | ^~~~~~~~ qmparse.y:1925:8: warning: return type defaults to 'int' [-Wimplicit-int] 1925 | static pushbin(fno) | ^~~~~~~ qmparse.y:1933:8: warning: return type defaults to 'int' [-Wimplicit-int] 1933 | static pushun(fno) | ^~~~~~ qmparse.y:1940:8: warning: return type defaults to 'int' [-Wimplicit-int] 1940 | static pushlist(int n, int m) | ^~~~~~~~ qmparse.y:1949:8: warning: return type defaults to 'int' [-Wimplicit-int] 1949 | static pushstream(int n, int m) | ^~~~~~~~~~ qmparse.y:1958:8: warning: return type defaults to 'int' [-Wimplicit-int] 1958 | static pushtuple(int n, int m) | ^~~~~~~~~ qmparse.y:1967:8: warning: return type defaults to 'int' [-Wimplicit-int] 1967 | static pushgroup(int *n, int *m) | ^~~~~~~~~ qmparse.y:1983:8: warning: return type defaults to 'int' [-Wimplicit-int] 1983 | static init_stats() | ^~~~~~~~~~ qmparse.y:1992:8: warning: return type defaults to 'int' [-Wimplicit-int] 1992 | static fini_stats() | ^~~~~~~~~~ qmparse.y:1999:8: warning: return type defaults to 'int' [-Wimplicit-int] 1999 | static print_stats(all) | ^~~~~~~~~~~ qmparse.y: In function 'print_stats': qmparse.y:2009:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 2009 | printf("thread #%d: %lu reduction%s, %lu cell%s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2019:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 2019 | printf("thread #%d: %0.3g secs, %lu reduction%s, %lu cell%s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y: At top level: qmparse.y:2046:8: warning: return type defaults to 'int' [-Wimplicit-int] 2046 | static error_report(base, p, tok) | ^~~~~~~~~~~~ qmparse.y: In function 'error_report': qmparse.y:2053:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2053 | if (tok && *tok && p-q >= l) | ^ qmparse.y:2065:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2065 | while (p > q && (p[-1] != '"' || p > q+1 && p[-2] == '\\')) --p; | ~~~~~~~~^~~~~~~~~~~~~~~~ qmparse.y:2049:43: warning: unused variable 't' [-Wunused-variable] 2049 | char *q = p, *r = strchr(p, '\n'), *s, *t, c; | ^ qmparse.y: At top level: qmparse.y:2118:8: warning: return type defaults to 'int' [-Wimplicit-int] 2118 | static savepos() | ^~~~~~~ qmparse.y:2140:8: warning: return type defaults to 'int' [-Wimplicit-int] 2140 | static clean() | ^~~~~ qmparse.y:2168:8: warning: return type defaults to 'int' [-Wimplicit-int] 2168 | static expression() | ^~~~~~~~~~ qmparse.y:2190:8: warning: return type defaults to 'int' [-Wimplicit-int] 2190 | static assignment() | ^~~~~~~~~~ qmparse.y:2209:8: warning: return type defaults to 'int' [-Wimplicit-int] 2209 | static unassignment(int id) | ^~~~~~~~~~~~ qmparse.y:2218:8: warning: return type defaults to 'int' [-Wimplicit-int] 2218 | static vardecl(int id) | ^~~~~~~ qmparse.y:2239:8: warning: return type defaults to 'int' [-Wimplicit-int] 2239 | static initializer() | ^~~~~~~~~~~ qmparse.y:2259:8: warning: return type defaults to 'int' [-Wimplicit-int] 2259 | static printstr(s) | ^~~~~~~~ qmparse.y:2265:8: warning: return type defaults to 'int' [-Wimplicit-int] 2265 | static strparam(a, s) | ^~~~~~~~ qmparse.y:2281:8: warning: return type defaults to 'int' [-Wimplicit-int] 2281 | static intparam(a, i) | ^~~~~~~~ qmparse.y:2298:8: warning: return type defaults to 'int' [-Wimplicit-int] 2298 | static boolparam(a, b) | ^~~~~~~~~ qmparse.y: In function 'boolparam': qmparse.y:2302:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2302 | if (res) | ^ qmparse.y: At top level: qmparse.y:2315:8: warning: return type defaults to 'int' [-Wimplicit-int] 2315 | static boolstrparam(a, b, s) | ^~~~~~~~~~~~ qmparse.y: In function 'boolstrparam': qmparse.y:2320:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2320 | if (res) | ^ qmparse.y: At top level: qmparse.y:2331:8: warning: return type defaults to 'int' [-Wimplicit-int] 2331 | static allparam(a) | ^~~~~~~~ qmparse.y:2344:8: warning: return type defaults to 'int' [-Wimplicit-int] 2344 | static copyright() | ^~~~~~~~~ qmparse.y:2355:8: warning: return type defaults to 'int' [-Wimplicit-int] 2355 | static shell() | ^~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: qmparse.y: In function 'shell': mangle.h:81:15: warning: implicit declaration of function '__qq__getln'; did you mean '__qq__getint'? [-Wimplicit-function-declaration] 81 | #define getln __qq__getln | ^~~~~~~~~~~ qmparse.y:2359:5: note: in expansion of macro 'getln' 2359 | getln(shell_command); | ^~~~~ qmparse.y: At top level: qmparse.y:2371:8: warning: return type defaults to 'int' [-Wimplicit-int] 2371 | static histwarn() | ^~~~~~~~ qmparse.y: In function 'histwarn': qmparse.y:2373:10: warning: type defaults to 'int' in declaration of 'done' [-Wimplicit-int] 2373 | static done = 0; | ^~~~ qmparse.y:2375:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2375 | return; | ^~~~~~ qmparse.y:2371:8: note: declared here 2371 | static histwarn() | ^~~~~~~~ qmparse.y: At top level: qmparse.y:2385:8: warning: return type defaults to 'int' [-Wimplicit-int] 2385 | static sethistfile(s) | ^~~~~~~~~~~ qmparse.y:2409:8: warning: return type defaults to 'int' [-Wimplicit-int] 2409 | static sethistsize(i) | ^~~~~~~~~~~ qmparse.y:2421:8: warning: return type defaults to 'int' [-Wimplicit-int] 2421 | static help(s) | ^~~~ qmparse.y:2451:8: warning: return type defaults to 'int' [-Wimplicit-int] 2451 | static edit(s) | ^~~~ qmparse.y:2480:8: warning: return type defaults to 'int' [-Wimplicit-int] 2480 | static save_vars(s) | ^~~~~~~~~ qmparse.y:2540:8: warning: return type defaults to 'int' [-Wimplicit-int] 2540 | static clear_vars() | ^~~~~~~~~~ qmparse.y:2554:1: warning: return type defaults to 'int' [-Wimplicit-int] 2554 | search_import(m) | ^~~~~~~~~~~~~ qmparse.y:2568:1: warning: return type defaults to 'int' [-Wimplicit-int] 2568 | add_import(s) | ^~~~~~~~~~ qmparse.y:2615:1: warning: return type defaults to 'int' [-Wimplicit-int] 2615 | del_import(s) | ^~~~~~~~~~ qmparse.y: In function 'del_import': qmparse.y:2636:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2636 | if (mno == NONE || pos == NONE && mno != mainno) { qmparse.y: At top level: qmparse.y:2657:1: warning: return type defaults to 'int' [-Wimplicit-int] 2657 | clear_imports() | ^~~~~~~~~~~~~ qmparse.y:2670:1: warning: return type defaults to 'int' [-Wimplicit-int] 2670 | modcmp(v1, v2) | ^~~~~~ qmparse.y:2677:1: warning: return type defaults to 'int' [-Wimplicit-int] 2677 | print_modlist() | ^~~~~~~~~~~~~ qmparse.y: In function 'print_modlist': qmparse.y:2681:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2681 | return; | ^~~~~~ qmparse.y:2677:1: note: declared here 2677 | print_modlist() | ^~~~~~~~~~~~~ qmparse.y:2684:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2684 | return; | ^~~~~~ qmparse.y:2677:1: note: declared here 2677 | print_modlist() | ^~~~~~~~~~~~~ qmparse.y:2694:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2694 | if (i > 0) | ^ qmparse.y: At top level: qmparse.y:2715:8: warning: return type defaults to 'int' [-Wimplicit-int] 2715 | static modules() | ^~~~~~~ qmparse.y:2725:1: warning: return type defaults to 'int' [-Wimplicit-int] 2725 | print_implist() | ^~~~~~~~~~~~~ qmparse.y: In function 'print_implist': qmparse.y:2733:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2733 | return; | ^~~~~~ qmparse.y:2725:1: note: declared here 2725 | print_implist() | ^~~~~~~~~~~~~ qmparse.y:2736:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2736 | return; | ^~~~~~ qmparse.y:2725:1: note: declared here 2725 | print_implist() | ^~~~~~~~~~~~~ qmparse.y:2747:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2747 | if (i > 0) | ^ qmparse.y: At top level: qmparse.y:2767:8: warning: return type defaults to 'int' [-Wimplicit-int] 2767 | static import_list() | ^~~~~~~~~~~ qmparse.y:2777:1: warning: return type defaults to 'int' [-Wimplicit-int] 2777 | idcmp(v1, v2) | ^~~~~ qmparse.y:2789:1: warning: return type defaults to 'int' [-Wimplicit-int] 2789 | print_varlist(int all) | ^~~~~~~~~~~~~ qmparse.y: In function 'print_varlist': qmparse.y:2799:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2799 | return; | ^~~~~~ qmparse.y:2789:1: note: declared here 2789 | print_varlist(int all) | ^~~~~~~~~~~~~ qmparse.y:2802:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2802 | return; | ^~~~~~ qmparse.y:2789:1: note: declared here 2789 | print_varlist(int all) | ^~~~~~~~~~~~~ qmparse.y:2811:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2811 | if (i > 0) | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: qmparse.y: At top level: mangle.h:169:27: warning: return type defaults to 'int' [-Wimplicit-int] 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' 2826 | print_breakpoints() | ^~~~~~~~~~~~~~~~~ qmparse.y: In function '__qq__print_breakpoints': qmparse.y:2837:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2837 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' 2826 | print_breakpoints() | ^~~~~~~~~~~~~~~~~ qmparse.y:2840:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2840 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here 169 | #define print_breakpoints __qq__print_breakpoints | ^~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' 2826 | print_breakpoints() | ^~~~~~~~~~~~~~~~~ qmparse.y:2849:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2849 | if (i > 0) | ^ qmparse.y: At top level: qmparse.y:2867:8: warning: return type defaults to 'int' [-Wimplicit-int] 2867 | static breakpoints() | ^~~~~~~~~~~ qmparse.y:2875:1: warning: return type defaults to 'int' [-Wimplicit-int] 2875 | profcmp(v1, v2) | ^~~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: warning: return type defaults to 'int' [-Wimplicit-int] 170 | #define print_profile __qq__print_profile | ^~~~~~~~~~~~~~~~~~~ qmparse.y:2891:1: note: in expansion of macro 'print_profile' 2891 | print_profile() | ^~~~~~~~~~~~~ qmparse.y: In function '__qq__print_profile': qmparse.y:2899:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2899 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here 170 | #define print_profile __qq__print_profile | ^~~~~~~~~~~~~~~~~~~ qmparse.y:2891:1: note: in expansion of macro 'print_profile' 2891 | print_profile() | ^~~~~~~~~~~~~ qmparse.y:2902:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 2902 | return; | ^~~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here 170 | #define print_profile __qq__print_profile | ^~~~~~~~~~~~~~~~~~~ qmparse.y:2891:1: note: in expansion of macro 'print_profile' 2891 | print_profile() | ^~~~~~~~~~~~~ qmparse.y:2909:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 2909 | printf("%8d\t%s\n", symtb[v[i]].nredns, | ^~~~~~~~~~~ qmparse.y: At top level: qmparse.y:2916:8: warning: return type defaults to 'int' [-Wimplicit-int] 2916 | static profile() | ^~~~~~~ qmparse.y:2923:8: warning: return type defaults to 'int' [-Wimplicit-int] 2923 | static who(int all) | ^~~ qmparse.y:2930:8: warning: return type defaults to 'int' [-Wimplicit-int] 2930 | static whos(int sym) | ^~~~ qmparse.y: In function 'whos': qmparse.y:2946:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2946 | if ((flags & VSYM) && !x && !(flags & DCL) || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ qmparse.y: At top level: qmparse.y:3026:8: warning: return type defaults to 'int' [-Wimplicit-int] 3026 | static whois(int fno, char *s) | ^~~~~ qmparse.y:3061:8: warning: return type defaults to 'int' [-Wimplicit-int] 3061 | static ambiguous(int fno, char *s) | ^~~~~~~~~ qmparse.y:3075:8: warning: return type defaults to 'int' [-Wimplicit-int] 3075 | static yypush() | ^~~~~~ qmparse.y:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] 3089 | static yypop() | ^~~~~ qmparse.y:3103:8: warning: return type defaults to 'int' [-Wimplicit-int] 3103 | static parse(source, arg, _mode) | ^~~~~ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: qmparse.y: In function 'parse': mangle.h:237:14: warning: implicit declaration of function '__qq__skip'; did you mean '__qq__init'? [-Wimplicit-function-declaration] 237 | #define skip __qq__skip | ^~~~~~~~~~ qmparse.y:3131:64: note: in expansion of macro 'skip' 3131 | if (yychar && yychar != 10 && (thr > thr0 || !checkbrk)) skip(); | ^~~~ qmparse.y:3107:7: warning: unused variable 'c' [-Wunused-variable] 3107 | int c, actmode; | ^ qmparse.y: At top level: qmparse.y:81:3: warning: 'strlist' declared 'static' but never defined [-Wunused-function] 81 | strlist(), printstr(); | ^~~~~~~ qmparse.c: In function 'yyparse': qmparse.y:554:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 554 | system(cmd); | ^~~~~~~~~~~ qmparse.y: In function 'shell': qmparse.y:2361:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2361 | system(shell_command); | ^~~~~~~~~~~~~~~~~~~~~ qmparse.y: In function 'help': qmparse.y:2443:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2443 | system(cmd); | ^~~~~~~~~~~ qmparse.y: In function 'sethistfile': qmparse.y:2407:1: warning: control reaches end of non-void function [-Wreturn-type] 2407 | } | ^ qmparse.y: In function 'sethistsize': qmparse.y:2419:1: warning: control reaches end of non-void function [-Wreturn-type] 2419 | } | ^ qmparse.y: In function 'print_stats': qmparse.y:2030:1: warning: control reaches end of non-void function [-Wreturn-type] 2030 | } | ^ qmparse.y: In function 'clear_vars': qmparse.y:2548:1: warning: control reaches end of non-void function [-Wreturn-type] 2548 | } | ^ qmparse.y: In function 'edit': qmparse.y:2472:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2472 | system(cmd); | ^~~~~~~~~~~ qmparse.y: In function 'printstr': qmparse.y:2263:1: warning: control reaches end of non-void function [-Wreturn-type] 2263 | } | ^ qmparse.y: In function 'savepos': qmparse.y:2136:1: warning: control reaches end of non-void function [-Wreturn-type] 2136 | } | ^ qmparse.y: In function 'ambiguous': qmparse.y:3065:1: warning: control reaches end of non-void function [-Wreturn-type] 3065 | } | ^ qmparse.y: In function 'error_report': qmparse.y:2109:1: warning: control reaches end of non-void function [-Wreturn-type] 2109 | } | ^ qmparse.y: In function 'yyerror': qmparse.y:1689:1: warning: control reaches end of non-void function [-Wreturn-type] 1689 | } | ^ qmparse.y: In function 'yypush': qmparse.y:3087:1: warning: control reaches end of non-void function [-Wreturn-type] 3087 | } | ^ qmparse.y: In function 'yypop': qmparse.y:3099:1: warning: control reaches end of non-void function [-Wreturn-type] 3099 | } | ^ qmparse.c: In function 'yyparse': qmparse.y:700:13: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] 700 | eflag = b; qmparse.y:697:7: note: 'b' was declared here 697 | int b; char *s; | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmparse.c -o libqint_la-qmparse.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libqint_la-qmlex.lo `test -f 'qmlex.c' || echo './'`qmlex.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmlex.c -fPIC -DPIC -o .libs/libqint_la-qmlex.o qmlex.l:51:8: warning: type defaults to 'int' in declaration of 'bigint' [-Wimplicit-int] 51 | static bigint(); | ^~~~~~ qmlex.l:52:8: warning: type defaults to 'int' in declaration of 'string' [-Wimplicit-int] 52 | static string(); | ^~~~~~ qmlex.l:53:8: warning: type defaults to 'int' in declaration of 'utf8_qualid' [-Wimplicit-int] 53 | static utf8_qualid(); | ^~~~~~~~~~~ qmlex.l: In function 'getbuf': qmlex.l:129:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 129 | if (mybuf1 = (char*)realloc(mybuf, mybufsz+MAXSTRLEN)) { | ^~~~~~ qmlex.l: In function 'getch': qmlex.l:143:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 143 | if (_sflag) | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmlex.l:32: qmlex.l: In function 'yylex': mangle.h:237:14: warning: implicit declaration of function '__qq__skip'; did you mean '__qq__init'? [-Wimplicit-function-declaration] 237 | #define skip __qq__skip | ^~~~~~~~~~ qmlex.l:218:3: note: in expansion of macro 'skip' 218 | ^"#!" { skip(); BEGIN(0); } | ^~~~ qmlex.l: At top level: qmlex.l:537:8: warning: return type defaults to 'int' [-Wimplicit-int] 537 | { | ^ qmlex.l:542:8: warning: return type defaults to 'int' [-Wimplicit-int] 542 | { | ^ qmlex.l: In function 'addbuf': qmlex.l:547:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 547 | } else | ^~~~ qmlex.l:542:8: note: declared here 542 | { | ^ qmlex.l:544:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 544 | if (!(buf = (char*)arealloc(buf, abufsz, 100, sizeof(char)))) { | ^ qmlex.l: At top level: qmlex.l:553:8: warning: return type defaults to 'int' [-Wimplicit-int] 553 | { | ^ qmlex.l: In function 'u8encode': qmlex.l:636:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 636 | c = c >> 6; | ^ qmlex.l:641:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 641 | c = c >> 6; | ^ qmlex.l:643:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 643 | c = c >> 6; | ^ qmlex.l:648:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 648 | c = c >> 6; | ^ qmlex.l:650:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 650 | c = c >> 6; | ^ qmlex.l:652:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 652 | c = c >> 6; | ^ qmlex.l: At top level: qmlex.l:682:8: warning: return type defaults to 'int' [-Wimplicit-int] 682 | { | ^ qmlex.l:798:8: warning: return type defaults to 'int' [-Wimplicit-int] 798 | { | ^ qmlex.l: In function 'utf8_qualid': qmlex.l:800:17: warning: unused variable 'c' [-Wunused-variable] 800 | int ret, ret2; | ^ qmlex.l: At top level: qmlex.l:822:8: warning: return type defaults to 'int' [-Wimplicit-int] 822 | { | ^ qmlex.l:854:8: warning: return type defaults to 'int' [-Wimplicit-int] 854 | mpz_t z; | ^~~~~~ qmlex.l:884:1: warning: return type defaults to 'int' [-Wimplicit-int] 884 | { | ^ In file included from sys.h:38, from qbase.h:24, from qdefs.h:24, from qmlex.l:32: mangle.h:160:14: warning: return type defaults to 'int' [-Wimplicit-int] 160 | #define peek __qq__peek | ^~~~~~~~~~ qmlex.l:889:1: note: in expansion of macro 'peek' 889 | { | ^ mangle.h:237:14: warning: return type defaults to 'int' [-Wimplicit-int] 237 | #define skip __qq__skip | ^~~~~~~~~~ qmlex.l:896:1: note: in expansion of macro 'skip' 896 | /* skip remainder of input line */ | ^~~~ mangle.h:81:15: warning: return type defaults to 'int' [-Wimplicit-int] 81 | #define getln __qq__getln | ^~~~~~~~~~~ qmlex.l:909:1: note: in expansion of macro 'getln' 909 | char *s; | ^ qmlex.l:944:8: warning: return type defaults to 'int' [-Wimplicit-int] 944 | { | ^ qmlex.l:974:8: warning: return type defaults to 'int' [-Wimplicit-int] 974 | { | ^ qmlex.l: In function 'string': qmlex.l:845:1: warning: control reaches end of non-void function [-Wreturn-type] 845 | | ^ qmlex.l: In function 'initbuf': qmlex.l:540:1: warning: control reaches end of non-void function [-Wreturn-type] 540 | | ^ qmlex.l: In function '__qq__skip': qmlex.l:907:1: warning: control reaches end of non-void function [-Wreturn-type] 907 | | ^ qmlex.l: In function '__qq__getln': qmlex.l:929:1: warning: control reaches end of non-void function [-Wreturn-type] 929 | | ^ qmlex.l: In function 'lexpop': qmlex.l:1000:1: warning: control reaches end of non-void function [-Wreturn-type] 1000 | | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qmlex.c -o libqint_la-qmlex.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libqint_la-qbase.lo `test -f 'qbase.c' || echo './'`qbase.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qbase.c -fPIC -DPIC -o .libs/libqint_la-qbase.o qbase.c: In function 'u8encode': qbase.c:587:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 587 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:592:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 592 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:594:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 594 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:599:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 599 | uc[3] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:601:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 601 | uc[2] = 0x80 | c&0x3f; | ~^~~~~ qbase.c:603:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 603 | uc[1] = 0x80 | c&0x3f; | ~^~~~~ qbase.c: In function 'scanchar': qbase.c:1081:13: warning: unused variable 'r' [-Wunused-variable] 1081 | char *r; | ^ qbase.c: In function '__qq__absolute': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1180:12: note: in expansion of macro 'tilde' 1180 | else if (tilde(s)) | ^~~~~ qbase.c: In function '__qq__dirprefix': qbase.c:1193:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1193 | (!s[l] || strchr(dirstr, s[l]) && !strchr(volstr, s[l])); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c: In function '__qq__expand': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1244:7: note: in expansion of macro 'tilde' 1244 | if (tilde(s2)) { | ^~~~~ qbase.c: In function '__qq__searchlib': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | #define tilde(s) (s[0] == '~' && (!s[1] || strchr(dirstr, s[1]) && !strchr(volstr, s[1]))) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qbase.c:1269:7: note: in expansion of macro 'tilde' 1269 | if (tilde(s2)) | ^~~~~ qbase.c:1279:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1279 | if (s[0] == '.') | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c qbase.c -o libqint_la-qbase.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libqint_la-sys.lo `test -f 'sys.c' || echo './'`sys.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c sys.c -fPIC -DPIC -o .libs/libqint_la-sys.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c sys.c -o libqint_la-sys.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libqint_la-random.lo `test -f 'random.c' || echo './'`random.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c random.c -fPIC -DPIC -o .libs/libqint_la-random.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c random.c -o libqint_la-random.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libqint_la-uchar.lo `test -f 'uchar.c' || echo './'`uchar.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c uchar.c -fPIC -DPIC -o .libs/libqint_la-uchar.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c uchar.c -o libqint_la-uchar.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libqint_la-getopt.lo `test -f 'getopt.c' || echo './'`getopt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c getopt.c -fPIC -DPIC -o .libs/libqint_la-getopt.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c getopt.c -o libqint_la-getopt.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libqint_la-getopt1.lo `test -f 'getopt1.c' || echo './'`getopt1.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c getopt1.c -fPIC -DPIC -o .libs/libqint_la-getopt1.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c getopt1.c -o libqint_la-getopt1.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -DYEAR='"2008"' -DSYSINFO='"riscv64-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib64/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib64/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -version-info 2:0:0 -dlpreopen force -dlopen ../modules/clib/clib.la -dlopen ../modules/curl/curl.la -dlopen ../modules/dxl/dxl.la -dlopen ../modules/gdbm/gdbm.la -dlopen ../modules/magick/magick.la -dlopen ../modules/odbc/odbc.la -dlopen ../modules/octave/octave.la -dlopen ../modules/tk/tk.la -dlopen ../modules/xml/xml.la -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libqint.la -rpath /usr/lib64 libqint_la-q.lo libqint_la-qm.lo libqint_la-qmcode.lo libqint_la-qmfuns.lo libqint_la-qmmatch.lo libqint_la-qmprint.lo libqint_la-qmparse.lo libqint_la-qmlex.lo libqint_la-qbase.lo libqint_la-sys.lo libqint_la-random.lo libqint_la-uchar.lo libqint_la-getopt.lo libqint_la-getopt1.lo ../libq/libq.la -lgmp ../libltdl/libltdlc.la -lpthread -lreadline -lncurses -lncursesw -lcrypt -lrt -lutil -lm libtool: warning: '-dlopen self' is ignored for libtool libraries libtool: link: rm -f .libs/libqint.nm .libs/libqint.nmS .libs/libqint.nmT libtool: link: rm -f ".libs/libqint.nmI" libtool: link: (cd .libs && gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -fno-builtin -fPIC -DPIC "libqintS.c") libtool: link: rm -f ".libs/libqintS.c" ".libs/libqint.nm" ".libs/libqint.nmS" ".libs/libqint.nmT" ".libs/libqint.nmI" libtool: link: gcc -shared -fPIC -DPIC .libs/libqint_la-q.o .libs/libqint_la-qm.o .libs/libqint_la-qmcode.o .libs/libqint_la-qmfuns.o .libs/libqint_la-qmmatch.o .libs/libqint_la-qmprint.o .libs/libqint_la-qmparse.o .libs/libqint_la-qmlex.o .libs/libqint_la-qbase.o .libs/libqint_la-sys.o .libs/libqint_la-random.o .libs/libqint_la-uchar.o .libs/libqint_la-getopt.o .libs/libqint_la-getopt1.o .libs/libqintS.o -Wl,--whole-archive ../libltdl/.libs/libltdlc.a -Wl,--no-whole-archive ../libq/.libs/libq.so -lgmp -ldl -lpthread -lreadline -lncurses -lncursesw -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libqint.so.2 -o .libs/libqint.so.2.0.0 libltdlcS.c:27:12: warning: type of 'dlopen_LTX_get_vtable' does not match original declaration [-Wlto-type-mismatch] loaders/dlopen.c:61:1: note: return value type mismatch loaders/dlopen.c:61:1: note: 'dlopen_LTX_get_vtable' was previously declared here loaders/dlopen.c:61:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used /usr/bin/ld: /tmp/libqint.so.2.0.0.0hkR2E.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/q-7.11/src/q.c:1392: warning: the use of `tmpnam' is dangerous, better use `mkstemp' libtool: link: (cd ".libs" && rm -f "libqint.so.2" && ln -s "libqint.so.2.0.0" "libqint.so.2") libtool: link: (cd ".libs" && rm -f "libqint.so" && ln -s "libqint.so.2.0.0" "libqint.so") libtool: link: (cd .libs/libqint.lax/libltdlc.a && ar x "/builddir/build/BUILD/q-7.11/src/../libltdl/.libs/libltdlc.a") libtool: link: ar cru .libs/libqint.a libqint_la-q.o libqint_la-qm.o libqint_la-qmcode.o libqint_la-qmfuns.o libqint_la-qmmatch.o libqint_la-qmprint.o libqint_la-qmparse.o libqint_la-qmlex.o libqint_la-qbase.o libqint_la-sys.o libqint_la-random.o libqint_la-uchar.o libqint_la-getopt.o libqint_la-getopt1.o .libs/libqintS.o .libs/libqint.lax/libltdlc.a/dlopen.o .libs/libqint.lax/libltdlc.a/libltdlcS.o .libs/libqint.lax/libltdlc.a/libltdlc_la-lt__alloc.o .libs/libqint.lax/libltdlc.a/libltdlc_la-lt_dlloader.o .libs/libqint.lax/libltdlc.a/libltdlc_la-lt_error.o .libs/libqint.lax/libltdlc.a/libltdlc_la-ltdl.o .libs/libqint.lax/libltdlc.a/libltdlc_la-preopen.o .libs/libqint.lax/libltdlc.a/libltdlc_la-slist.o .libs/libqint.lax/libltdlc.a/lt__strl.o libtool: link: ranlib .libs/libqint.a libtool: link: rm -fr .libs/libqint.lax libtool: link: ( cd ".libs" && rm -f "libqint.la" && ln -s "../libqint.la" "libqint.la" ) sed -e "s?@qld-libtool@?/usr/lib64/q/libtool?g" \ -e "s?@qld-cc@?gcc?g" \ -e "s?@qld-version@?7.11?g" \ -e "s?@qld-sysinfo@?riscv64-redhat-linux-gnu?g" \ -e "s?@qld-year@?2008?g" \ <./qld.in >qld make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/src' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/src' Making all in stdlib make[2]: Entering directory '/builddir/build/BUILD/q-7.11/stdlib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/stdlib' make[1]: Leaving directory '/builddir/build/BUILD/q-7.11' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rKoWpr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64 + cd q-7.11 + make DESTDIR=/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64 install Making install in . make[1]: Entering directory '/builddir/build/BUILD/q-7.11' make[2]: Entering directory '/builddir/build/BUILD/q-7.11' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q mkdir -p -- /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q /usr/bin/install -c libtool /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/libtool /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/install -c -m 644 AUTHORS COPYING ChangeLog NEWS README '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11' make[1]: Leaving directory '/builddir/build/BUILD/q-7.11' Making install in libltdl make[1]: Entering directory '/builddir/build/BUILD/q-7.11/libltdl' make install-am make[2]: Entering directory '/builddir/build/BUILD/q-7.11/libltdl' make[3]: Entering directory '/builddir/build/BUILD/q-7.11/libltdl' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/libltdl' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/libltdl' make[1]: Leaving directory '/builddir/build/BUILD/q-7.11/libltdl' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/q-7.11/doc' make[2]: Entering directory '/builddir/build/BUILD/q-7.11/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/info' /usr/bin/install -c -m 644 ./qdoc.info ./qdoc.info-1 ./qdoc.info-2 ./qdoc.info-3 '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/info' '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/info/qdoc.info' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 q.1 '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/doc' make[1]: Leaving directory '/builddir/build/BUILD/q-7.11/doc' Making install in etc make[1]: Entering directory '/builddir/build/BUILD/q-7.11/etc' make[2]: Entering directory '/builddir/build/BUILD/q-7.11/etc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/install -c -m 644 q.vim q.xml q-mode.el qinitrc qexitrc '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/etc' make[1]: Leaving directory '/builddir/build/BUILD/q-7.11/etc' Making install in examples make[1]: Entering directory '/builddir/build/BUILD/q-7.11/examples' make[2]: Entering directory '/builddir/build/BUILD/q-7.11/examples' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples' /usr/bin/install -c -m 644 basics.q cgi.q creverse.q csv.q ctype.q dfs.q dnf.q except.q fibs.q fibs.sh fixpt.q gamma.q graph.q grid.q huffman.q lambda.q menu.q newton.q pipes.q primetest.q queens2.q queens.q queue.q rot13.q searchtree.q signal.q streams.q symbolic.q sys.q testfont.q time.q unicode.q creverse.c ctype.c '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/examples' make[1]: Leaving directory '/builddir/build/BUILD/q-7.11/examples' Making install in libq make[1]: Entering directory '/builddir/build/BUILD/q-7.11/libq' make[2]: Entering directory '/builddir/build/BUILD/q-7.11/libq' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libq.la '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libq.so.8.0.0 /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libq.so.8.0.0 libtool: install: (cd /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 && { ln -s -f libq.so.8.0.0 libq.so.8 || { rm -f libq.so.8 && ln -s libq.so.8.0.0 libq.so.8; }; }) libtool: install: (cd /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 && { ln -s -f libq.so.8.0.0 libq.so || { rm -f libq.so && ln -s libq.so.8.0.0 libq.so; }; }) libtool: install: /usr/bin/install -c .libs/libq.lai /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libq.la libtool: install: /usr/bin/install -c .libs/libq.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libq.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libq.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libq.a libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/include' /usr/bin/install -c -m 644 libq.h '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/include' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/libq' make[1]: Leaving directory '/builddir/build/BUILD/q-7.11/libq' Making install in modules make[1]: Entering directory '/builddir/build/BUILD/q-7.11/modules' Making install in clib make[2]: Entering directory '/builddir/build/BUILD/q-7.11/modules/clib' Making install in . make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/clib' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/clib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c clib.la system.la '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' libtool: warning: relinking 'clib.la' libtool: install: (cd /builddir/build/BUILD/q-7.11/modules/clib; /bin/sh "/builddir/build/BUILD/q-7.11/libtool" --tag CC --mode=relink gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o clib.la -rpath /usr/lib64/q clib.lo ../../libq/libq.la -lgmp -lpthread -lcrypt -lrt -lutil -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64) libtool: relink: gcc -shared -fPIC -DPIC .libs/clib.o -L/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 -L/usr/lib64 -lq -lgmp -lpthread -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,clib.so -o .libs/clib.so /usr/bin/ld: /tmp/clib.so.aI8z97.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/q-7.11/modules/clib/clib.c:2301: warning: the use of `tmpnam' is dangerous, better use `mkstemp' libtool: install: /usr/bin/install -c .libs/clib.soT /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/clib.so libtool: install: /usr/bin/install -c .libs/clib.lai /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/clib.la libtool: warning: relinking 'system.la' libtool: install: (cd /builddir/build/BUILD/q-7.11/modules/clib; /bin/sh "/builddir/build/BUILD/q-7.11/libtool" --tag CC --mode=relink gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o system.la -rpath /usr/lib64/q system.lo ../../libq/libq.la -lgmp -lpthread -lreadline -lncurses -lcrypt -lrt -lutil -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64) libtool: relink: gcc -shared -fPIC -DPIC .libs/system.o -L/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 -L/usr/lib64 -lq -lgmp -lpthread -lreadline -lncurses -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,system.so -o .libs/system.so libtool: install: /usr/bin/install -c .libs/system.soT /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/system.so libtool: install: /usr/bin/install -c .libs/system.lai /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/system.la libtool: install: /usr/bin/install -c .libs/clib.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/clib.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/clib.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/clib.a libtool: install: /usr/bin/install -c .libs/system.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/system.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/system.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/system.a libtool: warning: remember to run 'libtool --finish /usr/lib64/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/install -c -m 644 README-Clib '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' /usr/bin/install -c -m 644 clib.q system.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/clib' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/clib' Making install in examples make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/clib/examples' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/clib/examples' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples' /usr/bin/install -c -m 644 daemon.q dgram.q factor.q fcntl.q getpass.q globexamp.q hashed.q popen2.q pty.q queens3.q rlexamp.q regexamp.q select.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/clib/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/clib/examples' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/clib' Making install in curl make[2]: Entering directory '/builddir/build/BUILD/q-7.11/modules/curl' Making install in . make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/curl' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/curl' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c curl.la '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' libtool: warning: relinking 'curl.la' libtool: install: (cd /builddir/build/BUILD/q-7.11/modules/curl; /bin/sh "/builddir/build/BUILD/q-7.11/libtool" --tag CC --mode=relink gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o curl.la -rpath /usr/lib64/q curl.lo ../../libq/libq.la -lcurl -lcrypt -lrt -lutil -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64) libtool: relink: gcc -shared -fPIC -DPIC .libs/curl.o -L/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 -L/usr/lib64 -lq -lcurl -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,curl.so -o .libs/curl.so libtool: install: /usr/bin/install -c .libs/curl.soT /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/curl.so libtool: install: /usr/bin/install -c .libs/curl.lai /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/curl.la libtool: install: /usr/bin/install -c .libs/curl.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/curl.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/curl.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/curl.a libtool: warning: remember to run 'libtool --finish /usr/lib64/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/install -c -m 644 README-Curl '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' /usr/bin/install -c -m 644 curl.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/curl' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/curl' Making install in examples make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/curl/examples' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/curl/examples' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples/curl' /usr/bin/install -c -m 644 curltest.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples/curl' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/curl/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/curl/examples' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/curl' Making install in dxl make[2]: Entering directory '/builddir/build/BUILD/q-7.11/modules/dxl' Making install in . make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/dxl' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/dxl' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c dxl.la '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' libtool: warning: relinking 'dxl.la' libtool: install: (cd /builddir/build/BUILD/q-7.11/modules/dxl; /bin/sh "/builddir/build/BUILD/q-7.11/libtool" --tag CC --mode=relink gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dxl.la -rpath /usr/lib64/q dxl.lo ../../libq/libq.la -lDX -lDXL -lcrypt -lrt -lutil -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64) libtool: relink: gcc -shared -fPIC -DPIC .libs/dxl.o -L/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 -L/usr/lib64 -lq -lDX -lDXL -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,dxl.so -o .libs/dxl.so libtool: install: /usr/bin/install -c .libs/dxl.soT /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/dxl.so libtool: install: /usr/bin/install -c .libs/dxl.lai /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/dxl.la libtool: install: /usr/bin/install -c .libs/dxl.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/dxl.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/dxl.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/dxl.a libtool: warning: remember to run 'libtool --finish /usr/lib64/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/install -c -m 644 README-DXL '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' /usr/bin/install -c -m 644 dxl.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/dxl' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/dxl' Making install in examples make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/dxl/examples' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/dxl/examples' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples/dxl' /usr/bin/install -c -m 644 dxl_simple.q dxl_sample.cfg dxl_sample.net dxl_sample.q sombrero.cfg sombrero.dx sombrero.net sombrero.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples/dxl' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/dxl/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/dxl/examples' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/dxl' Making install in gdbm make[2]: Entering directory '/builddir/build/BUILD/q-7.11/modules/gdbm' Making install in . make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/gdbm' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/gdbm' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c gdbm.la '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' libtool: warning: relinking 'gdbm.la' libtool: install: (cd /builddir/build/BUILD/q-7.11/modules/gdbm; /bin/sh "/builddir/build/BUILD/q-7.11/libtool" --tag CC --mode=relink gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gdbm.la -rpath /usr/lib64/q gdbm.lo ../../libq/libq.la -lgdbm -lcrypt -lrt -lutil -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64) libtool: relink: gcc -shared -fPIC -DPIC .libs/gdbm.o -L/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 -L/usr/lib64 -lq -lgdbm -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,gdbm.so -o .libs/gdbm.so libtool: install: /usr/bin/install -c .libs/gdbm.soT /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/gdbm.so libtool: install: /usr/bin/install -c .libs/gdbm.lai /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/gdbm.la libtool: install: /usr/bin/install -c .libs/gdbm.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/gdbm.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/gdbm.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/gdbm.a libtool: warning: remember to run 'libtool --finish /usr/lib64/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/install -c -m 644 README-Gdbm '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' /usr/bin/install -c -m 644 gdbm.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/gdbm' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/gdbm' Making install in examples make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/gdbm/examples' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/gdbm/examples' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples/gdbm' /usr/bin/install -c -m 644 gdbm_dict.q testdb.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples/gdbm' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/gdbm/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/gdbm/examples' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/gdbm' Making install in ggi make[2]: Entering directory '/builddir/build/BUILD/q-7.11/modules/ggi' Making install in . make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/ggi' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/ggi' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/ggi' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/ggi' Making install in examples make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/ggi/examples' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/ggi/examples' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/ggi/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/ggi/examples' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/ggi' Making install in magick make[2]: Entering directory '/builddir/build/BUILD/q-7.11/modules/magick' Making install in . make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/magick' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/magick' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c magick.la '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' libtool: warning: relinking 'magick.la' libtool: install: (cd /builddir/build/BUILD/q-7.11/modules/magick; /bin/sh "/builddir/build/BUILD/q-7.11/libtool" --tag CC --mode=relink gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o magick.la -rpath /usr/lib64/q magick.lo ../../libq/libq.la -lMagickCore-6.Q16 -lcrypt -lrt -lutil -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64) libtool: relink: gcc -shared -fPIC -DPIC .libs/magick.o -L/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 -L/usr/lib64 -lq -lMagickCore-6.Q16 -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,magick.so -o .libs/magick.so libtool: install: /usr/bin/install -c .libs/magick.soT /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/magick.so libtool: install: /usr/bin/install -c .libs/magick.lai /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/magick.la libtool: install: /usr/bin/install -c .libs/magick.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/magick.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/magick.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/magick.a libtool: warning: remember to run 'libtool --finish /usr/lib64/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/install -c -m 644 README-Magick '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' /usr/bin/install -c -m 644 magick.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/magick' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/magick' Making install in examples make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/magick/examples' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/magick/examples' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/magick/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/magick/examples' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/magick' Making install in octave make[2]: Entering directory '/builddir/build/BUILD/q-7.11/modules/octave' make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/octave' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c octave.la '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' libtool: warning: relinking 'octave.la' libtool: install: (cd /builddir/build/BUILD/q-7.11/modules/octave; /bin/sh "/builddir/build/BUILD/q-7.11/libtool" --tag CC --mode=relink gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o octave.la -rpath /usr/lib64/q octave.lo ../../libq/libq.la -lcrypt -lrt -lutil -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64) libtool: relink: gcc -shared -fPIC -DPIC .libs/octave.o -L/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 -L/usr/lib64 -lq -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,octave.so -o .libs/octave.so /usr/bin/ld: /tmp/octave.so.DyYugo.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/q-7.11/modules/octave/octave.c:319: warning: the use of `tmpnam' is dangerous, better use `mkstemp' libtool: install: /usr/bin/install -c .libs/octave.soT /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/octave.so libtool: install: /usr/bin/install -c .libs/octave.lai /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/octave.la libtool: install: /usr/bin/install -c .libs/octave.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/octave.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/octave.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/octave.a libtool: warning: remember to run 'libtool --finish /usr/lib64/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/install -c -m 644 README-Octave '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' /usr/bin/install -c -m 644 octave.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/octave' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/octave' Making install in odbc make[2]: Entering directory '/builddir/build/BUILD/q-7.11/modules/odbc' Making install in . make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/odbc' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/odbc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c odbc.la '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' libtool: warning: relinking 'odbc.la' libtool: install: (cd /builddir/build/BUILD/q-7.11/modules/odbc; /bin/sh "/builddir/build/BUILD/q-7.11/libtool" --tag CC --mode=relink gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o odbc.la -rpath /usr/lib64/q odbc.lo ../../libq/libq.la -lgmp -lodbc -lcrypt -lrt -lutil -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64) libtool: relink: gcc -shared -fPIC -DPIC .libs/odbc.o -L/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 -L/usr/lib64 -lq -lgmp -lodbc -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,odbc.so -o .libs/odbc.so libtool: install: /usr/bin/install -c .libs/odbc.soT /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/odbc.so libtool: install: /usr/bin/install -c .libs/odbc.lai /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/odbc.la libtool: install: /usr/bin/install -c .libs/odbc.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/odbc.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/odbc.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/odbc.a libtool: warning: remember to run 'libtool --finish /usr/lib64/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/install -c -m 644 README-ODBC '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' /usr/bin/install -c -m 644 odbc.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/odbc' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/odbc' Making install in examples make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/odbc/examples' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/odbc/examples' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples/odbc' /usr/bin/install -c -m 644 odbc_examp.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples/odbc' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/odbc/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/odbc/examples' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/odbc' Making install in swig make[2]: Entering directory '/builddir/build/BUILD/q-7.11/modules/swig' Making install in . make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/swig' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/swig' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c swig.la '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' libtool: warning: relinking 'swig.la' libtool: install: (cd /builddir/build/BUILD/q-7.11/modules/swig; /bin/sh "/builddir/build/BUILD/q-7.11/libtool" --tag CC --mode=relink gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o swig.la -rpath /usr/lib64/q swig.lo ../../libq/libq.la -lcrypt -lrt -lutil -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64) libtool: relink: gcc -shared -fPIC -DPIC .libs/swig.o -L/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 -L/usr/lib64 -lq -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,swig.so -o .libs/swig.so libtool: install: /usr/bin/install -c .libs/swig.soT /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/swig.so libtool: install: /usr/bin/install -c .libs/swig.lai /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/swig.la libtool: install: /usr/bin/install -c .libs/swig.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/swig.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/swig.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/swig.a libtool: warning: remember to run 'libtool --finish /usr/lib64/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/install -c -m 644 README-SWIG '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' /usr/bin/install -c -m 644 swig.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/swig' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/swig' Making install in examples make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/swig/examples' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/swig/examples' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples/swig' /usr/bin/install -c -m 644 example.c example.i qt_examp.cxx qt_examp.h qt_examp.i '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples/swig' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/swig/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/swig/examples' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/swig' Making install in tk make[2]: Entering directory '/builddir/build/BUILD/q-7.11/modules/tk' Making install in . make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/tk' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/tk' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c tk.la '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' libtool: warning: relinking 'tk.la' libtool: install: (cd /builddir/build/BUILD/q-7.11/modules/tk; /bin/sh "/builddir/build/BUILD/q-7.11/libtool" --tag CC --mode=relink gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tk.la -rpath /usr/lib64/q tk.lo ../../libq/libq.la -lpthread -ltcl -ltk -lX11 -lcrypt -lrt -lutil -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64) libtool: relink: gcc -shared -fPIC -DPIC .libs/tk.o -L/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 -L/usr/lib64 -lq -lpthread -ltcl -ltk -lX11 -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,tk.so -o .libs/tk.so libtool: install: /usr/bin/install -c .libs/tk.soT /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/tk.so libtool: install: /usr/bin/install -c .libs/tk.lai /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/tk.la libtool: install: /usr/bin/install -c .libs/tk.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/tk.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/tk.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/tk.a libtool: warning: remember to run 'libtool --finish /usr/lib64/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/install -c -m 644 README-Tk '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' /usr/bin/install -c -m 644 tk.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/tk' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/tk' Making install in examples make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/tk/examples' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/tk/examples' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples/tk' /usr/bin/install -c -m 644 tix.q tk_examp.q tk_test.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples/tk' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/tk/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/tk/examples' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/tk' Making install in xml make[2]: Entering directory '/builddir/build/BUILD/q-7.11/modules/xml' Making install in . make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/xml' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/xml' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c xml.la '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q' libtool: warning: relinking 'xml.la' libtool: install: (cd /builddir/build/BUILD/q-7.11/modules/xml; /bin/sh "/builddir/build/BUILD/q-7.11/libtool" --tag CC --mode=relink gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xml.la -rpath /usr/lib64/q xml.lo ../../libq/libq.la -lxml2 -lz -llzma -lm -ldl -lxslt -lxml2 -lm -lcrypt -lrt -lutil -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64) libtool: relink: gcc -shared -fPIC -DPIC .libs/xml.o -L/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 -L/usr/lib64 -lq -lz -llzma -ldl -lxslt -lxml2 -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,xml.so -o .libs/xml.so libtool: install: /usr/bin/install -c .libs/xml.soT /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/xml.so libtool: install: /usr/bin/install -c .libs/xml.lai /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/xml.la libtool: install: /usr/bin/install -c .libs/xml.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/xml.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/xml.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/xml.a libtool: warning: remember to run 'libtool --finish /usr/lib64/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/install -c -m 644 README-XML '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' /usr/bin/install -c -m 644 xml.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/xml' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/xml' Making install in examples make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules/xml/examples' make[4]: Entering directory '/builddir/build/BUILD/q-7.11/modules/xml/examples' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples/xml' /usr/bin/install -c -m 644 catalog.q catalog.xsl recipes.q recipes.xml recipes.xsl sample.xml xml_examp.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples/xml' make[4]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/xml/examples' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/xml/examples' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/modules/xml' make[2]: Entering directory '/builddir/build/BUILD/q-7.11/modules' make[3]: Entering directory '/builddir/build/BUILD/q-7.11/modules' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/modules' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/modules' make[1]: Leaving directory '/builddir/build/BUILD/q-7.11/modules' Making install in src make[1]: Entering directory '/builddir/build/BUILD/q-7.11/src' make install-am make[2]: Entering directory '/builddir/build/BUILD/q-7.11/src' make[3]: Entering directory '/builddir/build/BUILD/q-7.11/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libqmain.la libqint.la '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libqmain.lai /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libqmain.la libtool: warning: relinking 'libqint.la' libtool: install: (cd /builddir/build/BUILD/q-7.11/src; /bin/sh "/builddir/build/BUILD/q-7.11/libtool" --tag CC --mode=relink gcc -DYEAR=\"2008\" -DSYSINFO=\"riscv64-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib64/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib64/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-undefined -version-info 2:0:0 -dlpreopen force -dlopen ../modules/clib/clib.la -dlopen ../modules/curl/curl.la -dlopen ../modules/dxl/dxl.la -dlopen ../modules/gdbm/gdbm.la -dlopen ../modules/magick/magick.la -dlopen ../modules/odbc/odbc.la -dlopen ../modules/octave/octave.la -dlopen ../modules/tk/tk.la -dlopen ../modules/xml/xml.la -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libqint.la -rpath /usr/lib64 libqint_la-q.lo libqint_la-qm.lo libqint_la-qmcode.lo libqint_la-qmfuns.lo libqint_la-qmmatch.lo libqint_la-qmprint.lo libqint_la-qmparse.lo libqint_la-qmlex.lo libqint_la-qbase.lo libqint_la-sys.lo libqint_la-random.lo libqint_la-uchar.lo libqint_la-getopt.lo libqint_la-getopt1.lo ../libq/libq.la -lgmp ../libltdl/libltdlc.la -lpthread -lreadline -lncurses -lncursesw -lcrypt -lrt -lutil -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64) libtool: warning: '-dlopen self' is ignored for libtool libraries libtool: relink: rm -f .libs/libqint.nm .libs/libqint.nmS .libs/libqint.nmT libtool: relink: rm -f ".libs/libqint.nmI" libtool: relink: (cd .libs && gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -fno-builtin -fPIC -DPIC "libqintS.c") libtool: relink: rm -f ".libs/libqintS.c" ".libs/libqint.nm" ".libs/libqint.nmS" ".libs/libqint.nmT" ".libs/libqint.nmI" libtool: relink: gcc -shared -fPIC -DPIC .libs/libqint_la-q.o .libs/libqint_la-qm.o .libs/libqint_la-qmcode.o .libs/libqint_la-qmfuns.o .libs/libqint_la-qmmatch.o .libs/libqint_la-qmprint.o .libs/libqint_la-qmparse.o .libs/libqint_la-qmlex.o .libs/libqint_la-qbase.o .libs/libqint_la-sys.o .libs/libqint_la-random.o .libs/libqint_la-uchar.o .libs/libqint_la-getopt.o .libs/libqint_la-getopt1.o .libs/libqintS.o -Wl,--whole-archive ../libltdl/.libs/libltdlc.a -Wl,--no-whole-archive -L/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 -L/usr/lib64 -lq -lgmp -ldl -lpthread -lreadline -lncurses -lncursesw -lcrypt -lrt -lutil -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libqint.so.2 -o .libs/libqint.so.2.0.0 libltdlcS.c:27:12: warning: type of 'dlopen_LTX_get_vtable' does not match original declaration [-Wlto-type-mismatch] loaders/dlopen.c:61:1: note: return value type mismatch loaders/dlopen.c:61:1: note: 'dlopen_LTX_get_vtable' was previously declared here loaders/dlopen.c:61:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used /usr/bin/ld: /tmp/libqint.so.2.0.0.wFQzvG.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/q-7.11/src/q.c:1392: warning: the use of `tmpnam' is dangerous, better use `mkstemp' libtool: install: /usr/bin/install -c .libs/libqint.so.2.0.0T /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libqint.so.2.0.0 libtool: install: (cd /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 && { ln -s -f libqint.so.2.0.0 libqint.so.2 || { rm -f libqint.so.2 && ln -s libqint.so.2.0.0 libqint.so.2; }; }) libtool: install: (cd /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64 && { ln -s -f libqint.so.2.0.0 libqint.so || { rm -f libqint.so && ln -s libqint.so.2.0.0 libqint.so; }; }) libtool: install: /usr/bin/install -c .libs/libqint.lai /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libqint.la libtool: install: /usr/bin/install -c .libs/libqmain.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libqmain.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libqmain.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libqmain.a libtool: install: /usr/bin/install -c .libs/libqint.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libqint.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libqint.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libqint.a libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c q qc qcc '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/bin' libtool: warning: '../libq/libq.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/q /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/bin/q libtool: install: /usr/bin/install -c qc /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/bin/qc libtool: install: /usr/bin/install -c qcc /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/bin/qcc /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/bin' /usr/bin/install -c qld '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples' /usr/bin/install -c -m 644 qint.c '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/include' /usr/bin/install -c -m 644 qint.h '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/include' make[3]: Leaving directory '/builddir/build/BUILD/q-7.11/src' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/src' make[1]: Leaving directory '/builddir/build/BUILD/q-7.11/src' Making install in stdlib make[1]: Entering directory '/builddir/build/BUILD/q-7.11/stdlib' make[2]: Entering directory '/builddir/build/BUILD/q-7.11/stdlib' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' /usr/bin/install -c -m 644 array.q assert.q bag.q complex.q cond.q dict.q error.q getopt.q graphics.q hdict.q heap.q math.q prelude.q rational.q reftypes.q set.q sort.q stddecl.q stdlib.q stdtypes.q stream.q string.q tuple.q typec.q '/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/lib' make[2]: Leaving directory '/builddir/build/BUILD/q-7.11/stdlib' make[1]: Leaving directory '/builddir/build/BUILD/q-7.11/stdlib' + rm -f /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libq.la /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libqint.la /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libqmain.la /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libq.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libqint.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libqmain.a + rm -f /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/clib.la /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/curl.la /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/dxl.la /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/gdbm.la /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/magick.la /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/octave.la /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/odbc.la /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/swig.la /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/system.la /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/tk.la /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/xml.la /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/clib.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/curl.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/dxl.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/gdbm.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/magick.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/octave.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/odbc.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/swig.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/system.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/tk.a /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/xml.a + rm -f /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/info/dir + mkdir -p _docs_staging + mv /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/etc _docs_staging + mv /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/q/examples _docs_staging + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 7.11-41.fc33 --unique-debug-suffix -7.11-41.fc33.riscv64 --unique-debug-src-base q-7.11-41.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/q-7.11 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/bin/q explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libq.so.8.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/bin/qc explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/bin/qcc extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/bin/q extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/bin/qc extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libq.so.8.0.0 extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/bin/qcc explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libqint.so.2.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/clib.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/libqint.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/clib.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/curl.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/curl.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/dxl.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/gdbm.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/gdbm.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/dxl.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/magick.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/magick.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/octave.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/octave.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/odbc.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/swig.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/odbc.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/swig.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/system.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/system.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/tk.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/tk.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/xml.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/lib64/q/xml.so original debug info size: 14092kB, size after compression: 13528kB /usr/lib/rpm/sepdebugcrcfix: Updated 16 CRC32s, 0 CRC32s did match. cpio: libltdl/.libs/libltdlcS.c: Cannot stat: No such file or directory cpio: src/.libs/libqintS.c: Cannot stat: No such file or directory cpio: src/.libs/qS.c: Cannot stat: No such file or directory cpio: src/loaders/dlopen.c: Cannot stat: No such file or directory cpio: src/loaders/preopen.c: Cannot stat: No such file or directory cpio: src/lt__alloc.c: Cannot stat: No such file or directory cpio: src/lt__strl.c: Cannot stat: No such file or directory cpio: src/lt_dlloader.c: Cannot stat: No such file or directory cpio: src/lt_error.c: Cannot stat: No such file or directory cpio: src/ltdl.c: Cannot stat: No such file or directory cpio: src/slist.c: Cannot stat: No such file or directory 4551 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/qld from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/lib64/q/libtool from /bin/sh to #!/usr/bin/sh Processing files: q-7.11-41.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZTAUvr + umask 022 + cd /builddir/build/BUILD + cd q-7.11 + DOCDIR=/builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/doc/q + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/doc/q + cp -pr _docs_staging/etc _docs_staging/examples /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64/usr/share/doc/q + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/lib/.build-id/34/5d673a465df803851c8ccc3c280bd9a948cef3 warning: File listed twice: /usr/lib/.build-id/5e/b21bd04224eb7735a836eeb50f253626f2fe4d warning: File listed twice: /usr/lib/.build-id/f0/f4a6418dd8b7e001dda93c0f36c3efa13b4f9a warning: File listed twice: /usr/lib/.build-id/f2/b0355b2ce6ee20c2337ccf0900361e849ba30e warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/q/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: libq.so.8()(64bit) libqint.so.2()(64bit) q = 7.11-41.fc33 q(riscv-64) = 7.11-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.32)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgdbm.so.6()(64bit) libgmp.so.10()(64bit) liblzma.so.5()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libncurses.so.6()(64bit) libncursesw.so.6()(64bit) libodbc.so.2()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libq.so.8()(64bit) libreadline.so.8()(64bit) librt.so.1()(64bit) libtinfo.so.6()(64bit) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.27)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxslt.so.1()(64bit) libxslt.so.1(LIBXML2_1.0.11)(64bit) libxslt.so.1(LIBXML2_1.0.18)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: q-dx-7.11-41.fc33.riscv64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/q/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: q-dx = 7.11-41.fc33 q-dx(riscv-64) = 7.11-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libDX.so.4()(64bit) libDXL.so.4()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypt.so.2()(64bit) libm.so.6()(64bit) libq.so.8()(64bit) librt.so.1()(64bit) libutil.so.1()(64bit) rtld(GNU_HASH) Processing files: q-curl-7.11-41.fc33.riscv64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/q/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: q-curl = 7.11-41.fc33 q-curl(riscv-64) = 7.11-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypt.so.2()(64bit) libcurl.so.4()(64bit) libm.so.6()(64bit) libq.so.8()(64bit) librt.so.1()(64bit) libutil.so.1()(64bit) rtld(GNU_HASH) Processing files: q-magick-7.11-41.fc33.riscv64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/q/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: q-magick = 7.11-41.fc33 q-magick(riscv-64) = 7.11-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libMagickCore-6.Q16.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypt.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libq.so.8()(64bit) librt.so.1()(64bit) libutil.so.1()(64bit) rtld(GNU_HASH) Processing files: q-tk-7.11-41.fc33.riscv64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/q/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: q-tk = 7.11-41.fc33 q-tk(riscv-64) = 7.11-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypt.so.2()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libq.so.8()(64bit) librt.so.1()(64bit) libtcl8.6.so()(64bit) libtk8.6.so()(64bit) libutil.so.1()(64bit) rtld(GNU_HASH) Processing files: q-devel-7.11-41.fc33.riscv64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/q/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: q-devel = 7.11-41.fc33 q-devel(riscv-64) = 7.11-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libq.so.8()(64bit) libqint.so.2()(64bit) rtld(GNU_HASH) Processing files: q-debugsource-7.11-41.fc33.riscv64 warning: Deprecated external dependency generator is used! Provides: q-debugsource = 7.11-41.fc33 q-debugsource(riscv-64) = 7.11-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: q-debuginfo-7.11-41.fc33.riscv64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/q/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Provides: debuginfo(build-id) = 15790e14cdf4c0f194adc2ea7c40066029c3bf10 debuginfo(build-id) = 15e4b8262c6e9e97ffbf91abb76f85a4237c78db debuginfo(build-id) = 2102e001a0a44c78c73369f31118fd23c1c99d54 debuginfo(build-id) = 31037a08ef113898314cbef66966891c5284e751 debuginfo(build-id) = 345d673a465df803851c8ccc3c280bd9a948cef3 debuginfo(build-id) = 3744fe4624287600f5fdfc320e5d04577d761c58 debuginfo(build-id) = 39da670396a646e540dfce3155fd9cefed571898 debuginfo(build-id) = 4a18952aa4b80f20aa9b2f6ccf8533168919c891 debuginfo(build-id) = 5eb21bd04224eb7735a836eeb50f253626f2fe4d debuginfo(build-id) = c2a6d734d0fdc15f374b6f7b0f90747cdaf232e5 debuginfo(build-id) = e1b182065a3cc7f4227fe6df9880b030add4e1eb debuginfo(build-id) = f053d546819a7256a2821004c23951ea7a0d42c7 debuginfo(build-id) = f0f4a6418dd8b7e001dda93c0f36c3efa13b4f9a debuginfo(build-id) = f2b0355b2ce6ee20c2337ccf0900361e849ba30e debuginfo(build-id) = f4592899b595896af97380dae8e01ba663340422 q-debuginfo = 7.11-41.fc33 q-debuginfo(riscv-64) = 7.11-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: q-debugsource(riscv-64) = 7.11-41.fc33 Processing files: q-dx-debuginfo-7.11-41.fc33.riscv64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/q/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Provides: debuginfo(build-id) = f2b0355b2ce6ee20c2337ccf0900361e849ba30e q-dx-debuginfo = 7.11-41.fc33 q-dx-debuginfo(riscv-64) = 7.11-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: q-debugsource(riscv-64) = 7.11-41.fc33 Processing files: q-curl-debuginfo-7.11-41.fc33.riscv64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/q/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Provides: debuginfo(build-id) = f0f4a6418dd8b7e001dda93c0f36c3efa13b4f9a q-curl-debuginfo = 7.11-41.fc33 q-curl-debuginfo(riscv-64) = 7.11-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: q-debugsource(riscv-64) = 7.11-41.fc33 Processing files: q-magick-debuginfo-7.11-41.fc33.riscv64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/q/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Provides: debuginfo(build-id) = 5eb21bd04224eb7735a836eeb50f253626f2fe4d q-magick-debuginfo = 7.11-41.fc33 q-magick-debuginfo(riscv-64) = 7.11-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: q-debugsource(riscv-64) = 7.11-41.fc33 Processing files: q-tk-debuginfo-7.11-41.fc33.riscv64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/q/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Provides: debuginfo(build-id) = 345d673a465df803851c8ccc3c280bd9a948cef3 q-tk-debuginfo = 7.11-41.fc33 q-tk-debuginfo(riscv-64) = 7.11-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: q-debugsource(riscv-64) = 7.11-41.fc33 Processing files: q-devel-debuginfo-7.11-41.fc33.riscv64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/q/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Provides: debuginfo(build-id) = c133951d7bf95cfa632e5ee7830656f246b29b81 q-devel-debuginfo = 7.11-41.fc33 q-devel-debuginfo(riscv-64) = 7.11-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: q-debugsource(riscv-64) = 7.11-41.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64 Wrote: /builddir/build/RPMS/q-magick-debuginfo-7.11-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/q-devel-debuginfo-7.11-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/q-curl-debuginfo-7.11-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/q-dx-debuginfo-7.11-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/q-tk-debuginfo-7.11-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/q-magick-7.11-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/q-devel-7.11-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/q-7.11-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/q-curl-7.11-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/q-tk-7.11-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/q-dx-7.11-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/q-debugsource-7.11-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/q-debuginfo-7.11-41.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NwHW0p + umask 022 + cd /builddir/build/BUILD + cd q-7.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/q-7.11-41.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0