Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/q.spec'], user='mockbuild'shell=Falseenv={'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8'}timeout=172800printOutput=Falseuid=1000gid=425nspawn_args=[]logger=chrootPath='/var/lib/mock/f26-build-9659764-779286/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/q.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/q-7.11-29.fc26.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/q.spec'], user='mockbuild'shell=Falseenv={'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8'}timeout=172800printOutput=Falseuid=1000gid=425nspawn_args=[]logger=chrootPath='/var/lib/mock/f26-build-9659764-779286/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/q.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xRP8WQ + 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 Patch #1 (q-7.11-tcl86.patch): + echo '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 + 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: http://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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.e7EfTW + umask 022 + cd /builddir/build/BUILD + cd q-7.11 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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-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="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ pkg-config ImageMagick --libs ++ pkg-config ImageMagick --cflags + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-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/lib --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... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking for gawk... (cached) gawk checking for armv7hl-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU 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 armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-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 armv7hl-redhat-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-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 armv7hl-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... yes 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... yes 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 -L/usr/lib -lxslt -lxml2 -lz -llzma -ldl -lm checking for nl_langinfo and CODESET... yes checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done 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 CFLocaleCopyCurrent... 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... 4 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=armv7hl-redhat-linux-gnu' '--host=armv7hl-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/lib' '--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=armv7hl-redhat-linux-gnu' 'host_alias=armv7hl-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' '--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... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for armv7hl-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 armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-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 armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-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 armv7hl-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... /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 armv7hl-redhat-linux-gnu. Source directory: . Installation prefix: /usr C compiler: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard 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 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 -L/usr/lib -lxslt -lxml2 -lz -llzma -ldl -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.15 -I m4 cd . && /bin/sh /builddir/build/BUILD/q-7.11/missing automake-1.15 --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=armv7hl-redhat-linux-gnu --host=armv7hl-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/lib --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=armv7hl-redhat-linux-gnu host_alias=armv7hl-redhat-linux-gnu CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld --enable-ltdl-convenience --cache-file=/dev/null --srcdir=. CC=gcc --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... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for armv7hl-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 armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-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 armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-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 armv7hl-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... /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 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /builddir/build/BUILD/q-7.11/missing autoheader) rm -f stamp-h1 touch config-h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged 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/lib/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o libq.lo libq.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c libq.c -fPIC -DPIC -o .libs/libq.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c libq.c -o libq.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -version-info 8:0:0 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libq.la -rpath /usr/lib libq.lo -lcrypt -lrt -lutil -lnsl -lm libtool: link: gcc -shared -fPIC -DPIC .libs/libq.o -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o clib.lo clib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c clib.c -fPIC -DPIC -o .libs/clib.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:28, from clib.c:35: /usr/include/features.h:180:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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] double ip, fp, dsz; ^~ clib.c: In function 'u8encode': clib.c:503:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ clib.c:508:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ clib.c:510:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ clib.c:515:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ clib.c:517:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ clib.c:519:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 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] if (istuple(hd, &l, &ys) & l > 0) { ~~^~~ clib.c: In function '__F__clib_pow': clib.c:2031:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] mpz_sgn(m) == -1 && (n&1) == 0) ^ clib.c: In function '__F__clib_gcd': clib.c:2136:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] isint(argv[1], &k) && k == 1) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ clib.c: In function '__F__clib_fopen': clib.c:2198:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses] mode[1] && !strchr("b+", mode[1]) || ^ clib.c:2199:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] mode[1] && !strchr("b+", mode[1]) || ^ clib.c:2222:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] mode[1] && !strchr("b+", mode[1]) || ^ clib.c:2240:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] if (s1 = (char*) realloc(s, a+BUFSZ)) { ^~ clib.c: In function '__F__clib_fprintf': clib.c:2758:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (strcmp(f_mod, "l") && strcmp(f_mod, "h") || ^ clib.c:2764:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (f_var_wd) ^ clib.c:2771:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (f_var_prec) ^ clib.c: In function '__F__clib_sprintf': clib.c:2999:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (strcmp(f_mod, "l") && strcmp(f_mod, "h") || ^ clib.c:3005:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (f_var_wd) ^ clib.c:3014:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (f_var_prec) ^ clib.c:3182:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (buf) free(buf); free(s); ^~~~ clib.c:3188:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (buf) free(buf); free(s); ^~~~ clib.c: In function '__F__clib_fscanf': clib.c:3258:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (strcmp(f_mod, "l") && strcmp(f_mod, "h") || ^ clib.c:3260:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] *f_mod == 'h' && !strchr("ndiouxX", f)) { ^ clib.c: In function '__F__clib_sscanf': clib.c:3548:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (strcmp(f_mod, "l") && strcmp(f_mod, "h") || ^ clib.c:3550:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] *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] 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' 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] if (res == 0) ^ clib.c:3975:12: warning: unused variable 'i' [-Wunused-variable] long i, n = m1->size, res; ^ clib.c: In function '__F__clib_bint': clib.c:3993:72: warning: unused variable 'c' [-Wunused-variable] 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] istuple(argv[0], &k, &xv) && k == 2 && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ isobj(xv[0], type(ByteStr), (void**)&m) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ isstr(xv[1], &codeset))) { ~~~~~~~~~~~~~~~~~~~~~~ clib.c: In function '__F__clib_get_int8': clib.c:4095:22: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] signed char *u = m->v; ^ clib.c: In function '__F__clib_put_int8': clib.c:4122:22: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] signed char *u = m->v; ^ clib.c:4127:24: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] signed char *v = m1->v; ^~ clib.c: In function '__F__clib_int8_vect': clib.c:4645:9: warning: unused variable 'i' [-Wunused-variable] int i, n = 0; ^ clib.c: In function '__F__clib_int16_vect': clib.c:4667:9: warning: unused variable 'i' [-Wunused-variable] int i, n = 0; ^ clib.c: In function '__F__clib_int32_vect': clib.c:4689:9: warning: unused variable 'i' [-Wunused-variable] int i, n = 0; ^ clib.c: In function '__F__clib_uint8_vect': clib.c:4711:9: warning: unused variable 'i' [-Wunused-variable] int i, n = 0; ^ clib.c: In function '__F__clib_uint16_vect': clib.c:4733:9: warning: unused variable 'i' [-Wunused-variable] int i, n = 0; ^ clib.c: In function '__F__clib_uint32_vect': clib.c:4755:9: warning: unused variable 'i' [-Wunused-variable] int i, n = 0; ^ clib.c: In function '__F__clib_float_vect': clib.c:4777:9: warning: unused variable 'i' [-Wunused-variable] int i, n = 0; ^ clib.c: In function '__F__clib_double_vect': clib.c:4799:9: warning: unused variable 'i' [-Wunused-variable] int i, n = 0; ^ clib.c: In function 'thread_proc': clib.c:5066:5: warning: label 'errexit' defined but not used [-Wunused-label] errexit: ^~~~~~~ clib.c: At top level: clib.c:5526:8: warning: return type defaults to 'int' [-Wimplicit-int] static check_mut(my_mutex_t *mut) ^~~~~~~~~ clib.c:5534:8: warning: return type defaults to 'int' [-Wimplicit-int] static check_cond(my_cond_t *cond) ^~~~~~~~~~ clib.c:5544:8: warning: return type defaults to 'int' [-Wimplicit-int] static check_sem(my_sem_t *sem) ^~~~~~~~~ clib.c: In function '__F__clib_await': clib.c:5898:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] istuple(argv[0], &n, &v) && n == 2 && (tset = 1) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ isobj(v[0], type(Condition), (void**)&cond) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (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] 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' 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] if (p > regp->s) ^ clib.c: In function 'reg_search': clib.c:6218:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 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] 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' 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] 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] 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] } ^ clib.c: In function 'check_sem': clib.c:5558:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ clib.c: In function 'check_cond': clib.c:5542:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ clib.c: In function '__clib__init': clib.c:6595:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(givertcap); ^~~~~~~~~~~~~~~~~ At top level: clib.c:667:14: warning: 'wcstou8' defined but not used [-Wunused-function] static char *wcstou8(char *t, wchar_t *s) ^~~~~~~ clib.c:646:17: warning: 'u8towcs' defined but not used [-Wunused-function] static wchar_t *u8towcs(wchar_t *t, char *s) ^~~~~~~ clib.c:364:13: warning: 'reverse_limbs' defined but not used [-Wunused-function] static void reverse_limbs(mp_limb_t *p, unsigned n) ^~~~~~~~~~~~~ clib.c: In function 'thread_proc': clib.c:5021:3: warning: 'thr' may be used uninitialized in this function [-Wmaybe-uninitialized] pthread_cond_broadcast(&thr->exit_cond); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clib.c:5028:11: note: 'thr' was declared here THREAD *thr; ^~~ clib.c: In function 'reg_search': clib.c:6226:38: warning: 'prev' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = regexec(®p->rx, regp->p+1, regp->rx.re_nsub+1, ~~~~~~~^~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c clib.c -o clib.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o clib.la -rpath /usr/lib/q clib.lo ../../libq/libq.la -lgmp -lpthread -lcrypt -lrt -lutil -lnsl -lm libtool: link: gcc -shared -fPIC -DPIC .libs/clib.o ../../libq/.libs/libq.so -lgmp -lpthread -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,clib.so -o .libs/clib.so .libs/clib.o: In function `__F__clib_tmpnam': /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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o system.lo system.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c system.c -fPIC -DPIC -o .libs/system.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:28, from system.c:35: /usr/include/features.h:180:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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] double ip, fp, dsz; ^~ system.c: In function 'u8encode': system.c:682:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ system.c:687:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ system.c:689:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ system.c:694:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ system.c:696:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ system.c:698:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 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] if (res != count) ^ system.c: In function '__F__system_fcntl': system.c:2230:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses] n == 4 && !isint(xs[3], &whence)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ system.c: In function 'listfds': system.c:2295:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (isfile(hd, &fp) && FD_ISSET(fileno(fp), set) || ^ system.c:2300:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] if (n == 4) ^ system.c:2315:13: warning: unused variable 'x' [-Wunused-variable] expr *xs, x; ^ system.c: In function '__F__system_rename': system.c:3663:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' 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] 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' 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] 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' 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] long sig; ^~~ system.c: In function '__F__system_crypt': system.c:5076:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' 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] if (completions && iscons(current, &hd, &tl)) ^ system.c: At top level: system.c:5153:1: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations] { ^ system.c: In function 'my_completion_function': system.c:5160:3: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations] return (CPPFunction *) (completion_function?my_sym_completion:NULL); ^~~~~~ system.c: In function 'my_readline': system.c:5188:3: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations] CPPFunction *save_rl_attempted_completion_function = ^~~~~~~~~~~ system.c: In function 'f_parse_mf': system.c:5998:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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' if (buf) free(buf); free(s); ^~~~ system.c:6134:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (buf) free(buf); free(s); ^~~~ At top level: system.c:543:13: warning: 'reverse_limbs' defined but not used [-Wunused-function] static void reverse_limbs(mp_limb_t *p, unsigned n) ^~~~~~~~~~~~~ system.c:529:14: warning: 'mpz_addop1' defined but not used [-Wunused-function] 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] 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] static long long_min(long x, long y) ^~~~~~~~ system.c:489:14: warning: 'mpz_from_double' defined but not used [-Wunused-function] static void *mpz_from_double(mpz_t z, double x) ^~~~~~~~~~~~~~~ system.c:466:14: warning: 'mpz_copy' defined but not used [-Wunused-function] static void *mpz_copy(mpz_t z, mpz_t u) ^~~~~~~~ system.c: In function '__F__system_strfmon': system.c:6109:8: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ret < 0) goto errexit; ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c system.c -o system.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o system.la -rpath /usr/lib/q system.lo ../../libq/libq.la -lgmp -lpthread -lreadline -lncurses -lcrypt -lrt -lutil -lnsl -lm libtool: link: gcc -shared -fPIC -DPIC .libs/system.o ../../libq/.libs/libq.so -lgmp -lpthread -lreadline -lncurses -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o curl.lo curl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] if (!isstr(xv[2], &data) && ~~~~~~~~~~~~~~~~~~~~~^~ !isobj(xv[2], type(ByteStr), (void**)&bdata) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl.c:1135:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] n > 4 || n == 4 && !isstr(xv[3], &content_type)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl.c:1166:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] n > 4 || n == 4 && !isstr(xv[3], &content_type)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl.c:1185:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (tag == CURLFORM_FILE && isstr(xv[k+1], &datafile) || ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c curl.c -o curl.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o curl.la -rpath /usr/lib/q curl.lo ../../libq/libq.la -lcurl -lcrypt -lrt -lutil -lnsl -lm libtool: link: gcc -shared -fPIC -DPIC .libs/curl.o ../../libq/.libs/libq.so -lcurl -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o dxl.lo dxl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] 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] long i; ^ dxl.c: In function '__F__dxl_dxl_exec_on_change_named': dxl.c:576:12: warning: unused variable 'i' [-Wunused-variable] long i; ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c dxl.c -o dxl.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dxl.la -rpath /usr/lib/q dxl.lo ../../libq/libq.la -lDX -lDXL -lcrypt -lrt -lutil -lnsl -lm libtool: link: gcc -shared -fPIC -DPIC .libs/dxl.o ../../libq/.libs/libq.so -lDX -lDXL -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o gdbm.lo gdbm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] (s = gdbm_strerror((int)n))) ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c gdbm.c -o gdbm.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gdbm.la -rpath /usr/lib/q gdbm.lo ../../libq/libq.la -lgdbm -lcrypt -lrt -lutil -lnsl -lm libtool: link: gcc -shared -fPIC -DPIC .libs/gdbm.o ../../libq/.libs/libq.so -lgdbm -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] SetExceptionInfo(exception, UndefinedException); ^~~~~~~~~~~~~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 SetExceptionInfo(ExceptionInfo *,ExceptionType) ^~~~~~~~~~~~~~~~ magick.c: In function '__magick__init': magick.c:103:3: warning: 'InitializeMagick' is deprecated [-Wdeprecated-declarations] InitializeMagick("magick"); ^~~~~~~~~~~~~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:351:3: note: declared here InitializeMagick(const char *) magick_attribute((deprecated)), ^~~~~~~~~~~~~~~~ magick.c: In function '__magick__fini': magick.c:109:3: warning: 'DestroyMagick' is deprecated [-Wdeprecated-declarations] DestroyMagick(); ^~~~~~~~~~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:332:3: note: declared here DestroyMagick(void) magick_attribute((deprecated)), ^~~~~~~~~~~~~ magick.c: In function '__F__magick_magick_info': magick.c:255:33: warning: passing argument 2 of 'GetMagickInfoList' from incompatible pointer type [-Wincompatible-pointer-types] info = GetMagickInfoList("*", &n, &exception); ^ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:124:0, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/magick.h:135:5: note: expected 'size_t * {aka unsigned int *}' but argument is of type 'long unsigned int *' **GetMagickInfoList(const char *,size_t *,ExceptionInfo *); ^~~~~~~~~~~~~~~~~ magick.c:257:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 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] *q++=ScaleQuantumToShort(p->red); ^~~~~~~~~~~~~~~~~~~ ScaleQuantumToChar magick.c: In function 'set_pixels': magick.c:505:14: warning: implicit declaration of function 'ScaleShortToQuantum'; did you mean 'ClampToQuantum'? [-Wimplicit-function-declaration] q->red=ScaleShortToQuantum(*p++); ^~~~~~~~~~~~~~~~~~~ ClampToQuantum magick.c: In function 'mkpixel': magick.c:525:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' 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=] sprintf(geom, "%ux%u", width, height); ~^ %lu magick.c:546:24: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] sprintf(geom, "%ux%u", width, height); ~^ %lu magick.c:552:21: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] sprintf(geom, "%ux%u+%u", width, height, offset); ~^ %lu magick.c:552:24: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] sprintf(geom, "%ux%u+%u", width, height, offset); ~^ %lu magick.c:552:27: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] sprintf(geom, "%ux%u+%u", width, height, offset); ~^ %lu magick.c: In function '__F__magick_set_draw_font': magick.c:663:7: warning: 'LiberateMemory' is deprecated [-Wdeprecated-declarations] LiberateMemory((void**)&draw_info->font); ^~~~~~~~~~~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/deprecate.h:341:3: note: declared here 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] 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' 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] 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' 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] 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' 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] SetImageAttribute(img, key, val); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 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] 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' if (m) free(m); return __ERROR; ^~~~~~ magick.c:1146:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (m) free(m); return __ERROR; ^~~~~~ magick.c: In function '__F__magick_magick_colors': magick.c:1221:41: warning: passing argument 2 of 'GetColorList' from incompatible pointer type [-Wincompatible-pointer-types] char **color_list = GetColorList(s, &n, &exception); ^ In file included from /usr/include/ImageMagick-6/magick/image.h:21:0, from /usr/include/ImageMagick-6/magick/draw.h:22, from /usr/include/ImageMagick-6/magick/annotate.h:21, from /usr/include/ImageMagick-6/magick/MagickCore.h:81, from /usr/include/ImageMagick-6/magick/api.h:24, from magick.c:66: /usr/include/ImageMagick-6/magick/color.h:72:5: note: expected 'size_t * {aka unsigned int *}' but argument is of type 'long unsigned int *' **GetColorList(const char *,size_t *,ExceptionInfo *); ^~~~~~~~~~~~ magick.c: In function '__F__magick_create_image': magick.c:1256:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (ULONG_MAX/8 < w*h || m->size != 8 && m->size != size || ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ magick.c:1259:5: warning: 'AllocateImage' is deprecated [-Wdeprecated-declarations] img = AllocateImage(&info); ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 *AllocateImage(const ImageInfo *) magick_attribute((deprecated)), ^~~~~~~~~~~~~ magick.c:1265:7: warning: 'SetImagePixels' is deprecated [-Wdeprecated-declarations] if (!(pixels = SetImagePixels(img, 0, 0, w, h))) { ^~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 *SetImagePixels(Image *,const ssize_t,const ssize_t,const size_t, ^~~~~~~~~~~~~~ magick.c:1278:7: warning: 'SyncImagePixels' is deprecated [-Wdeprecated-declarations] if (SyncImagePixels(img)) ^~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 SyncImagePixels(Image *) magick_attribute((deprecated)), ^~~~~~~~~~~~~~~ magick.c: In function '__F__magick_image_to_blob': magick.c:1432:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] (pixels = GetImagePixels(img, x, y, w, h))) { ^ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 *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] if (!(pixels = SetImagePixels(img, x, y, w, h))) ^~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 *SetImagePixels(Image *,const ssize_t,const ssize_t,const size_t, ^~~~~~~~~~~~~~ magick.c:1561:5: warning: 'SyncImagePixels' is deprecated [-Wdeprecated-declarations] if (SyncImagePixels(img)) ^~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 SyncImagePixels(Image *) magick_attribute((deprecated)), ^~~~~~~~~~~~~~~ magick.c: In function '__F__magick_quantize': magick.c:1586:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (isuint(xv[0], &space) && ~~~~~~~~~~~~~~~~~~~~~~^~ (isuint(xv[1], &ncolors) || isbool(xv[1], &dither)) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ magick.c:1582:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (n == 1 && ~~~~~~~^~ (isuint(xv[0], &space) || ~~~~~~~~~~~~~~~~~~~~~~~~~ isobj(xv[0], type(Image), (void**)&img2)) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ magick.c:1592:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] n == 3 && ~~~~~~~~~ isuint(xv[0], &space) && ~~~~~~~~~~~~~~~~~~~~~~~~ isuint(xv[1], &ncolors) && ~~~~~~~~~~~~~~~~~~~~~~~~^~ isbool(xv[2], &dither))) && ~~~~~~~~~~~~~~~~~~~~~~ magick.c:1581:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] istuple(argv[1], &n, &xv) && ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (n == 1 && ~~~~~~~~~~ (isuint(xv[0], &space) || ~~~~~~~~~~~~~~~~~~~~~~~~~ isobj(xv[0], type(Image), (void**)&img2)) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ n == 2 && ~~~~~~~~~ (isuint(xv[0], &space) && ~~~~~~~~~~~~~~~~~~~~~~~~~ (isuint(xv[1], &ncolors) || isbool(xv[1], &dither)) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ isobj(xv[0], type(Image), (void**)&img2) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ isbool(xv[1], &dither)) || ~~~~~~~~~~~~~~~~~~~~~~~~~~ n == 3 && ~~~~~~~~~ isuint(xv[0], &space) && ~~~~~~~~~~~~~~~~~~~~~~~~ isuint(xv[1], &ncolors) && ~~~~~~~~~~~~~~~~~~~~~~~~~~ isbool(xv[2], &dither))) && ~~~~~~~~~~~~~~~~~~~~~~~ magick.c:1597:2: warning: 'MapImages' is deprecated [-Wdeprecated-declarations] res = MapImages(imgs, img2, dither); ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 MapImages(Image *,const Image *,const MagickBooleanType) ^~~~~~~~~ magick.c:1600:2: warning: 'MapImage' is deprecated [-Wdeprecated-declarations] res = MapImage(img, img2, dither); ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 MapImage(Image *,const Image *,const MagickBooleanType) ^~~~~~~~ magick.c: In function '__F__magick_flatten': magick.c:1945:5: warning: 'FlattenImages' is deprecated [-Wdeprecated-declarations] Image *img = FlattenImages(imgs, &exception); ^~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 *FlattenImages(Image *,ExceptionInfo *) magick_attribute((deprecated)), ^~~~~~~~~~~~~ magick.c: In function '__F__magick_mosaic': magick.c:1961:5: warning: 'MosaicImages' is deprecated [-Wdeprecated-declarations] Image *img = MosaicImages(imgs, &exception); ^~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 *MosaicImages(Image *,ExceptionInfo *) magick_attribute((deprecated)), ^~~~~~~~~~~~ magick.c: In function '__F__magick_montage': magick.c:2055:18: warning: unused variable 'next' [-Wunused-variable] Image *img, *next; ^~~~ magick.c: In function '__F__magick_threshold': magick.c:2488:5: warning: 'ThresholdImageChannel' is deprecated [-Wdeprecated-declarations] int res = ThresholdImageChannel(img, val); ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 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=] sprintf(geom, "%+d%+d", x, y); ~~^ %+ld magick.c:2805:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] sprintf(geom, "%+d%+d", x, y); ~~^ %+ld magick.c: In function '__F__magick_color_flood_fill': magick.c:2854:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] isobj(argv[3], type(ByteStr), (void**)&m2) && m2->size == 8)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ magick.c:2864:7: warning: 'AcquireOnePixel' is deprecated [-Wdeprecated-declarations] target = AcquireOnePixel(img, x, y, &exception); ^~~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 AcquireOnePixel(const Image *,const ssize_t,const ssize_t,ExceptionInfo *) ^~~~~~~~~~~~~~~ magick.c:2870:5: warning: 'ColorFloodfillImage' is deprecated [-Wdeprecated-declarations] res = ColorFloodfillImage(img, draw_info, target, x, y, ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 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] isobj(argv[3], type(ByteStr), (void**)&m2) && m2->size == 8)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ magick.c:2901:7: warning: 'AcquireOnePixel' is deprecated [-Wdeprecated-declarations] target = AcquireOnePixel(img, x, y, &exception); ^~~~~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 AcquireOnePixel(const Image *,const ssize_t,const ssize_t,ExceptionInfo *) ^~~~~~~~~~~~~~~ magick.c:2905:5: warning: 'MatteFloodfillImage' is deprecated [-Wdeprecated-declarations] res = MatteFloodfillImage(img, target, 0xffff-opacity, x, y, ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 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] res = OpaqueImage(img, target, fill); ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 OpaqueImage(Image *,const PixelPacket,const PixelPacket) ^~~~~~~~~~~ magick.c: In function '__F__magick_transparent': magick.c:2946:5: warning: 'TransparentImage' is deprecated [-Wdeprecated-declarations] res = TransparentImage(img, target, 0xffff-opacity); ^~~ In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:101:0, 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 TransparentImage(Image *,const PixelPacket,const Quantum) ^~~~~~~~~~~~~~~~ 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c magick.c -o magick.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o magick.la -rpath /usr/lib/q magick.lo ../../libq/libq.la -lMagickCore-6.Q16 -lcrypt -lrt -lutil -lnsl -lm libtool: link: gcc -shared -fPIC -DPIC .libs/magick.o ../../libq/.libs/libq.so -lMagickCore-6.Q16 -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o octave.lo octave.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c octave.c -fPIC -DPIC -o .libs/octave.o octave.c:221:8: warning: return type defaults to 'int' [-Wimplicit-int] static beta_check(int d) ^~~~~~~~~~ octave.c:722:8: warning: return type defaults to 'int' [-Wimplicit-int] static isscalar(expr x, int *cplx, double *re, double *im) ^~~~~~~~ octave.c:751:8: warning: return type defaults to 'int' [-Wimplicit-int] static isvector(expr x, int *cplx, int *c) ^~~~~~~~ octave.c:768:8: warning: return type defaults to 'int' [-Wimplicit-int] static ismatrix(expr x, int *cplx, int *r, int *c) ^~~~~~~~ octave.c:792:8: warning: return type defaults to 'int' [-Wimplicit-int] static writescalar(int d, char *magic, char *name, ^~~~~~~~~~~ octave.c:820:8: warning: return type defaults to 'int' [-Wimplicit-int] static writevector(int d, char *magic, char *name, ^~~~~~~~~~~ octave.c:860:8: warning: return type defaults to 'int' [-Wimplicit-int] 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] } ^ octave.c: In function 'isscalar': octave.c:749:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c octave.c -o octave.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o octave.la -rpath /usr/lib/q octave.lo ../../libq/libq.la -lcrypt -lrt -lutil -lnsl -lm libtool: link: gcc -shared -fPIC -DPIC .libs/octave.o ../../libq/.libs/libq.so -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,octave.so -o .libs/octave.so .libs/octave.o: In function `start_octave': /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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o odbc.lo odbc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c odbc.c -fPIC -DPIC -o .libs/odbc.o odbc.c: In function '__F__odbc_odbc_typeinfo': odbc.c:693:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (n >= m) ^ odbc.c:699:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] checkstr(name, len[1]), ^ odbc.c:640:64: note: in definition of macro 'checkstr' #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) ^ In file included from odbc.c:69:0: ../../libq/libq.h:272:19: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' __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] checkstr(prefix, len[4]), ^ odbc.c:640:64: note: in definition of macro 'checkstr' #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) ^ In file included from odbc.c:69:0: ../../libq/libq.h:272:19: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' __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] checkstr(suffix, len[5]), ^ odbc.c:640:64: note: in definition of macro 'checkstr' #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) ^ In file included from odbc.c:69:0: ../../libq/libq.h:272:19: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' __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] checkstr(params, len[6]), ^ odbc.c:640:64: note: in definition of macro 'checkstr' #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) ^ In file included from odbc.c:69:0: ../../libq/libq.h:272:19: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' __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] checkstr(local_name, len[13]), ^ odbc.c:640:64: note: in definition of macro 'checkstr' #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) ^ In file included from odbc.c:69:0: ../../libq/libq.h:272:19: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' __DLLIMPORT char *to_utf8(const char *s, const char *encoding); ^~~~~~~ odbc.c: In function '__F__odbc_odbc_tables': odbc.c:774:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (n >= m) ^ odbc.c:780:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] checkstr(name, len[3]), ^ odbc.c:640:64: note: in definition of macro 'checkstr' #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) ^ In file included from odbc.c:69:0: ../../libq/libq.h:272:19: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' __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] checkstr(type, len[4])); ^ odbc.c:640:64: note: in definition of macro 'checkstr' #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) ^ In file included from odbc.c:69:0: ../../libq/libq.h:272:19: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' __DLLIMPORT char *to_utf8(const char *s, const char *encoding); ^~~~~~~ odbc.c: In function '__F__odbc_odbc_columns': odbc.c:844:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (n >= m) ^ odbc.c:850:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] checkstr(name, len[4]), ^ odbc.c:640:64: note: in definition of macro 'checkstr' #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) ^ In file included from odbc.c:69:0: ../../libq/libq.h:272:19: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' __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] checkstr(type, len[6]), ^ odbc.c:640:64: note: in definition of macro 'checkstr' #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) ^ In file included from odbc.c:69:0: ../../libq/libq.h:272:19: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' __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] checkstr(nullable, len[18]), ^ odbc.c:640:64: note: in definition of macro 'checkstr' #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) ^ In file included from odbc.c:69:0: ../../libq/libq.h:272:19: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' __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] checkstr(deflt, len[13])); ^ odbc.c:640:64: note: in definition of macro 'checkstr' #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) ^ In file included from odbc.c:69:0: ../../libq/libq.h:272:19: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' __DLLIMPORT char *to_utf8(const char *s, const char *encoding); ^~~~~~~ odbc.c: In function '__F__odbc_odbc_primary_keys': odbc.c:915:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (n >= m) ^ odbc.c:920:22: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] xs[n++] = checkstr(name, len[4]); ^ odbc.c:640:64: note: in definition of macro 'checkstr' #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) ^ In file included from odbc.c:69:0: ../../libq/libq.h:272:19: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' __DLLIMPORT char *to_utf8(const char *s, const char *encoding); ^~~~~~~ odbc.c: In function '__F__odbc_odbc_foreign_keys': odbc.c:985:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (n >= m) ^ odbc.c:991:17: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] checkstr(name, len[8]), ^ odbc.c:640:64: note: in definition of macro 'checkstr' #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) ^ In file included from odbc.c:69:0: ../../libq/libq.h:272:19: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' __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] checkstr(pktabname, len[3]), ^ odbc.c:640:64: note: in definition of macro 'checkstr' #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) ^ In file included from odbc.c:69:0: ../../libq/libq.h:272:19: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' __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] checkstr(pkname, len[4])); ^ odbc.c:640:64: note: in definition of macro 'checkstr' #define checkstr(s,l) ((l==SQL_NULL_DATA)?mkvoid:mkstr(to_utf8(s, NULL))) ^ In file included from odbc.c:69:0: ../../libq/libq.h:272:19: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' __DLLIMPORT char *to_utf8(const char *s, const char *encoding); ^~~~~~~ odbc.c: In function '__F__odbc_sql_more': odbc.c:1378:12: warning: unused variable 'len' [-Wunused-variable] SDWORD len; ^~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c odbc.c -o odbc.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o odbc.la -rpath /usr/lib/q odbc.lo ../../libq/libq.la -lgmp -lodbc -lcrypt -lrt -lutil -lnsl -lm libtool: link: gcc -shared -fPIC -DPIC .libs/odbc.o ../../libq/.libs/libq.so -lgmp -lodbc -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o swig.lo swig.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] if (p && p->ptr && p->owner) ^ swig.c: In function '__F__swig_swig_get': swig.c:148:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (p && p->ptr || sz <= 0)) { ~~^~~~~~~~~ swig.c: In function '__F__swig_swig_put': swig.c:175:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (p && p->ptr || m->size == 0)) { ~~^~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c swig.c -o swig.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o swig.la -rpath /usr/lib/q swig.lo ../../libq/libq.la -lcrypt -lrt -lutil -lnsl -lm libtool: link: gcc -shared -fPIC -DPIC .libs/swig.o ../../libq/.libs/libq.so -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o tk.lo tk.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c tk.c -fPIC -DPIC -o .libs/tk.o tk.c: In function 'tk_eval': tk.c:491:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] if (tld_interp && tld_interp->result && *tld_interp->result) ^~ In file included from tk.c:80:0: /usr/include/tcl.h:504:11: note: declared here 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] if (tld_interp && tld_interp->result && *tld_interp->result) ^~ In file included from tk.c:80:0: /usr/include/tcl.h:504:11: note: declared here 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] set_result(tld_interp->result); ^~~~~~~~~~ In file included from tk.c:80:0: /usr/include/tcl.h:504:11: note: declared here 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] if (tld_interp->result && *tld_interp->result) ^~ In file included from tk.c:80:0: /usr/include/tcl.h:504:11: note: declared here 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] if (tld_interp->result && *tld_interp->result) ^~ In file included from tk.c:80:0: /usr/include/tcl.h:504:11: note: declared here 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] set_result(tld_interp->result); ^~~~~~~~~~ In file included from tk.c:80:0: /usr/include/tcl.h:504:11: note: declared here 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] if (tld_interp->result && *tld_interp->result) ^~ In file included from tk.c:80:0: /usr/include/tcl.h:504:11: note: declared here 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] if (tld_interp->result && *tld_interp->result) ^~ In file included from tk.c:80:0: /usr/include/tcl.h:504:11: note: declared here 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] set_result(tld_interp->result); ^~~~~~~~~~ In file included from tk.c:80:0: /usr/include/tcl.h:504:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libq -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c tk.c -o tk.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tk.la -rpath /usr/lib/q tk.lo ../../libq/libq.la -lpthread -ltcl -ltk -lX11 -lcrypt -lrt -lutil -lnsl -lm libtool: link: gcc -shared -fPIC -DPIC .libs/tk.o ../../libq/.libs/libq.so -lpthread -ltcl -ltk -lX11 -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c xml.c -fPIC -DPIC -o .libs/xml.o xml.c:212:8: warning: return type defaults to 'int' [-Wimplicit-int] static supported(xmlNodePtr node) ^~~~~~~~~ xml.c: In function '__D__xml_XMLNode': xml.c:545:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (xmlNodePtr)node->doc->extSubset != node && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (xmlNodePtr)node->doc->intSubset != node)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xml.c: In function '__F__xml_xml_new_doc': xml.c:566:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] istuple(argv[1], &n, &xs) && n==2 && isstr(xs[0], &extid) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ isstr(xs[1], &sysid))) { ~~~~~~~~~~~~~~~~~~~~ xml.c: In function '__F__xml_xslt_apply_stylesheet': xml.c:1373:10: warning: unused variable 'j' [-Wunused-variable] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c xml.c -o xml.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xml.la -rpath /usr/lib/q xml.lo ../../libq/libq.la -lxml2 -lz -llzma -lm -ldl -L/usr/lib -lxslt -lxml2 -lz -llzma -ldl -lm -lcrypt -lrt -lutil -lnsl -lm libtool: link: gcc -shared -fPIC -DPIC .libs/xml.o ../../libq/.libs/libq.so -L/usr/lib -lxslt -lxml2 -lz -llzma -ldl -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] static unload_dlls(void); ^~~~~~~~~~~ q.c: In function '__qq__exitproc': q.c:61:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ q.c: At top level: q.c:480:8: warning: return type defaults to 'int' [-Wimplicit-int] static comp(x, y) ^~~~ q.c:486:8: warning: return type defaults to 'int' [-Wimplicit-int] 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 if (!fsyms) return; ^~~~~~ q.c:486:8: note: declared here static build_fsym_table() ^~~~~~~~~~~~~~~~ q.c:493:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (('a' <= *base && *base <= 'z' || ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ q.c: At top level: q.c:513:8: warning: return type defaults to 'int' [-Wimplicit-int] 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 if (!vsyms) return; ^~~~~~ q.c:513:8: note: declared here static build_vsym_table() ^~~~~~~~~~~~~~~~ q.c:520:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (('a' <= *base && *base <= 'z' || ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ q.c: At top level: q.c:540:8: warning: return type defaults to 'int' [-Wimplicit-int] static search(table, text, len) ^~~~~~ q.c:550:8: warning: return type defaults to 'int' [-Wimplicit-int] 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 if (!fsyms) return; ^~~~~~ q.c:550:8: note: declared here static clear_fsym_table() ^~~~~~~~~~~~~~~~ q.c: At top level: q.c:560:8: warning: return type defaults to 'int' [-Wimplicit-int] 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 if (!vsyms) return; ^~~~~~ q.c:560:8: note: declared here static clear_vsym_table() ^~~~~~~~~~~~~~~~ q.c: In function 'sym_generator': q.c:603:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (name = csyms[i_csym]) ^~~~ q.c:614:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (name = fsyms[i_fsym]) ^~~~ q.c:625:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (name = vsyms[i_vsym]) ^~~~ q.c: In function 'init_readline': q.c:655:3: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations] 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] if (matches[0]) ^ q.c: In function 'mygetline1': q.c:723:18: warning: unused variable 'last' [-Wunused-variable] static char *last = NULL; ^~~~ q.c:766:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (l = strlen(bufp)) > 0 && bufp[l-1] == '\n') ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ q.c:774:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (buf) ^ q.c:785:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] static contd(); ^~~~~ q.c: In function '__qq__mygetline': q.c:891:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] codeset != NULL && strcmp(codeset, rl_codeset) != 0) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q.c: At top level: q.c:949:8: warning: return type defaults to 'int' [-Wimplicit-int] static wsarg(char *arg) ^~~~~ q.c:983:8: warning: return type defaults to 'int' [-Wimplicit-int] static qcarg(char *arg) ^~~~~ q.c:995:8: warning: return type defaults to 'int' [-Wimplicit-int] static set_qcarg(int i, char *arg) ^~~~~~~~~ In file included from sys.h:38:0, 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] #define debug_parse_opts __qq__debug_parse_opts ^ q.c:1039:12: note: in expansion of macro 'debug_parse_opts' if (!debug_parse_opts(opts)) { ^~~~~~~~~~~~~~~~ q.c: In function 'get_source_opts': q.c:1292:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ q.c: At top level: q.c:1332:1: warning: return type defaults to 'int' [-Wimplicit-int] spawn(char *prog, char *argv[]) ^~~~~ q.c:1366:8: warning: type defaults to 'int' in declaration of 'resolve' [-Wimplicit-int] static resolve(), init_dlls(); ^~~~~~~ q.c:1366:19: warning: type defaults to 'int' in declaration of 'init_dlls' [-Wimplicit-int] static resolve(), init_dlls(); ^~~~~~~~~ q.c: In function 'dorun': q.c:1381:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] chkfile(searchlib(fname, _source)) && q.c:1383:72: warning: suggest parentheses around '&&' within '||' [-Wparentheses] chkfile(searchlib(fname, strcat(strcpy(fname2, _source), ".q"))) && q.c:1534:33: warning: unused variable 'argv0' [-Wunused-variable] int count = 0; char *const *argv0 = argv; ^~~~~ q.c:1595:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (gflag) ^ q.c:1374:45: warning: unused variable 'msg' [-Wunused-variable] 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] double ip, fp; ^~ q.c: In function '__qq__getmpz_floatexpr': q.c:1757:9: warning: unused variable 'z' [-Wunused-variable] mpz_t z; ^ In file included from sys.h:38:0, 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] #define qmsentinel __qq__qmsentinel ^ q.c:1782:3: note: in expansion of macro 'qmsentinel' 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] extern __libq_init(); ^~~~~~~~~~~ q.c:1849:8: warning: return type defaults to 'int' [-Wimplicit-int] static resolve() ^~~~~~~ q.c:1975:8: warning: return type defaults to 'int' [-Wimplicit-int] static init_dlls() ^~~~~~~~~ q.c:1985:8: warning: return type defaults to 'int' [-Wimplicit-int] static unload_dlls() ^~~~~~~~~~~ q.c:2008:8: warning: return type defaults to 'int' [-Wimplicit-int] static gnuclient(char *sexp) ^~~~~~~~~ q.c:2121:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ q.c: In function 'main': q.c:2200:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (chkfile(searchlib(fname, source)) && In file included from sys.h:38:0, 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] #define acquire_input __qq__acquire_input ^ q.c:2452:5: note: in expansion of macro 'acquire_input' acquire_input(); ^~~~~~~~~~~~~ mangle.h:220:23: warning: implicit declaration of function '__qq__release_input'; did you mean '__qq__release_tty'? [-Wimplicit-function-declaration] #define release_input __qq__release_input ^ q.c:2457:7: note: in expansion of macro 'release_input' release_input(); ^~~~~~~~~~~~~ q.c: In function 'unload_dlls': q.c:2004:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'mygetline1': q.c:795:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'qcarg': q.c:993:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'set_qcarg': q.c:1005:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'init_dlls': q.c:1983:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'gnuclient': q.c:2016:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: q.c:723:18: warning: 'last' defined but not used [-Wunused-variable] static char *last = NULL; ^~~~ q.c:949:8: warning: 'wsarg' defined but not used [-Wunused-function] 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] while (nargs-- > 1) In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from q.c:26: mangle.h:147:15: note: '__qq__nargs' was declared here #define nargs __qq__nargs ^ q.c:1376:10: note: in expansion of macro 'nargs' int i, nargs; ^~~~~ q.c:1566:23: warning: 'args' may be used uninitialized in this function [-Wmaybe-uninitialized] symtb[ARGSOP].x = args; q.c:1377:9: note: 'args' was declared here EXPR *args, *in, *out, *err; ^~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] 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' if (thr->xst) free(thr->xst); thr->xst = thr->xsp = NULL; ^~~ qm.c:332:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (thr->ast) free(thr->ast); thr->ast = thr->asp = NULL; ^~~ qm.c:333:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (thr->args) free(thr->args); thr->args = NULL; ^~~ qm.c:334:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (thr->mark) free(thr->mark); thr->mark = NULL; ^~~ qm.c:336:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' 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] static initfx(int fno) ^~~~~~ qm.c: In function 'initfx': qm.c:738:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] fno < BUILTIN && funtb[fno] && nargs[fno] == 0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qm.c: In function '__qq__init': qm.c:772:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] if (x = xfreep) { ^ qm.c: In function '__qq__qmfree': qm.c:1226:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (x->type) ^ In file included from sys.h:38:0, 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] #define push __qq__push ^ qm.c:1189:7: note: in expansion of macro 'push' push: ^~~~ qm.c: In function '__qq__usrexpr': qm.c:1649:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (type) ^ qm.c: In function '__qq__consexpr': qm.c:1749:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] if (x = vectexpr(thr, n+1, xv)) { ^ qm.c:2007:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] if (x = funexpr(thr, fno)) { ^ qm.c: In function 'evalb': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2228:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2228:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2239:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2239:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2259:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2259:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2262:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2262:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c:2215:27: warning: unused variable 'rc' [-Wunused-variable] int n, *rp, rc; ^~ qm.c:2215:23: warning: unused variable 'rp' [-Wunused-variable] int n, *rp, rc; ^~ qm.c: At top level: qm.c:2279:8: warning: return type defaults to 'int' [-Wimplicit-int] static evalb_with_frame(THREAD *thr, ^~~~~~~~~~~~~~~~ qm.c: In function 'evalb_with_frame': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2297:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2297:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2311:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2311:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2334:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2334:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2340:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2340:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c: In function 'eval_internal': qm.c:3569:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!x->red || !x->raw && thr->mode) ~~~~~~~~^~~~~~~~~~~~ qm.c: In function '__qq__eval': qm.c:3655:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] cstackmax > 0 && stack_dir*(&base - thr->baseptr) >= cstackmax) { In file included from sys.h:38:0, 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] #define print_breakpoints __qq__print_breakpoints ^ qm.c:4052:8: note: in expansion of macro 'print_breakpoints' 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=] printf("%3d> ", thr->asp-thr->ast-base); ~~^ ~~~~~~~~~~~~~~~~~~~~~~ %3ld qm.c:4249:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%3d> ", thr->asp-thr->ast-base); ~~^ ~~~~~~~~~~~~~~~~~~~~~~ %3ld qm.c:4275:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free) out of %d\n", ~^ %ld qm.c:4275:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free) out of %d\n", ~^ %ld qm.c:4278:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free)\n", ~^ %ld qm.c:4278:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free)\n", ~^ %ld qm.c: At top level: qm.c:4475:1: warning: return type defaults to 'int' [-Wimplicit-int] varcmp(v1, v2) ^~~~~~ qm.c: In function 'listvars': qm.c:4506:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qm.c: In function 'lastoffs': qm.c:4902:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ip->opcode == MATCHOP) ^ qm.c: In function 'printc': qm.c:4914:17: warning: unused variable 'maxoffs' [-Wunused-variable] 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] if (matchsym(fno, s) && ^ qm.c: In function '__qq__getsym': qm.c:5311:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (matchsym(fno, s) && ^ qm.c: In function '__qq__gettype': qm.c:5368:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (matchtyp(type, s) && ^ qm.c: At top level: qm.c:86:14: warning: 'x_copy' declared 'static' but never defined [-Wunused-function] static EXPR *x_copy(EXPR *x); ^~~~~~ qm.c:87:13: warning: 'xcopy_cleanup' declared 'static' but never defined [-Wunused-function] static void xcopy_cleanup(void); ^~~~~~~~~~~~~ qm.c: In function 'initfx': qm.c:748:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: qm.c:4588:12: warning: 'getvar' defined but not used [-Wunused-function] 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] else if (impib[p] & 2) ^ qm.c:5299:35: note: 'p1' was declared here int fno, fno1 = NONE, p = NONE, p1; ^~ qm.c: In function 'evalu': qm.c:3686:7: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized] res = eval(thr, x); ~~~~^~~~~~~~~~~~~~ qm.c:3134:13: note: 'h' was declared here EXPR *h, *x; ^ qm.c:3143:13: warning: 'xp' may be used uninitialized in this function [-Wmaybe-uninitialized] 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] if (thr->mode && thr->xsp-thr->xst-1 == start) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sys.h:38:0, 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] #define eval __qq__eval ^~~~~~~~~~ qm.c:3428:11: note: 'h' was declared here EXPR *h, *x = NULL; ^ qm.c:3433:11: warning: 'xp' may be used uninitialized in this function [-Wmaybe-uninitialized] 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] 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] else if (impib[p] & 2) ^ qm.c:5356:37: note: 'p1' was declared here int type, type1 = NONE, p = NONE, p1; ^~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] 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] 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] fread(&mainno, sizeof mainno, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:66:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&codespsz, sizeof codespsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:67:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&strspsz, sizeof strspsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:68:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&limbspsz, sizeof limbspsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:69:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&hashtbsz, sizeof hashtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:70:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&symtbsz, sizeof symtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:71:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&statetbsz, sizeof statetbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:72:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&transtbsz, sizeof transtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:73:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&roffstbsz, sizeof roffstbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:74:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&matchtbsz, sizeof matchtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:75:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&inittbsz, sizeof inittbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:76:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&modtbsz, sizeof modtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:77:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&imptbsz, sizeof imptbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:137:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(codesp, sizeof(OPREC), codespsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:138:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(strsp, sizeof(char), strspsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:139:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 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] fread(hashtb, sizeof(int), hashtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:141:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(symtb, sizeof(SYMREC), symtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:142:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(statetb, sizeof(STATEREC), statetbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:143:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(transtb, sizeof(TRANSREC), transtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:144:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(roffstb, sizeof(int), roffstbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:145:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(matchtb, sizeof(int), matchtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:146:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(inittb, sizeof(int), inittbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:147:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(modtb, sizeof(int), modtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:148:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(fnametb, sizeof(int), modtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:149:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(imports, sizeof(int), modtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:150:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(imptb, sizeof(int), imptbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:151:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(impib, sizeof(byte), imptbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] char *t = s, *s0 = s; ^~ qmfuns.c: In function 'u8encode': qmfuns.c:454:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:459:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:461:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:466:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:468:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:470:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c: At top level: qmfuns.c:878:1: warning: return type defaults to 'int' [-Wimplicit-int] xeq(THREAD *thr, EXPR *x, EXPR *y) ^~~ qmfuns.c: In function 'xeq': qmfuns.c:904:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] xeqchk(THREAD *thr, EXPR *x, EXPR *y) ^~~~~~ qmfuns.c:1002:1: warning: return type defaults to 'int' [-Wimplicit-int] add_vtb(THREAD *thr, int fno, EXPR *x) ^~~~~~~ qmfuns.c:1045:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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] qmdef(THREAD* thr) ^~~~~ qmfuns.c:1191:1: warning: return type defaults to 'int' [-Wimplicit-int] qmundef(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'xlpat': qmfuns.c:1285:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] if (x != t) ^ qmfuns.c: In function 'xlbody': qmfuns.c:1447:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (y1 = xlbody(thr, x1, key, env)) ^~ qmfuns.c: At top level: qmfuns.c:1532:1: warning: return type defaults to 'int' [-Wimplicit-int] xlmatch(THREAD *thr, EXPRL **xvars, int mode, int vmode, ^~~~~~~ qmfuns.c: In function 'xlmatch': qmfuns.c:1658:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] if (y1 = xlrepl(thr, x1, key, xenv)) ^~ qmfuns.c: At top level: qmfuns.c:1945:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmlambda(THREAD* thr) ^~~~~~~~ qmfuns.c: In function 'qmlambda': qmfuns.c:1984:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (x) ^ qmfuns.c: At top level: qmfuns.c:2005:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmlambda_app(THREAD* thr) ^~~~~~~~~~~~ qmfuns.c:2114:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] if (y1 = consexpr(thr, APPOP, f, y1)) ^~ qmfuns.c:2200:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (y1 = xclosview(thr, x1, vtb, env)) ^~ qmfuns.c: At top level: qmfuns.c:2246:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmview(THREAD *thr) ^~~~~~ qmfuns.c:2271:1: warning: return type defaults to 'int' [-Wimplicit-int] strconcat(THREAD *thr, char *s1, char *s2) ^~~~~~~~~ qmfuns.c:2285:1: warning: return type defaults to 'int' [-Wimplicit-int] listconcat(THREAD *thr, EXPR *x1, EXPR *x2) ^~~~~~~~~~ qmfuns.c:2310:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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] tupleconcat(THREAD *thr, EXPR *x1, EXPR *x2) ^~~~~~~~~~~ qmfuns.c:2366:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmconcat(THREAD* thr) ^~~~~~~~ qmfuns.c:2440:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmadd(THREAD* thr) ^~~~~ qmfuns.c:2506:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmin(THREAD* thr) ^~~~~ qmfuns.c:2583:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmul(THREAD* thr) ^~~~~ qmfuns.c:2617:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfdiv(THREAD* thr) ^~~~~~ qmfuns.c:2649:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmdiv(THREAD* thr) ^~~~~ qmfuns.c:2662:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmod(THREAD* thr) ^~~~~ qmfuns.c:2674:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmpow(THREAD* thr) ^~~~~ qmfuns.c: In function 'qmpow': qmfuns.c:2691:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (mpz_sgn(args[0]->data.z) >= 0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modf(args[1]->data.f, &ip) == 0.0) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (mpz_sgn(args[0]->data.z) != 0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ args[1]->data.f != 0.0)) ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c:2715:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (args[0]->data.f >= 0.0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~ modf(args[1]->data.f, &ip) == 0.0) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (args[0]->data.f != 0.0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~ args[1]->data.f != 0.0)) ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:2735:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmidx(THREAD* thr) ^~~~~ qmfuns.c:2793:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmcomp(THREAD* thr) ^~~~~~ qmfuns.c:2808:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmumin(THREAD* thr) ^~~~~~ qmfuns.c:2821:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmhash(THREAD* thr) ^~~~~~ qmfuns.c:2861:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmunquote(THREAD* thr) ^~~~~~~~~ qmfuns.c:2882:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmforce(THREAD* thr) ^~~~~~~ qmfuns.c:2888:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmem(THREAD* thr) ^~~~~ qmfuns.c:2896:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmor(THREAD* thr) ^~~~ qmfuns.c:2914:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmorelse(THREAD* thr) ^~~~~~~~ qmfuns.c:2926:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmand(THREAD* thr) ^~~~~ qmfuns.c:2944:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmandthen(THREAD* thr) ^~~~~~~~~ qmfuns.c:2956:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmnot(THREAD* thr) ^~~~~ qmfuns.c:2972:1: warning: return type defaults to 'int' [-Wimplicit-int] xcmp(EXPR *x, EXPR *y, int *result) ^~~~ qmfuns.c:3041:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmle(THREAD* thr) ^~~~ qmfuns.c:3057:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmgr(THREAD* thr) ^~~~ qmfuns.c:3073:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmeq(THREAD* thr) ^~~~ qmfuns.c:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmleq(THREAD* thr) ^~~~~ qmfuns.c:3105:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmgeq(THREAD* thr) ^~~~~ qmfuns.c:3121:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmneq(THREAD* thr) ^~~~~ qmfuns.c:3137:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmid(THREAD* thr) ^~~~ qmfuns.c:3146:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmrapp(THREAD* thr) ^~~~~~ qmfuns.c:3161:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmseq(THREAD* thr) ^~~~~ qmfuns.c:3167:8: warning: return type defaults to 'int' [-Wimplicit-int] static shl(THREAD *thr, mpz_t z, int i) ^~~ qmfuns.c:3199:8: warning: return type defaults to 'int' [-Wimplicit-int] static shr(THREAD *thr, mpz_t z, int i) ^~~ qmfuns.c:3224:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmshl(THREAD* thr) ^~~~~ qmfuns.c:3251:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmshr(THREAD* thr) ^~~~~ qmfuns.c:3278:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmpred(THREAD* thr) ^~~~~~ qmfuns.c:3303:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsucc(THREAD* thr) ^~~~~~ qmfuns.c:3328:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmenum(THREAD* thr) ^~~~~~ qmfuns.c:3487:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmenum1(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmenum1': qmfuns.c:3511:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] n > 1 && t0 != t1) ~~~~~~^~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:3541:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmexp(THREAD* thr) ^~~~~ qmfuns.c:3554:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmln(THREAD* thr) ^~~~ qmfuns.c:3574:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsqrt(THREAD* thr) ^~~~~~ qmfuns.c:3593:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsin(THREAD* thr) ^~~~~ qmfuns.c:3606:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmcos(THREAD* thr) ^~~~~ qmfuns.c:3619:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmatan(THREAD* thr) ^~~~~~ qmfuns.c:3632:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmatan2(THREAD* thr) ^~~~~~~ qmfuns.c:3663:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmrandom(THREAD* thr) ^~~~~~~~ qmfuns.c: In function 'qmrandom': qmfuns.c:3665:10: warning: unused variable 'args' [-Wunused-variable] EXPR **args = thr->args; ^~~~ qmfuns.c: At top level: qmfuns.c:3677:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmseed(THREAD* thr) ^~~~~~ qmfuns.c:3687:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsub(THREAD* thr) ^~~~~ qmfuns.c: In function 'qmsub': qmfuns.c:3695:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' 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] static qmsubstr(THREAD* thr) ^~~~~~~~ qmfuns.c:3852:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmpos(THREAD* thr) ^~~~~ qmfuns.c:3872:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmint(THREAD* thr) ^~~~~ qmfuns.c: In function 'qmint': qmfuns.c:3876:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] double ip, fp; ^~ qmfuns.c: At top level: qmfuns.c:3885:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfrac(THREAD* thr) ^~~~~~ qmfuns.c:3898:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtrunc(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmtrunc': qmfuns.c:3902:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] double ip, fp, dsz; ^~ qmfuns.c: At top level: qmfuns.c:3919:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmround(THREAD* thr) ^~~~~~~ qmfuns.c:3938:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfloat(THREAD* thr) ^~~~~~~ qmfuns.c:4025:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmhashnum(THREAD* thr) ^~~~~~~~~ qmfuns.c:4031:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmord(THREAD* thr) ^~~~~ qmfuns.c:4046:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmchr(THREAD* thr) ^~~~~ qmfuns.c:4073:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmlist(THREAD* thr) ^~~~~~ qmfuns.c:4092:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtuple(THREAD* thr) ^~~~~~~ qmfuns.c:4114:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmstr(THREAD* thr) ^~~~~ qmfuns.c:4125:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmval(THREAD* thr) ^~~~~ qmfuns.c:4145:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmstrq(THREAD* thr) ^~~~~~ qmfuns.c:4160:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmvalq(THREAD* thr) ^~~~~~ qmfuns.c:4181:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisspecial(THREAD* thr) ^~~~~~~~~~~ qmfuns.c:4192:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisconst(THREAD* thr) ^~~~~~~~~ qmfuns.c:4203:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisfun(THREAD* thr) ^~~~~~~ qmfuns.c:4212:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisvar(THREAD* thr) ^~~~~~~ qmfuns.c:4221:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisdef(THREAD* thr) ^~~~~~~ qmfuns.c:4230:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmflip(THREAD* thr) ^~~~~~ qmfuns.c:4246:8: warning: type defaults to 'int' in declaration of 'qmfread' [-Wimplicit-int] static qmfread(THREAD* thr); ^~~~~~~ qmfuns.c:4248:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmread(THREAD* thr) ^~~~~~ qmfuns.c:4258:8: warning: type defaults to 'int' in declaration of 'qmfreadq' [-Wimplicit-int] static qmfreadq(THREAD* thr); ^~~~~~~~ qmfuns.c:4260:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmreadq(THREAD* thr) ^~~~~~~ qmfuns.c:4270:8: warning: type defaults to 'int' in declaration of 'qmfreadc' [-Wimplicit-int] static qmfreadc(THREAD* thr); ^~~~~~~~ qmfuns.c:4272:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmreadc(THREAD* thr) ^~~~~~~ qmfuns.c:4282:8: warning: type defaults to 'int' in declaration of 'qmfreads' [-Wimplicit-int] static qmfreads(THREAD* thr); ^~~~~~~~ qmfuns.c:4284:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmreads(THREAD* thr) ^~~~~~~ qmfuns.c:4294:8: warning: type defaults to 'int' in declaration of 'qmfwrite' [-Wimplicit-int] static qmfwrite(THREAD* thr); ^~~~~~~~ qmfuns.c:4296:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwrite(THREAD* thr) ^~~~~~~ qmfuns.c:4307:8: warning: type defaults to 'int' in declaration of 'qmfwriteq' [-Wimplicit-int] static qmfwriteq(THREAD* thr); ^~~~~~~~~ qmfuns.c:4309:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwriteq(THREAD* thr) ^~~~~~~~ qmfuns.c:4320:8: warning: type defaults to 'int' in declaration of 'qmfwritec' [-Wimplicit-int] static qmfwritec(THREAD* thr); ^~~~~~~~~ qmfuns.c:4322:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwritec(THREAD* thr) ^~~~~~~~ qmfuns.c:4333:8: warning: type defaults to 'int' in declaration of 'qmfwrites' [-Wimplicit-int] static qmfwrites(THREAD* thr); ^~~~~~~~~ qmfuns.c:4335:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwrites(THREAD* thr) ^~~~~~~~ qmfuns.c:4346:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfread(THREAD* thr) ^~~~~~~ qmfuns.c:4378:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfreadq(THREAD* thr) ^~~~~~~~ qmfuns.c:4414:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfreadc(THREAD* thr) ^~~~~~~~ qmfuns.c:4473:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfreads(THREAD* thr) ^~~~~~~~ qmfuns.c: In function 'qmfreads': qmfuns.c:4498:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s1 = (char*) arealloc(s, a, MAXSTRLEN, ^~ qmfuns.c:4530:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!r && !*s || thr == thr0 && checkbrk) { ~~~^~~~~~ qmfuns.c: At top level: qmfuns.c:4568:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwrite(THREAD* thr) ^~~~~~~~ qmfuns.c:4591:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwriteq(THREAD* thr) ^~~~~~~~~ qmfuns.c:4615:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwritec(THREAD* thr) ^~~~~~~~~ qmfuns.c:4649:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwrites(THREAD* thr) ^~~~~~~~~ qmfuns.c:4685:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfopen(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmfopen': qmfuns.c:4694:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] static qmpopen(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmpopen': qmfuns.c:4731:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] setlinebuf(fp); ^~~~~~~~~~ setvbuf qmfuns.c: At top level: qmfuns.c:4761:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfclose(THREAD* thr) ^~~~~~~~ qmfuns.c:4796:8: warning: type defaults to 'int' in declaration of 'qmfeof' [-Wimplicit-int] static qmfeof(THREAD* thr); ^~~~~~ qmfuns.c:4798:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmeof(THREAD* thr) ^~~~~ qmfuns.c:4808:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfeof(THREAD* thr) ^~~~~~ qmfuns.c:4847:8: warning: type defaults to 'int' in declaration of 'qmfflush' [-Wimplicit-int] static qmfflush(THREAD* thr); ^~~~~~~~ qmfuns.c:4849:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmflush(THREAD* thr) ^~~~~~~ qmfuns.c:4859:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfflush(THREAD* thr) ^~~~~~~~ qmfuns.c:4874:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmversion(THREAD* thr) ^~~~~~~~~ qmfuns.c:4879:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsysinfo(THREAD* thr) ^~~~~~~~~ qmfuns.c:4884:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwhich(THREAD* thr) ^~~~~~~ qmfuns.c:4931:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmhalt(THREAD* thr) ^~~~~~ qmfuns.c:4937:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmquit(THREAD* thr) ^~~~~~ qmfuns.c:4943:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmbreak(THREAD* thr) ^~~~~~~ qmfuns.c:4949:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmcatch(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmcatch': qmfuns.c:4957:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] } else if (thr == thr0 && checkbrk || qmfuns.c: At top level: qmfuns.c:4977:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmthrow(THREAD* thr) ^~~~~~~ qmfuns.c:4992:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtrap(THREAD* thr) ^~~~~~ qmfuns.c:5085:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfail(THREAD* thr) ^~~~~~ qmfuns.c:5091:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfail2(THREAD* thr) ^~~~~~~ qmfuns.c:5097:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtime(THREAD* thr) ^~~~~~ qmfuns.c:5102:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsleep(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmenum1': qmfuns.c:3511:14: warning: 't1' may be used uninitialized in this function [-Wmaybe-uninitialized] n > 1 && t0 != t1) ~~~^~~~~ qmfuns.c:3514:11: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] inc = x1-x0; ~~~~^~~~~~~ qmfuns.c: In function 'qmenum': qmfuns.c:3460:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] inc = x1-x0; ~~~~^~~~~~~ qmfuns.c:3352:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] inc = x1-x0; ~~~~^~~~~~~ qmfuns.c:3352:6: warning: 'x0' may be used uninitialized in this function [-Wmaybe-uninitialized] gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] nextstate(int s, int type, int fno) ^~~~~~~~~ qmmatch.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] defaultstate(int s, int type) ^~~~~~~~~~~~ qmmatch.c: In function 'defaultstate': qmmatch.c:85:29: warning: unused variable 'left' [-Wunused-variable] 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] nondefault(int s) ^~~~~~~~~~ qmmatch.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] typedtrans(int s, int type) ^~~~~~~~~~ qmmatch.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] virtual(int s, int type) ^~~~~~~ qmmatch.c:212:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] (s = matchx(thr, s1, mode, 0, x1, &y1)) && ^~ qmmatch.c:318:53: warning: value computed is not used [-Wunused-value] (s = matchx(thr, s1, modes.left, 0, x1, &y1)) && ^~ qmmatch.c:364:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (yv) ^ qmmatch.c: In function '__qq__match': qmmatch.c:416:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:431:47: warning: value computed is not used [-Wunused-value] (s = matchx(thr, s, 1, 0, x[0], &x[0])) && ^~ qmmatch.c:458:56: warning: value computed is not used [-Wunused-value] (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] nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:530:32: warning: value computed is not used [-Wunused-value] (s = nextstate(s, 0, fno)) && (s = typedtrans(s, type)); ^~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] static inline checktmpbuf(void) ^~~~~~~~~~~ qmprint.c:217:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline writetmpbuf(char *s) ^~~~~~~~~~~ qmprint.c:238:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline checklastsym(char *s) ^~~~~~~~~~~~ qmprint.c:246:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline checkmarksym(void) ^~~~~~~~~~~~ qmprint.c:253:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline marksym(int flag) ^~~~~~~ qmprint.c:261:8: warning: return type defaults to 'int' [-Wimplicit-int] static sputstr1(char *s) ^~~~~~~~ qmprint.c: In function 'sputstr1': qmprint.c:268:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (bufp1 = (char*) arealloc(bufp, abufleng, MAXSTRLEN, ^~~~~ qmprint.c: At top level: qmprint.c:282:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline sputstr(char *s) ^~~~~~~ qmprint.c:358:8: warning: return type defaults to 'int' [-Wimplicit-int] static fputstr1(char *s) ^~~~~~~~ qmprint.c:379:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline fputstr(char *s) ^~~~~~~ qmprint.c:454:8: warning: return type defaults to 'int' [-Wimplicit-int] static opprec(int fno) ^~~~~~ qmprint.c:511:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline islsect(EXPR *x) ^~~~~~~ qmprint.c:518:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isrsect(EXPR *x) ^~~~~~~ qmprint.c:528:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isenum(EXPR *x) ^~~~~~ qmprint.c:542:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isenum1(EXPR *x) ^~~~~~~ qmprint.c:555:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline issenum(EXPR *x) ^~~~~~~ qmprint.c:569:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline issenum1(EXPR *x) ^~~~~~~~ qmprint.c:582:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline istenum(EXPR *x) ^~~~~~~ qmprint.c:596:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline istenum1(EXPR *x) ^~~~~~~~ qmprint.c:609:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isstream(EXPR *x) ^~~~~~~~ qmprint.c: In function 'isstream': qmprint.c:612:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] x->fno == APPOP && x->data.args.x1->fno == APPOP && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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] static inline isscons(EXPR *x, EXPR **y, EXPR **z) ^~~~~~~ qmprint.c:627:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline islistof(EXPR *x) ^~~~~~~~ qmprint.c:636:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline istupleof(EXPR *x) ^~~~~~~~~ qmprint.c:645:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isstreamof(EXPR *x) ^~~~~~~~~~ qmprint.c:654:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline islambda(EXPR *x) ^~~~~~~~ qmprint.c:660:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isifelse(EXPR *x) ^~~~~~~~ qmprint.c:669:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline iswhen(EXPR *x) ^~~~~~ qmprint.c:733:8: warning: return type defaults to 'int' [-Wimplicit-int] static exprprec(THREAD *thr, EXPR *x) ^~~~~~~~ qmprint.c:776:8: warning: type defaults to 'int' in declaration of 'print' [-Wimplicit-int] static print(THREAD *thr, int level, EXPR *x); ^~~~~ qmprint.c:778:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline printparen(THREAD *thr, int level, EXPR *x) ^~~~~~~~~~ qmprint.c:783:8: warning: return type defaults to 'int' [-Wimplicit-int] static printlprec(THREAD *thr, int level, int fno, EXPR *x) ^~~~~~~~~~ qmprint.c:794:8: warning: return type defaults to 'int' [-Wimplicit-int] static printrprec(THREAD *thr, int level, int fno, EXPR *x) ^~~~~~~~~~ qmprint.c:805:8: warning: return type defaults to 'int' [-Wimplicit-int] static print1(THREAD *thr, int level, int fno, EXPR *x) ^~~~~~ qmprint.c:811:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2l(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~~ qmprint.c:819:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2r(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~~ qmprint.c:827:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2n(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~~ qmprint.c:835:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~ qmprint.c:959:8: warning: return type defaults to 'int' [-Wimplicit-int] static print(THREAD *thr, int level, EXPR *x) ^~~~~ qmprint.c:1412:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline printchk(THREAD *thr, int level, EXPR *x) ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] static swap(), pushtern(), pushbin(), pushun(), ^~~~ qmparse.y:70:16: warning: type defaults to 'int' in declaration of 'pushtern' [-Wimplicit-int] static swap(), pushtern(), pushbin(), pushun(), ^~~~~~~~ qmparse.y:70:28: warning: type defaults to 'int' in declaration of 'pushbin' [-Wimplicit-int] static swap(), pushtern(), pushbin(), pushun(), ^~~~~~~ qmparse.y:70:39: warning: type defaults to 'int' in declaration of 'pushun' [-Wimplicit-int] static swap(), pushtern(), pushbin(), pushun(), ^~~~~~ qmparse.y:71:3: warning: type defaults to 'int' in declaration of 'pushlist' [-Wimplicit-int] 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] 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] 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] pushgroup(int *n, int *m), ^~~~~~~~~ qmparse.y:73:3: warning: type defaults to 'int' in declaration of 'savepos' [-Wimplicit-int] savepos(), clean(); ^~~~~~~ qmparse.y:73:14: warning: type defaults to 'int' in declaration of 'clean' [-Wimplicit-int] savepos(), clean(); ^~~~~ qmparse.y:74:8: warning: type defaults to 'int' in declaration of 'init_stats' [-Wimplicit-int] static init_stats(), fini_stats(), print_stats(); ^~~~~~~~~~ qmparse.y:74:22: warning: type defaults to 'int' in declaration of 'fini_stats' [-Wimplicit-int] static init_stats(), fini_stats(), print_stats(); ^~~~~~~~~~ qmparse.y:74:36: warning: type defaults to 'int' in declaration of 'print_stats' [-Wimplicit-int] static init_stats(), fini_stats(), print_stats(); ^~~~~~~~~~~ qmparse.y:75:8: warning: type defaults to 'int' in declaration of 'copyright' [-Wimplicit-int] static copyright(), shell(), expression(), ^~~~~~~~~ qmparse.y:75:21: warning: type defaults to 'int' in declaration of 'shell' [-Wimplicit-int] static copyright(), shell(), expression(), ^~~~~ qmparse.y:75:30: warning: type defaults to 'int' in declaration of 'expression' [-Wimplicit-int] static copyright(), shell(), expression(), ^~~~~~~~~~ qmparse.y:76:3: warning: type defaults to 'int' in declaration of 'vardecl' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~ qmparse.y:76:14: warning: type defaults to 'int' in declaration of 'initializer' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~~~~~ qmparse.y:76:29: warning: type defaults to 'int' in declaration of 'assignment' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~~~~ qmparse.y:76:43: warning: type defaults to 'int' in declaration of 'unassignment' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~~~~~~ qmparse.y:77:3: warning: type defaults to 'int' in declaration of 'sethistfile' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~~~ qmparse.y:77:18: warning: type defaults to 'int' in declaration of 'sethistsize' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~~~ qmparse.y:77:33: warning: type defaults to 'int' in declaration of 'help' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~ qmparse.y:77:41: warning: type defaults to 'int' in declaration of 'edit' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~ qmparse.y:77:49: warning: type defaults to 'int' in declaration of 'save_vars' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~ qmparse.y:77:62: warning: type defaults to 'int' in declaration of 'clear_vars' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~~ qmparse.y:78:3: warning: type defaults to 'int' in declaration of 'add_import' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~ qmparse.y:78:17: warning: type defaults to 'int' in declaration of 'del_import' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~ qmparse.y:78:31: warning: type defaults to 'int' in declaration of 'clear_imports' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~~~~ qmparse.y:78:48: warning: type defaults to 'int' in declaration of 'breakpoints' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~~ qmparse.y:78:63: warning: type defaults to 'int' in declaration of 'profile' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~ qmparse.y:79:3: warning: type defaults to 'int' in declaration of 'who' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~ qmparse.y:79:10: warning: type defaults to 'int' in declaration of 'whos' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~ qmparse.y:79:18: warning: type defaults to 'int' in declaration of 'whois' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~ qmparse.y:79:27: warning: type defaults to 'int' in declaration of 'ambiguous' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~~~~~ qmparse.y:79:40: warning: type defaults to 'int' in declaration of 'import_list' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~~~~~~~ qmparse.y:79:55: warning: type defaults to 'int' in declaration of 'modules' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~~~ qmparse.y:80:8: warning: type defaults to 'int' in declaration of 'strparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~ qmparse.y:80:20: warning: type defaults to 'int' in declaration of 'intparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~ qmparse.y:80:32: warning: type defaults to 'int' in declaration of 'boolparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~~ qmparse.y:80:45: warning: type defaults to 'int' in declaration of 'boolstrparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~~~~~ qmparse.y:80:61: warning: type defaults to 'int' in declaration of 'allparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~ qmparse.y:81:3: warning: type defaults to 'int' in declaration of 'strlist' [-Wimplicit-int] strlist(), printstr(); ^~~~~~~ qmparse.y:81:14: warning: type defaults to 'int' in declaration of 'printstr' [-Wimplicit-int] strlist(), printstr(); ^~~~~~~~ qmparse.c: In function 'yyparse': qmparse.c:2019:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] yychar = yylex (); ^~~~~ qmparse.y:423:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("bad C stack size %d, using default\n", i/1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ qmparse.y:444:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("bad stack size %d, using default\n", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:467:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("bad memory size %d, using default\n", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:525:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (res && buf) ^ qmparse.c:4145:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] yyerror (YY_("syntax error")); ^~~~~~~ yyerrok qmparse.y: At top level: qmparse.y:1683:1: warning: return type defaults to 'int' [-Wimplicit-int] yyerror(s) ^~~~~~~ qmparse.y: In function 'u8encode': qmparse.y:1762:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1767:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1769:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1774:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1776:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1778:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmparse.y: At top level: qmparse.y:1898:8: warning: return type defaults to 'int' [-Wimplicit-int] static swap() ^~~~ qmparse.y:1907:8: warning: return type defaults to 'int' [-Wimplicit-int] static rot() ^~~ qmparse.y:1917:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushtern(fno) ^~~~~~~~ qmparse.y:1925:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushbin(fno) ^~~~~~~ qmparse.y:1933:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushun(fno) ^~~~~~ qmparse.y:1940:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushlist(int n, int m) ^~~~~~~~ qmparse.y:1949:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushstream(int n, int m) ^~~~~~~~~~ qmparse.y:1958:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushtuple(int n, int m) ^~~~~~~~~ qmparse.y:1967:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushgroup(int *n, int *m) ^~~~~~~~~ qmparse.y:1983:8: warning: return type defaults to 'int' [-Wimplicit-int] static init_stats() ^~~~~~~~~~ qmparse.y:1992:8: warning: return type defaults to 'int' [-Wimplicit-int] static fini_stats() ^~~~~~~~~~ qmparse.y:1999:8: warning: return type defaults to 'int' [-Wimplicit-int] static print_stats(all) ^~~~~~~~~~~ qmparse.y:2046:8: warning: return type defaults to 'int' [-Wimplicit-int] 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] if (tok && *tok && p-q >= l) ^ qmparse.y:2065:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (p > q && (p[-1] != '"' || p > q+1 && p[-2] == '\\')) --p; ~~~~~~~~^~~~~~~~~~~~~~~~ qmparse.y:2049:43: warning: unused variable 't' [-Wunused-variable] 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] static savepos() ^~~~~~~ qmparse.y:2140:8: warning: return type defaults to 'int' [-Wimplicit-int] static clean() ^~~~~ qmparse.y:2168:8: warning: return type defaults to 'int' [-Wimplicit-int] static expression() ^~~~~~~~~~ qmparse.y:2190:8: warning: return type defaults to 'int' [-Wimplicit-int] static assignment() ^~~~~~~~~~ qmparse.y:2209:8: warning: return type defaults to 'int' [-Wimplicit-int] static unassignment(int id) ^~~~~~~~~~~~ qmparse.y:2218:8: warning: return type defaults to 'int' [-Wimplicit-int] static vardecl(int id) ^~~~~~~ qmparse.y:2239:8: warning: return type defaults to 'int' [-Wimplicit-int] static initializer() ^~~~~~~~~~~ qmparse.y:2259:8: warning: return type defaults to 'int' [-Wimplicit-int] static printstr(s) ^~~~~~~~ qmparse.y:2265:8: warning: return type defaults to 'int' [-Wimplicit-int] static strparam(a, s) ^~~~~~~~ qmparse.y:2281:8: warning: return type defaults to 'int' [-Wimplicit-int] static intparam(a, i) ^~~~~~~~ qmparse.y:2298:8: warning: return type defaults to 'int' [-Wimplicit-int] static boolparam(a, b) ^~~~~~~~~ qmparse.y: In function 'boolparam': qmparse.y:2302:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (res) ^ qmparse.y: At top level: qmparse.y:2315:8: warning: return type defaults to 'int' [-Wimplicit-int] static boolstrparam(a, b, s) ^~~~~~~~~~~~ qmparse.y: In function 'boolstrparam': qmparse.y:2320:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (res) ^ qmparse.y: At top level: qmparse.y:2331:8: warning: return type defaults to 'int' [-Wimplicit-int] static allparam(a) ^~~~~~~~ qmparse.y:2344:8: warning: return type defaults to 'int' [-Wimplicit-int] static copyright() ^~~~~~~~~ qmparse.y:2355:8: warning: return type defaults to 'int' [-Wimplicit-int] static shell() ^~~~~ In file included from sys.h:38:0, 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] #define getln __qq__getln ^ qmparse.y:2359:5: note: in expansion of macro 'getln' getln(shell_command); ^~~~~ qmparse.y: At top level: qmparse.y:2385:8: warning: return type defaults to 'int' [-Wimplicit-int] static sethistfile(s) ^~~~~~~~~~~ qmparse.y:2409:8: warning: return type defaults to 'int' [-Wimplicit-int] static sethistsize(i) ^~~~~~~~~~~ qmparse.y:2421:8: warning: return type defaults to 'int' [-Wimplicit-int] static help(s) ^~~~ qmparse.y:2451:8: warning: return type defaults to 'int' [-Wimplicit-int] static edit(s) ^~~~ qmparse.y:2480:8: warning: return type defaults to 'int' [-Wimplicit-int] static save_vars(s) ^~~~~~~~~ qmparse.y:2540:8: warning: return type defaults to 'int' [-Wimplicit-int] static clear_vars() ^~~~~~~~~~ qmparse.y:2554:1: warning: return type defaults to 'int' [-Wimplicit-int] search_import(m) ^~~~~~~~~~~~~ qmparse.y:2568:1: warning: return type defaults to 'int' [-Wimplicit-int] add_import(s) ^~~~~~~~~~ qmparse.y:2615:1: warning: return type defaults to 'int' [-Wimplicit-int] del_import(s) ^~~~~~~~~~ qmparse.y: In function 'del_import': qmparse.y:2636:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (mno == NONE || pos == NONE && mno != mainno) { qmparse.y: At top level: qmparse.y:2657:1: warning: return type defaults to 'int' [-Wimplicit-int] clear_imports() ^~~~~~~~~~~~~ qmparse.y:2670:1: warning: return type defaults to 'int' [-Wimplicit-int] modcmp(v1, v2) ^~~~~~ qmparse.y:2677:1: warning: return type defaults to 'int' [-Wimplicit-int] print_modlist() ^~~~~~~~~~~~~ qmparse.y: In function 'print_modlist': qmparse.y:2681:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2677:1: note: declared here print_modlist() ^~~~~~~~~~~~~ qmparse.y:2684:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2677:1: note: declared here print_modlist() ^~~~~~~~~~~~~ qmparse.y:2694:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qmparse.y: At top level: qmparse.y:2715:8: warning: return type defaults to 'int' [-Wimplicit-int] static modules() ^~~~~~~ qmparse.y:2725:1: warning: return type defaults to 'int' [-Wimplicit-int] print_implist() ^~~~~~~~~~~~~ qmparse.y: In function 'print_implist': qmparse.y:2733:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2725:1: note: declared here print_implist() ^~~~~~~~~~~~~ qmparse.y:2736:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2725:1: note: declared here print_implist() ^~~~~~~~~~~~~ qmparse.y:2747:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qmparse.y: At top level: qmparse.y:2767:8: warning: return type defaults to 'int' [-Wimplicit-int] static import_list() ^~~~~~~~~~~ qmparse.y:2777:1: warning: return type defaults to 'int' [-Wimplicit-int] idcmp(v1, v2) ^~~~~ qmparse.y:2789:1: warning: return type defaults to 'int' [-Wimplicit-int] print_varlist(int all) ^~~~~~~~~~~~~ qmparse.y: In function 'print_varlist': qmparse.y:2799:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2789:1: note: declared here print_varlist(int all) ^~~~~~~~~~~~~ qmparse.y:2802:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2789:1: note: declared here print_varlist(int all) ^~~~~~~~~~~~~ qmparse.y:2811:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ In file included from sys.h:38:0, 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] #define print_breakpoints __qq__print_breakpoints ^ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' print_breakpoints() ^~~~~~~~~~~~~~~~~ qmparse.y: In function '__qq__print_breakpoints': qmparse.y:2837:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here #define print_breakpoints __qq__print_breakpoints ^ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' print_breakpoints() ^~~~~~~~~~~~~~~~~ qmparse.y:2840:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here #define print_breakpoints __qq__print_breakpoints ^ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' print_breakpoints() ^~~~~~~~~~~~~~~~~ qmparse.y:2849:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qmparse.y: At top level: qmparse.y:2867:8: warning: return type defaults to 'int' [-Wimplicit-int] static breakpoints() ^~~~~~~~~~~ qmparse.y:2875:1: warning: return type defaults to 'int' [-Wimplicit-int] profcmp(v1, v2) ^~~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: warning: return type defaults to 'int' [-Wimplicit-int] #define print_profile __qq__print_profile ^ qmparse.y:2891:1: note: in expansion of macro 'print_profile' print_profile() ^~~~~~~~~~~~~ qmparse.y: In function '__qq__print_profile': qmparse.y:2899:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here #define print_profile __qq__print_profile ^ qmparse.y:2891:1: note: in expansion of macro 'print_profile' print_profile() ^~~~~~~~~~~~~ qmparse.y:2902:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here #define print_profile __qq__print_profile ^ qmparse.y:2891:1: note: in expansion of macro 'print_profile' print_profile() ^~~~~~~~~~~~~ qmparse.y:2909:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 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] static profile() ^~~~~~~ qmparse.y:2923:8: warning: return type defaults to 'int' [-Wimplicit-int] static who(int all) ^~~ qmparse.y:2930:8: warning: return type defaults to 'int' [-Wimplicit-int] static whos(int sym) ^~~~ qmparse.y: In function 'whos': qmparse.y:2946:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((flags & VSYM) && !x && !(flags & DCL) || ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ qmparse.y: At top level: qmparse.y:3026:8: warning: return type defaults to 'int' [-Wimplicit-int] static whois(int fno, char *s) ^~~~~ qmparse.y:3061:8: warning: return type defaults to 'int' [-Wimplicit-int] static ambiguous(int fno, char *s) ^~~~~~~~~ qmparse.y:3075:8: warning: return type defaults to 'int' [-Wimplicit-int] static yypush() ^~~~~~ qmparse.y:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] static yypop() ^~~~~ qmparse.y:3103:8: warning: return type defaults to 'int' [-Wimplicit-int] static parse(source, arg, _mode) ^~~~~ In file included from sys.h:38:0, 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] #define skip __qq__skip ^ qmparse.y:3131:64: note: in expansion of macro 'skip' if (yychar && yychar != 10 && (thr > thr0 || !checkbrk)) skip(); ^~~~ qmparse.y:3107:7: warning: unused variable 'c' [-Wunused-variable] int c, actmode; ^ qmparse.y: At top level: qmparse.y:81:3: warning: 'strlist' declared 'static' but never defined [-Wunused-function] 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] 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] 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] system(cmd); ^~~~~~~~~~~ qmparse.y: In function 'sethistfile': qmparse.y:2407:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'sethistsize': qmparse.y:2419:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'print_stats': qmparse.y:2030:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'clear_vars': qmparse.y:2548:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'edit': qmparse.y:2472:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^~~~~~~~~~~ qmparse.y: In function 'printstr': qmparse.y:2263:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'savepos': qmparse.y:2136:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'ambiguous': qmparse.y:3065:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'error_report': qmparse.y:2109:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'yyerror': qmparse.y:1689:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'yypush': qmparse.y:3087:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'yypop': qmparse.y:3099:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.c: In function 'yyparse': qmparse.y:700:13: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] eflag = b; qmparse.y:697:7: note: 'b' was declared here int b; char *s; ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] static bigint(); ^~~~~~ qmlex.l:52:8: warning: type defaults to 'int' in declaration of 'string' [-Wimplicit-int] static string(); ^~~~~~ qmlex.l:53:8: warning: type defaults to 'int' in declaration of 'utf8_qualid' [-Wimplicit-int] static utf8_qualid(); ^~~~~~~~~~~ qmlex.l: In function 'getbuf': qmlex.l:129:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] if (_sflag) ^ In file included from sys.h:38:0, 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] #define skip __qq__skip ^ qmlex.l:218:3: note: in expansion of macro 'skip' ^"#!" { skip(); BEGIN(0); } ^~~~ qmlex.l: At top level: qmlex.l:537:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:542:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l: In function 'addbuf': qmlex.l:547:7: warning: 'return' with no value, in function returning non-void } else ^~~~ qmlex.l:542:8: note: declared here { ^ qmlex.l:544:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 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] { ^ qmlex.l: In function 'u8encode': qmlex.l:636:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:641:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:643:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:648:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:650:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:652:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l: At top level: qmlex.l:682:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:798:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l: In function 'utf8_qualid': qmlex.l:800:17: warning: unused variable 'c' [-Wunused-variable] int ret, ret2; ^ qmlex.l: At top level: qmlex.l:822:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:854:8: warning: return type defaults to 'int' [-Wimplicit-int] mpz_t z; ^~~~~~ qmlex.l:884:1: warning: return type defaults to 'int' [-Wimplicit-int] { ^ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmlex.l:32: mangle.h:160:14: warning: return type defaults to 'int' [-Wimplicit-int] #define peek __qq__peek ^ qmlex.l:889:1: note: in expansion of macro 'peek' { ^ mangle.h:237:14: warning: return type defaults to 'int' [-Wimplicit-int] #define skip __qq__skip ^ qmlex.l:896:1: note: in expansion of macro 'skip' /* skip remainder of input line */ ^~~~ mangle.h:81:15: warning: return type defaults to 'int' [-Wimplicit-int] #define getln __qq__getln ^ qmlex.l:909:1: note: in expansion of macro 'getln' char *s; ^ qmlex.l:944:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:974:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l: In function 'string': qmlex.l:845:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function 'initbuf': qmlex.l:540:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function '__qq__skip': qmlex.l:907:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function '__qq__getln': qmlex.l:929:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function 'lexpop': qmlex.l:1000:1: warning: control reaches end of non-void function [-Wreturn-type] ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c:592:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qbase.c:594:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c:599:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ qbase.c:601:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qbase.c:603:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c: In function 'scanchar': qbase.c:1081:13: warning: unused variable 'r' [-Wunused-variable] char *r; ^ qbase.c: In function '__qq__absolute': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #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' else if (tilde(s)) ^~~~~ qbase.c: In function '__qq__dirprefix': qbase.c:1193:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (!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] #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' if (tilde(s2)) { ^~~~~ qbase.c: In function '__qq__searchlib': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #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' if (tilde(s2)) ^~~~~ qbase.c:1279:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (s[0] == '.') ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o libglobs_a-sys.o `test -f 'sys.c' || echo './'`sys.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o libglobs_a-random.o `test -f 'random.c' || echo './'`random.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o libglobs_a-uchar.o `test -f 'uchar.c' || echo './'`uchar.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o libglobs_a-getopt.o `test -f 'getopt.c' || echo './'`getopt.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o q.lo q.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] static unload_dlls(void); ^~~~~~~~~~~ q.c: In function '__qq__exitproc': q.c:61:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ q.c: At top level: q.c:480:8: warning: return type defaults to 'int' [-Wimplicit-int] static comp(x, y) ^~~~ q.c:486:8: warning: return type defaults to 'int' [-Wimplicit-int] 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 if (!fsyms) return; ^~~~~~ q.c:486:8: note: declared here static build_fsym_table() ^~~~~~~~~~~~~~~~ q.c:493:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (('a' <= *base && *base <= 'z' || ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ q.c: At top level: q.c:513:8: warning: return type defaults to 'int' [-Wimplicit-int] 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 if (!vsyms) return; ^~~~~~ q.c:513:8: note: declared here static build_vsym_table() ^~~~~~~~~~~~~~~~ q.c:520:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (('a' <= *base && *base <= 'z' || ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ q.c: At top level: q.c:540:8: warning: return type defaults to 'int' [-Wimplicit-int] static search(table, text, len) ^~~~~~ q.c:550:8: warning: return type defaults to 'int' [-Wimplicit-int] 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 if (!fsyms) return; ^~~~~~ q.c:550:8: note: declared here static clear_fsym_table() ^~~~~~~~~~~~~~~~ q.c: At top level: q.c:560:8: warning: return type defaults to 'int' [-Wimplicit-int] 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 if (!vsyms) return; ^~~~~~ q.c:560:8: note: declared here static clear_vsym_table() ^~~~~~~~~~~~~~~~ q.c: In function 'sym_generator': q.c:603:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (name = csyms[i_csym]) ^~~~ q.c:614:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (name = fsyms[i_fsym]) ^~~~ q.c:625:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (name = vsyms[i_vsym]) ^~~~ q.c: In function 'init_readline': q.c:655:3: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations] 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] if (matches[0]) ^ q.c: In function 'mygetline1': q.c:723:18: warning: unused variable 'last' [-Wunused-variable] static char *last = NULL; ^~~~ q.c:766:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (l = strlen(bufp)) > 0 && bufp[l-1] == '\n') ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ q.c:774:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (buf) ^ q.c:785:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] static contd(); ^~~~~ q.c: In function '__qq__mygetline': q.c:891:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] codeset != NULL && strcmp(codeset, rl_codeset) != 0) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q.c: At top level: q.c:949:8: warning: return type defaults to 'int' [-Wimplicit-int] static wsarg(char *arg) ^~~~~ q.c:983:8: warning: return type defaults to 'int' [-Wimplicit-int] static qcarg(char *arg) ^~~~~ q.c:995:8: warning: return type defaults to 'int' [-Wimplicit-int] static set_qcarg(int i, char *arg) ^~~~~~~~~ In file included from sys.h:38:0, 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] #define debug_parse_opts __qq__debug_parse_opts ^ q.c:1039:12: note: in expansion of macro 'debug_parse_opts' if (!debug_parse_opts(opts)) { ^~~~~~~~~~~~~~~~ q.c: In function 'get_source_opts': q.c:1292:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ q.c: At top level: q.c:1332:1: warning: return type defaults to 'int' [-Wimplicit-int] spawn(char *prog, char *argv[]) ^~~~~ q.c:1366:8: warning: type defaults to 'int' in declaration of 'resolve' [-Wimplicit-int] static resolve(), init_dlls(); ^~~~~~~ q.c:1366:19: warning: type defaults to 'int' in declaration of 'init_dlls' [-Wimplicit-int] static resolve(), init_dlls(); ^~~~~~~~~ q.c: In function 'dorun': q.c:1381:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] chkfile(searchlib(fname, _source)) && q.c:1383:72: warning: suggest parentheses around '&&' within '||' [-Wparentheses] chkfile(searchlib(fname, strcat(strcpy(fname2, _source), ".q"))) && q.c:1534:33: warning: unused variable 'argv0' [-Wunused-variable] int count = 0; char *const *argv0 = argv; ^~~~~ q.c:1595:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (gflag) ^ q.c:1374:45: warning: unused variable 'msg' [-Wunused-variable] 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] double ip, fp; ^~ q.c: In function '__qq__getmpz_floatexpr': q.c:1757:9: warning: unused variable 'z' [-Wunused-variable] mpz_t z; ^ In file included from sys.h:38:0, 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] #define qmsentinel __qq__qmsentinel ^ q.c:1782:3: note: in expansion of macro 'qmsentinel' 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] extern __libq_init(); ^~~~~~~~~~~ q.c:1849:8: warning: return type defaults to 'int' [-Wimplicit-int] static resolve() ^~~~~~~ q.c:1975:8: warning: return type defaults to 'int' [-Wimplicit-int] static init_dlls() ^~~~~~~~~ q.c:1985:8: warning: return type defaults to 'int' [-Wimplicit-int] static unload_dlls() ^~~~~~~~~~~ q.c:2008:8: warning: return type defaults to 'int' [-Wimplicit-int] static gnuclient(char *sexp) ^~~~~~~~~ q.c:2121:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ q.c: In function 'main': q.c:2200:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (chkfile(searchlib(fname, source)) && In file included from sys.h:38:0, 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] #define acquire_input __qq__acquire_input ^ q.c:2452:5: note: in expansion of macro 'acquire_input' acquire_input(); ^~~~~~~~~~~~~ mangle.h:220:23: warning: implicit declaration of function '__qq__release_input'; did you mean '__qq__release_tty'? [-Wimplicit-function-declaration] #define release_input __qq__release_input ^ q.c:2457:7: note: in expansion of macro 'release_input' release_input(); ^~~~~~~~~~~~~ q.c: In function 'unload_dlls': q.c:2004:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'mygetline1': q.c:795:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'qcarg': q.c:993:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'set_qcarg': q.c:1005:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'init_dlls': q.c:1983:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'gnuclient': q.c:2016:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: q.c:723:18: warning: 'last' defined but not used [-Wunused-variable] static char *last = NULL; ^~~~ q.c:949:8: warning: 'wsarg' defined but not used [-Wunused-function] 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] while (nargs-- > 1) In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from q.c:26: mangle.h:147:15: note: '__qq__nargs' was declared here #define nargs __qq__nargs ^ q.c:1376:10: note: in expansion of macro 'nargs' int i, nargs; ^~~~~ q.c:1566:23: warning: 'args' may be used uninitialized in this function [-Wmaybe-uninitialized] symtb[ARGSOP].x = args; q.c:1377:9: note: 'args' was declared here EXPR *args, *in, *out, *err; ^~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qm.lo qm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] 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' if (thr->xst) free(thr->xst); thr->xst = thr->xsp = NULL; ^~~ qm.c:332:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (thr->ast) free(thr->ast); thr->ast = thr->asp = NULL; ^~~ qm.c:333:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (thr->args) free(thr->args); thr->args = NULL; ^~~ qm.c:334:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (thr->mark) free(thr->mark); thr->mark = NULL; ^~~ qm.c:336:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' 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] static initfx(int fno) ^~~~~~ qm.c: In function 'initfx': qm.c:738:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] fno < BUILTIN && funtb[fno] && nargs[fno] == 0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qm.c: In function '__qq__init': qm.c:772:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] if (x = xfreep) { ^ qm.c: In function '__qq__qmfree': qm.c:1226:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (x->type) ^ In file included from sys.h:38:0, 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] #define push __qq__push ^ qm.c:1189:7: note: in expansion of macro 'push' push: ^~~~ qm.c: In function '__qq__usrexpr': qm.c:1649:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (type) ^ qm.c: In function '__qq__consexpr': qm.c:1749:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] if (x = vectexpr(thr, n+1, xv)) { ^ qm.c:2007:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] if (x = funexpr(thr, fno)) { ^ qm.c: In function 'evalb': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2228:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2228:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2239:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2239:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2259:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2259:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2262:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2262:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c:2215:27: warning: unused variable 'rc' [-Wunused-variable] int n, *rp, rc; ^~ qm.c:2215:23: warning: unused variable 'rp' [-Wunused-variable] int n, *rp, rc; ^~ qm.c: At top level: qm.c:2279:8: warning: return type defaults to 'int' [-Wimplicit-int] static evalb_with_frame(THREAD *thr, ^~~~~~~~~~~~~~~~ qm.c: In function 'evalb_with_frame': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2297:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2297:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2311:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2311:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2334:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2334:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2340:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2340:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c: In function 'eval_internal': qm.c:3569:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!x->red || !x->raw && thr->mode) ~~~~~~~~^~~~~~~~~~~~ qm.c: In function '__qq__eval': qm.c:3655:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] cstackmax > 0 && stack_dir*(&base - thr->baseptr) >= cstackmax) { In file included from sys.h:38:0, 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] #define print_breakpoints __qq__print_breakpoints ^ qm.c:4052:8: note: in expansion of macro 'print_breakpoints' 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=] printf("%3d> ", thr->asp-thr->ast-base); ~~^ ~~~~~~~~~~~~~~~~~~~~~~ %3ld qm.c:4249:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%3d> ", thr->asp-thr->ast-base); ~~^ ~~~~~~~~~~~~~~~~~~~~~~ %3ld qm.c:4275:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free) out of %d\n", ~^ %ld qm.c:4275:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free) out of %d\n", ~^ %ld qm.c:4278:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free)\n", ~^ %ld qm.c:4278:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free)\n", ~^ %ld qm.c: At top level: qm.c:4475:1: warning: return type defaults to 'int' [-Wimplicit-int] varcmp(v1, v2) ^~~~~~ qm.c: In function 'listvars': qm.c:4506:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qm.c: In function 'lastoffs': qm.c:4902:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ip->opcode == MATCHOP) ^ qm.c: In function 'printc': qm.c:4914:17: warning: unused variable 'maxoffs' [-Wunused-variable] 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] if (matchsym(fno, s) && ^ qm.c: In function '__qq__getsym': qm.c:5311:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (matchsym(fno, s) && ^ qm.c: In function '__qq__gettype': qm.c:5368:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (matchtyp(type, s) && ^ qm.c: At top level: qm.c:86:14: warning: 'x_copy' declared 'static' but never defined [-Wunused-function] static EXPR *x_copy(EXPR *x); ^~~~~~ qm.c:87:13: warning: 'xcopy_cleanup' declared 'static' but never defined [-Wunused-function] static void xcopy_cleanup(void); ^~~~~~~~~~~~~ qm.c: In function 'initfx': qm.c:748:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: qm.c:4588:12: warning: 'getvar' defined but not used [-Wunused-function] 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] else if (impib[p] & 2) ^ qm.c:5299:35: note: 'p1' was declared here 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] 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] 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] else if (impib[p] & 2) ^ qm.c:5356:37: note: 'p1' was declared here int type, type1 = NONE, p = NONE, p1; ^~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qmcode.lo qmcode.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] 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] 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] fread(&mainno, sizeof mainno, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:66:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&codespsz, sizeof codespsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:67:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&strspsz, sizeof strspsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:68:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&limbspsz, sizeof limbspsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:69:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&hashtbsz, sizeof hashtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:70:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&symtbsz, sizeof symtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:71:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&statetbsz, sizeof statetbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:72:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&transtbsz, sizeof transtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:73:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&roffstbsz, sizeof roffstbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:74:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&matchtbsz, sizeof matchtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:75:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&inittbsz, sizeof inittbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:76:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&modtbsz, sizeof modtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:77:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&imptbsz, sizeof imptbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:137:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(codesp, sizeof(OPREC), codespsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:138:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(strsp, sizeof(char), strspsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:139:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 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] fread(hashtb, sizeof(int), hashtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:141:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(symtb, sizeof(SYMREC), symtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:142:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(statetb, sizeof(STATEREC), statetbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:143:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(transtb, sizeof(TRANSREC), transtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:144:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(roffstb, sizeof(int), roffstbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:145:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(matchtb, sizeof(int), matchtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:146:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(inittb, sizeof(int), inittbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:147:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(modtb, sizeof(int), modtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:148:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(fnametb, sizeof(int), modtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:149:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(imports, sizeof(int), modtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:150:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(imptb, sizeof(int), imptbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:151:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(impib, sizeof(byte), imptbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qmfuns.lo qmfuns.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c qmfuns.c -fPIC -DPIC -o .libs/qmfuns.o qmfuns.c: In function 'u8strpos': qmfuns.c:351:17: warning: unused variable 's0' [-Wunused-variable] char *t = s, *s0 = s; ^~ qmfuns.c: In function 'u8encode': qmfuns.c:454:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:459:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:461:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:466:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:468:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:470:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c: At top level: qmfuns.c:878:1: warning: return type defaults to 'int' [-Wimplicit-int] xeq(THREAD *thr, EXPR *x, EXPR *y) ^~~ qmfuns.c: In function 'xeq': qmfuns.c:904:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] xeqchk(THREAD *thr, EXPR *x, EXPR *y) ^~~~~~ qmfuns.c:1002:1: warning: return type defaults to 'int' [-Wimplicit-int] add_vtb(THREAD *thr, int fno, EXPR *x) ^~~~~~~ qmfuns.c:1045:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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] qmdef(THREAD* thr) ^~~~~ qmfuns.c:1191:1: warning: return type defaults to 'int' [-Wimplicit-int] qmundef(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'xlpat': qmfuns.c:1285:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] if (x != t) ^ qmfuns.c: In function 'xlbody': qmfuns.c:1447:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (y1 = xlbody(thr, x1, key, env)) ^~ qmfuns.c: At top level: qmfuns.c:1532:1: warning: return type defaults to 'int' [-Wimplicit-int] xlmatch(THREAD *thr, EXPRL **xvars, int mode, int vmode, ^~~~~~~ qmfuns.c: In function 'xlmatch': qmfuns.c:1658:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] if (y1 = xlrepl(thr, x1, key, xenv)) ^~ qmfuns.c: At top level: qmfuns.c:1945:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmlambda(THREAD* thr) ^~~~~~~~ qmfuns.c: In function 'qmlambda': qmfuns.c:1984:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (x) ^ qmfuns.c: At top level: qmfuns.c:2005:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmlambda_app(THREAD* thr) ^~~~~~~~~~~~ qmfuns.c:2114:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] if (y1 = consexpr(thr, APPOP, f, y1)) ^~ qmfuns.c:2200:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (y1 = xclosview(thr, x1, vtb, env)) ^~ qmfuns.c: At top level: qmfuns.c:2246:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmview(THREAD *thr) ^~~~~~ qmfuns.c:2271:1: warning: return type defaults to 'int' [-Wimplicit-int] strconcat(THREAD *thr, char *s1, char *s2) ^~~~~~~~~ qmfuns.c:2285:1: warning: return type defaults to 'int' [-Wimplicit-int] listconcat(THREAD *thr, EXPR *x1, EXPR *x2) ^~~~~~~~~~ qmfuns.c:2310:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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] tupleconcat(THREAD *thr, EXPR *x1, EXPR *x2) ^~~~~~~~~~~ qmfuns.c:2366:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmconcat(THREAD* thr) ^~~~~~~~ qmfuns.c:2440:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmadd(THREAD* thr) ^~~~~ qmfuns.c:2506:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmin(THREAD* thr) ^~~~~ qmfuns.c:2583:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmul(THREAD* thr) ^~~~~ qmfuns.c:2617:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfdiv(THREAD* thr) ^~~~~~ qmfuns.c:2649:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmdiv(THREAD* thr) ^~~~~ qmfuns.c:2662:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmod(THREAD* thr) ^~~~~ qmfuns.c:2674:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmpow(THREAD* thr) ^~~~~ qmfuns.c: In function 'qmpow': qmfuns.c:2691:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (mpz_sgn(args[0]->data.z) >= 0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modf(args[1]->data.f, &ip) == 0.0) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (mpz_sgn(args[0]->data.z) != 0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ args[1]->data.f != 0.0)) ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c:2715:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (args[0]->data.f >= 0.0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~ modf(args[1]->data.f, &ip) == 0.0) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (args[0]->data.f != 0.0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~ args[1]->data.f != 0.0)) ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:2735:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmidx(THREAD* thr) ^~~~~ qmfuns.c:2793:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmcomp(THREAD* thr) ^~~~~~ qmfuns.c:2808:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmumin(THREAD* thr) ^~~~~~ qmfuns.c:2821:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmhash(THREAD* thr) ^~~~~~ qmfuns.c:2861:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmunquote(THREAD* thr) ^~~~~~~~~ qmfuns.c:2882:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmforce(THREAD* thr) ^~~~~~~ qmfuns.c:2888:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmem(THREAD* thr) ^~~~~ qmfuns.c:2896:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmor(THREAD* thr) ^~~~ qmfuns.c:2914:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmorelse(THREAD* thr) ^~~~~~~~ qmfuns.c:2926:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmand(THREAD* thr) ^~~~~ qmfuns.c:2944:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmandthen(THREAD* thr) ^~~~~~~~~ qmfuns.c:2956:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmnot(THREAD* thr) ^~~~~ qmfuns.c:2972:1: warning: return type defaults to 'int' [-Wimplicit-int] xcmp(EXPR *x, EXPR *y, int *result) ^~~~ qmfuns.c:3041:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmle(THREAD* thr) ^~~~ qmfuns.c:3057:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmgr(THREAD* thr) ^~~~ qmfuns.c:3073:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmeq(THREAD* thr) ^~~~ qmfuns.c:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmleq(THREAD* thr) ^~~~~ qmfuns.c:3105:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmgeq(THREAD* thr) ^~~~~ qmfuns.c:3121:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmneq(THREAD* thr) ^~~~~ qmfuns.c:3137:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmid(THREAD* thr) ^~~~ qmfuns.c:3146:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmrapp(THREAD* thr) ^~~~~~ qmfuns.c:3161:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmseq(THREAD* thr) ^~~~~ qmfuns.c:3167:8: warning: return type defaults to 'int' [-Wimplicit-int] static shl(THREAD *thr, mpz_t z, int i) ^~~ qmfuns.c:3199:8: warning: return type defaults to 'int' [-Wimplicit-int] static shr(THREAD *thr, mpz_t z, int i) ^~~ qmfuns.c:3224:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmshl(THREAD* thr) ^~~~~ qmfuns.c:3251:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmshr(THREAD* thr) ^~~~~ qmfuns.c:3278:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmpred(THREAD* thr) ^~~~~~ qmfuns.c:3303:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsucc(THREAD* thr) ^~~~~~ qmfuns.c:3328:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmenum(THREAD* thr) ^~~~~~ qmfuns.c:3487:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmenum1(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmenum1': qmfuns.c:3511:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] n > 1 && t0 != t1) ~~~~~~^~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:3541:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmexp(THREAD* thr) ^~~~~ qmfuns.c:3554:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmln(THREAD* thr) ^~~~ qmfuns.c:3574:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsqrt(THREAD* thr) ^~~~~~ qmfuns.c:3593:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsin(THREAD* thr) ^~~~~ qmfuns.c:3606:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmcos(THREAD* thr) ^~~~~ qmfuns.c:3619:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmatan(THREAD* thr) ^~~~~~ qmfuns.c:3632:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmatan2(THREAD* thr) ^~~~~~~ qmfuns.c:3663:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmrandom(THREAD* thr) ^~~~~~~~ qmfuns.c: In function 'qmrandom': qmfuns.c:3665:10: warning: unused variable 'args' [-Wunused-variable] EXPR **args = thr->args; ^~~~ qmfuns.c: At top level: qmfuns.c:3677:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmseed(THREAD* thr) ^~~~~~ qmfuns.c:3687:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsub(THREAD* thr) ^~~~~ qmfuns.c: In function 'qmsub': qmfuns.c:3695:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' 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] static qmsubstr(THREAD* thr) ^~~~~~~~ qmfuns.c:3852:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmpos(THREAD* thr) ^~~~~ qmfuns.c:3872:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmint(THREAD* thr) ^~~~~ qmfuns.c: In function 'qmint': qmfuns.c:3876:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] double ip, fp; ^~ qmfuns.c: At top level: qmfuns.c:3885:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfrac(THREAD* thr) ^~~~~~ qmfuns.c:3898:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtrunc(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmtrunc': qmfuns.c:3902:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] double ip, fp, dsz; ^~ qmfuns.c: At top level: qmfuns.c:3919:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmround(THREAD* thr) ^~~~~~~ qmfuns.c:3938:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfloat(THREAD* thr) ^~~~~~~ qmfuns.c:4025:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmhashnum(THREAD* thr) ^~~~~~~~~ qmfuns.c:4031:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmord(THREAD* thr) ^~~~~ qmfuns.c:4046:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmchr(THREAD* thr) ^~~~~ qmfuns.c:4073:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmlist(THREAD* thr) ^~~~~~ qmfuns.c:4092:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtuple(THREAD* thr) ^~~~~~~ qmfuns.c:4114:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmstr(THREAD* thr) ^~~~~ qmfuns.c:4125:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmval(THREAD* thr) ^~~~~ qmfuns.c:4145:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmstrq(THREAD* thr) ^~~~~~ qmfuns.c:4160:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmvalq(THREAD* thr) ^~~~~~ qmfuns.c:4181:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisspecial(THREAD* thr) ^~~~~~~~~~~ qmfuns.c:4192:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisconst(THREAD* thr) ^~~~~~~~~ qmfuns.c:4203:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisfun(THREAD* thr) ^~~~~~~ qmfuns.c:4212:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisvar(THREAD* thr) ^~~~~~~ qmfuns.c:4221:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisdef(THREAD* thr) ^~~~~~~ qmfuns.c:4230:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmflip(THREAD* thr) ^~~~~~ qmfuns.c:4246:8: warning: type defaults to 'int' in declaration of 'qmfread' [-Wimplicit-int] static qmfread(THREAD* thr); ^~~~~~~ qmfuns.c:4248:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmread(THREAD* thr) ^~~~~~ qmfuns.c:4258:8: warning: type defaults to 'int' in declaration of 'qmfreadq' [-Wimplicit-int] static qmfreadq(THREAD* thr); ^~~~~~~~ qmfuns.c:4260:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmreadq(THREAD* thr) ^~~~~~~ qmfuns.c:4270:8: warning: type defaults to 'int' in declaration of 'qmfreadc' [-Wimplicit-int] static qmfreadc(THREAD* thr); ^~~~~~~~ qmfuns.c:4272:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmreadc(THREAD* thr) ^~~~~~~ qmfuns.c:4282:8: warning: type defaults to 'int' in declaration of 'qmfreads' [-Wimplicit-int] static qmfreads(THREAD* thr); ^~~~~~~~ qmfuns.c:4284:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmreads(THREAD* thr) ^~~~~~~ qmfuns.c:4294:8: warning: type defaults to 'int' in declaration of 'qmfwrite' [-Wimplicit-int] static qmfwrite(THREAD* thr); ^~~~~~~~ qmfuns.c:4296:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwrite(THREAD* thr) ^~~~~~~ qmfuns.c:4307:8: warning: type defaults to 'int' in declaration of 'qmfwriteq' [-Wimplicit-int] static qmfwriteq(THREAD* thr); ^~~~~~~~~ qmfuns.c:4309:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwriteq(THREAD* thr) ^~~~~~~~ qmfuns.c:4320:8: warning: type defaults to 'int' in declaration of 'qmfwritec' [-Wimplicit-int] static qmfwritec(THREAD* thr); ^~~~~~~~~ qmfuns.c:4322:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwritec(THREAD* thr) ^~~~~~~~ qmfuns.c:4333:8: warning: type defaults to 'int' in declaration of 'qmfwrites' [-Wimplicit-int] static qmfwrites(THREAD* thr); ^~~~~~~~~ qmfuns.c:4335:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwrites(THREAD* thr) ^~~~~~~~ qmfuns.c:4346:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfread(THREAD* thr) ^~~~~~~ qmfuns.c:4378:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfreadq(THREAD* thr) ^~~~~~~~ qmfuns.c:4414:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfreadc(THREAD* thr) ^~~~~~~~ qmfuns.c:4473:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfreads(THREAD* thr) ^~~~~~~~ qmfuns.c: In function 'qmfreads': qmfuns.c:4498:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s1 = (char*) arealloc(s, a, MAXSTRLEN, ^~ qmfuns.c:4530:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!r && !*s || thr == thr0 && checkbrk) { ~~~^~~~~~ qmfuns.c: At top level: qmfuns.c:4568:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwrite(THREAD* thr) ^~~~~~~~ qmfuns.c:4591:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwriteq(THREAD* thr) ^~~~~~~~~ qmfuns.c:4615:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwritec(THREAD* thr) ^~~~~~~~~ qmfuns.c:4649:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwrites(THREAD* thr) ^~~~~~~~~ qmfuns.c:4685:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfopen(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmfopen': qmfuns.c:4694:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] static qmpopen(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmpopen': qmfuns.c:4731:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] setlinebuf(fp); ^~~~~~~~~~ setvbuf qmfuns.c: At top level: qmfuns.c:4761:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfclose(THREAD* thr) ^~~~~~~~ qmfuns.c:4796:8: warning: type defaults to 'int' in declaration of 'qmfeof' [-Wimplicit-int] static qmfeof(THREAD* thr); ^~~~~~ qmfuns.c:4798:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmeof(THREAD* thr) ^~~~~ qmfuns.c:4808:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfeof(THREAD* thr) ^~~~~~ qmfuns.c:4847:8: warning: type defaults to 'int' in declaration of 'qmfflush' [-Wimplicit-int] static qmfflush(THREAD* thr); ^~~~~~~~ qmfuns.c:4849:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmflush(THREAD* thr) ^~~~~~~ qmfuns.c:4859:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfflush(THREAD* thr) ^~~~~~~~ qmfuns.c:4874:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmversion(THREAD* thr) ^~~~~~~~~ qmfuns.c:4879:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsysinfo(THREAD* thr) ^~~~~~~~~ qmfuns.c:4884:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwhich(THREAD* thr) ^~~~~~~ qmfuns.c:4931:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmhalt(THREAD* thr) ^~~~~~ qmfuns.c:4937:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmquit(THREAD* thr) ^~~~~~ qmfuns.c:4943:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmbreak(THREAD* thr) ^~~~~~~ qmfuns.c:4949:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmcatch(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmcatch': qmfuns.c:4957:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] } else if (thr == thr0 && checkbrk || qmfuns.c: At top level: qmfuns.c:4977:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmthrow(THREAD* thr) ^~~~~~~ qmfuns.c:4992:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtrap(THREAD* thr) ^~~~~~ qmfuns.c:5085:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfail(THREAD* thr) ^~~~~~ qmfuns.c:5091:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfail2(THREAD* thr) ^~~~~~~ qmfuns.c:5097:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtime(THREAD* thr) ^~~~~~ qmfuns.c:5102:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsleep(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmenum1': qmfuns.c:3511:14: warning: 't1' may be used uninitialized in this function [-Wmaybe-uninitialized] n > 1 && t0 != t1) ~~~^~~~~ qmfuns.c:3514:11: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] inc = x1-x0; ~~~~^~~~~~~ qmfuns.c: In function 'qmenum': qmfuns.c:3460:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] inc = x1-x0; ~~~~^~~~~~~ qmfuns.c:3352:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] inc = x1-x0; ~~~~^~~~~~~ qmfuns.c:3352:6: warning: 'x0' may be used uninitialized in this function [-Wmaybe-uninitialized] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qmmatch.lo qmmatch.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c qmmatch.c -fPIC -DPIC -o .libs/qmmatch.o qmmatch.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] nextstate(int s, int type, int fno) ^~~~~~~~~ qmmatch.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] defaultstate(int s, int type) ^~~~~~~~~~~~ qmmatch.c: In function 'defaultstate': qmmatch.c:85:29: warning: unused variable 'left' [-Wunused-variable] 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] nondefault(int s) ^~~~~~~~~~ qmmatch.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] typedtrans(int s, int type) ^~~~~~~~~~ qmmatch.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] virtual(int s, int type) ^~~~~~~ qmmatch.c:212:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] (s = matchx(thr, s1, mode, 0, x1, &y1)) && ^~ qmmatch.c:318:53: warning: value computed is not used [-Wunused-value] (s = matchx(thr, s1, modes.left, 0, x1, &y1)) && ^~ qmmatch.c:364:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (yv) ^ qmmatch.c: In function '__qq__match': qmmatch.c:416:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:431:47: warning: value computed is not used [-Wunused-value] (s = matchx(thr, s, 1, 0, x[0], &x[0])) && ^~ qmmatch.c:458:56: warning: value computed is not used [-Wunused-value] (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] nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:530:32: warning: value computed is not used [-Wunused-value] (s = nextstate(s, 0, fno)) && (s = typedtrans(s, type)); ^~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qmprint.lo qmprint.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c qmprint.c -fPIC -DPIC -o .libs/qmprint.o qmprint.c:207:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline checktmpbuf(void) ^~~~~~~~~~~ qmprint.c:217:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline writetmpbuf(char *s) ^~~~~~~~~~~ qmprint.c:238:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline checklastsym(char *s) ^~~~~~~~~~~~ qmprint.c:246:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline checkmarksym(void) ^~~~~~~~~~~~ qmprint.c:253:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline marksym(int flag) ^~~~~~~ qmprint.c:261:8: warning: return type defaults to 'int' [-Wimplicit-int] static sputstr1(char *s) ^~~~~~~~ qmprint.c: In function 'sputstr1': qmprint.c:268:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (bufp1 = (char*) arealloc(bufp, abufleng, MAXSTRLEN, ^~~~~ qmprint.c: At top level: qmprint.c:282:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline sputstr(char *s) ^~~~~~~ qmprint.c:358:8: warning: return type defaults to 'int' [-Wimplicit-int] static fputstr1(char *s) ^~~~~~~~ qmprint.c:379:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline fputstr(char *s) ^~~~~~~ qmprint.c:454:8: warning: return type defaults to 'int' [-Wimplicit-int] static opprec(int fno) ^~~~~~ qmprint.c:511:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline islsect(EXPR *x) ^~~~~~~ qmprint.c:518:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isrsect(EXPR *x) ^~~~~~~ qmprint.c:528:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isenum(EXPR *x) ^~~~~~ qmprint.c:542:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isenum1(EXPR *x) ^~~~~~~ qmprint.c:555:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline issenum(EXPR *x) ^~~~~~~ qmprint.c:569:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline issenum1(EXPR *x) ^~~~~~~~ qmprint.c:582:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline istenum(EXPR *x) ^~~~~~~ qmprint.c:596:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline istenum1(EXPR *x) ^~~~~~~~ qmprint.c:609:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isstream(EXPR *x) ^~~~~~~~ qmprint.c: In function 'isstream': qmprint.c:612:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] x->fno == APPOP && x->data.args.x1->fno == APPOP && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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] static inline isscons(EXPR *x, EXPR **y, EXPR **z) ^~~~~~~ qmprint.c:627:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline islistof(EXPR *x) ^~~~~~~~ qmprint.c:636:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline istupleof(EXPR *x) ^~~~~~~~~ qmprint.c:645:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isstreamof(EXPR *x) ^~~~~~~~~~ qmprint.c:654:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline islambda(EXPR *x) ^~~~~~~~ qmprint.c:660:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isifelse(EXPR *x) ^~~~~~~~ qmprint.c:669:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline iswhen(EXPR *x) ^~~~~~ qmprint.c:733:8: warning: return type defaults to 'int' [-Wimplicit-int] static exprprec(THREAD *thr, EXPR *x) ^~~~~~~~ qmprint.c:776:8: warning: type defaults to 'int' in declaration of 'print' [-Wimplicit-int] static print(THREAD *thr, int level, EXPR *x); ^~~~~ qmprint.c:778:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline printparen(THREAD *thr, int level, EXPR *x) ^~~~~~~~~~ qmprint.c:783:8: warning: return type defaults to 'int' [-Wimplicit-int] static printlprec(THREAD *thr, int level, int fno, EXPR *x) ^~~~~~~~~~ qmprint.c:794:8: warning: return type defaults to 'int' [-Wimplicit-int] static printrprec(THREAD *thr, int level, int fno, EXPR *x) ^~~~~~~~~~ qmprint.c:805:8: warning: return type defaults to 'int' [-Wimplicit-int] static print1(THREAD *thr, int level, int fno, EXPR *x) ^~~~~~ qmprint.c:811:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2l(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~~ qmprint.c:819:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2r(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~~ qmprint.c:827:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2n(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~~ qmprint.c:835:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~ qmprint.c:959:8: warning: return type defaults to 'int' [-Wimplicit-int] static print(THREAD *thr, int level, EXPR *x) ^~~~~ qmprint.c:1412:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline printchk(THREAD *thr, int level, EXPR *x) ^~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qmparse.lo qmparse.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c qmparse.c -fPIC -DPIC -o .libs/qmparse.o qmparse.y:70:8: warning: type defaults to 'int' in declaration of 'swap' [-Wimplicit-int] static swap(), pushtern(), pushbin(), pushun(), ^~~~ qmparse.y:70:16: warning: type defaults to 'int' in declaration of 'pushtern' [-Wimplicit-int] static swap(), pushtern(), pushbin(), pushun(), ^~~~~~~~ qmparse.y:70:28: warning: type defaults to 'int' in declaration of 'pushbin' [-Wimplicit-int] static swap(), pushtern(), pushbin(), pushun(), ^~~~~~~ qmparse.y:70:39: warning: type defaults to 'int' in declaration of 'pushun' [-Wimplicit-int] static swap(), pushtern(), pushbin(), pushun(), ^~~~~~ qmparse.y:71:3: warning: type defaults to 'int' in declaration of 'pushlist' [-Wimplicit-int] 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] 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] 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] pushgroup(int *n, int *m), ^~~~~~~~~ qmparse.y:73:3: warning: type defaults to 'int' in declaration of 'savepos' [-Wimplicit-int] savepos(), clean(); ^~~~~~~ qmparse.y:73:14: warning: type defaults to 'int' in declaration of 'clean' [-Wimplicit-int] savepos(), clean(); ^~~~~ qmparse.y:74:8: warning: type defaults to 'int' in declaration of 'init_stats' [-Wimplicit-int] static init_stats(), fini_stats(), print_stats(); ^~~~~~~~~~ qmparse.y:74:22: warning: type defaults to 'int' in declaration of 'fini_stats' [-Wimplicit-int] static init_stats(), fini_stats(), print_stats(); ^~~~~~~~~~ qmparse.y:74:36: warning: type defaults to 'int' in declaration of 'print_stats' [-Wimplicit-int] static init_stats(), fini_stats(), print_stats(); ^~~~~~~~~~~ qmparse.y:75:8: warning: type defaults to 'int' in declaration of 'copyright' [-Wimplicit-int] static copyright(), shell(), expression(), ^~~~~~~~~ qmparse.y:75:21: warning: type defaults to 'int' in declaration of 'shell' [-Wimplicit-int] static copyright(), shell(), expression(), ^~~~~ qmparse.y:75:30: warning: type defaults to 'int' in declaration of 'expression' [-Wimplicit-int] static copyright(), shell(), expression(), ^~~~~~~~~~ qmparse.y:76:3: warning: type defaults to 'int' in declaration of 'vardecl' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~ qmparse.y:76:14: warning: type defaults to 'int' in declaration of 'initializer' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~~~~~ qmparse.y:76:29: warning: type defaults to 'int' in declaration of 'assignment' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~~~~ qmparse.y:76:43: warning: type defaults to 'int' in declaration of 'unassignment' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~~~~~~ qmparse.y:77:3: warning: type defaults to 'int' in declaration of 'sethistfile' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~~~ qmparse.y:77:18: warning: type defaults to 'int' in declaration of 'sethistsize' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~~~ qmparse.y:77:33: warning: type defaults to 'int' in declaration of 'help' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~ qmparse.y:77:41: warning: type defaults to 'int' in declaration of 'edit' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~ qmparse.y:77:49: warning: type defaults to 'int' in declaration of 'save_vars' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~ qmparse.y:77:62: warning: type defaults to 'int' in declaration of 'clear_vars' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~~ qmparse.y:78:3: warning: type defaults to 'int' in declaration of 'add_import' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~ qmparse.y:78:17: warning: type defaults to 'int' in declaration of 'del_import' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~ qmparse.y:78:31: warning: type defaults to 'int' in declaration of 'clear_imports' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~~~~ qmparse.y:78:48: warning: type defaults to 'int' in declaration of 'breakpoints' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~~ qmparse.y:78:63: warning: type defaults to 'int' in declaration of 'profile' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~ qmparse.y:79:3: warning: type defaults to 'int' in declaration of 'who' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~ qmparse.y:79:10: warning: type defaults to 'int' in declaration of 'whos' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~ qmparse.y:79:18: warning: type defaults to 'int' in declaration of 'whois' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~ qmparse.y:79:27: warning: type defaults to 'int' in declaration of 'ambiguous' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~~~~~ qmparse.y:79:40: warning: type defaults to 'int' in declaration of 'import_list' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~~~~~~~ qmparse.y:79:55: warning: type defaults to 'int' in declaration of 'modules' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~~~ qmparse.y:80:8: warning: type defaults to 'int' in declaration of 'strparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~ qmparse.y:80:20: warning: type defaults to 'int' in declaration of 'intparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~ qmparse.y:80:32: warning: type defaults to 'int' in declaration of 'boolparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~~ qmparse.y:80:45: warning: type defaults to 'int' in declaration of 'boolstrparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~~~~~ qmparse.y:80:61: warning: type defaults to 'int' in declaration of 'allparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~ qmparse.y:81:3: warning: type defaults to 'int' in declaration of 'strlist' [-Wimplicit-int] strlist(), printstr(); ^~~~~~~ qmparse.y:81:14: warning: type defaults to 'int' in declaration of 'printstr' [-Wimplicit-int] strlist(), printstr(); ^~~~~~~~ qmparse.c: In function 'yyparse': qmparse.c:2019:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] yychar = yylex (); ^~~~~ qmparse.y:423:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("bad C stack size %d, using default\n", i/1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ qmparse.y:444:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("bad stack size %d, using default\n", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:467:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("bad memory size %d, using default\n", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:525:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (res && buf) ^ qmparse.c:4145:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] yyerror (YY_("syntax error")); ^~~~~~~ yyerrok qmparse.y: At top level: qmparse.y:1683:1: warning: return type defaults to 'int' [-Wimplicit-int] yyerror(s) ^~~~~~~ qmparse.y: In function 'u8encode': qmparse.y:1762:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1767:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1769:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1774:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1776:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1778:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmparse.y: At top level: qmparse.y:1898:8: warning: return type defaults to 'int' [-Wimplicit-int] static swap() ^~~~ qmparse.y:1907:8: warning: return type defaults to 'int' [-Wimplicit-int] static rot() ^~~ qmparse.y:1917:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushtern(fno) ^~~~~~~~ qmparse.y:1925:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushbin(fno) ^~~~~~~ qmparse.y:1933:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushun(fno) ^~~~~~ qmparse.y:1940:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushlist(int n, int m) ^~~~~~~~ qmparse.y:1949:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushstream(int n, int m) ^~~~~~~~~~ qmparse.y:1958:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushtuple(int n, int m) ^~~~~~~~~ qmparse.y:1967:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushgroup(int *n, int *m) ^~~~~~~~~ qmparse.y:1983:8: warning: return type defaults to 'int' [-Wimplicit-int] static init_stats() ^~~~~~~~~~ qmparse.y:1992:8: warning: return type defaults to 'int' [-Wimplicit-int] static fini_stats() ^~~~~~~~~~ qmparse.y:1999:8: warning: return type defaults to 'int' [-Wimplicit-int] static print_stats(all) ^~~~~~~~~~~ qmparse.y:2046:8: warning: return type defaults to 'int' [-Wimplicit-int] 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] if (tok && *tok && p-q >= l) ^ qmparse.y:2065:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (p > q && (p[-1] != '"' || p > q+1 && p[-2] == '\\')) --p; ~~~~~~~~^~~~~~~~~~~~~~~~ qmparse.y:2049:43: warning: unused variable 't' [-Wunused-variable] 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] static savepos() ^~~~~~~ qmparse.y:2140:8: warning: return type defaults to 'int' [-Wimplicit-int] static clean() ^~~~~ qmparse.y:2168:8: warning: return type defaults to 'int' [-Wimplicit-int] static expression() ^~~~~~~~~~ qmparse.y:2190:8: warning: return type defaults to 'int' [-Wimplicit-int] static assignment() ^~~~~~~~~~ qmparse.y:2209:8: warning: return type defaults to 'int' [-Wimplicit-int] static unassignment(int id) ^~~~~~~~~~~~ qmparse.y:2218:8: warning: return type defaults to 'int' [-Wimplicit-int] static vardecl(int id) ^~~~~~~ qmparse.y:2239:8: warning: return type defaults to 'int' [-Wimplicit-int] static initializer() ^~~~~~~~~~~ qmparse.y:2259:8: warning: return type defaults to 'int' [-Wimplicit-int] static printstr(s) ^~~~~~~~ qmparse.y:2265:8: warning: return type defaults to 'int' [-Wimplicit-int] static strparam(a, s) ^~~~~~~~ qmparse.y:2281:8: warning: return type defaults to 'int' [-Wimplicit-int] static intparam(a, i) ^~~~~~~~ qmparse.y:2298:8: warning: return type defaults to 'int' [-Wimplicit-int] static boolparam(a, b) ^~~~~~~~~ qmparse.y: In function 'boolparam': qmparse.y:2302:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (res) ^ qmparse.y: At top level: qmparse.y:2315:8: warning: return type defaults to 'int' [-Wimplicit-int] static boolstrparam(a, b, s) ^~~~~~~~~~~~ qmparse.y: In function 'boolstrparam': qmparse.y:2320:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (res) ^ qmparse.y: At top level: qmparse.y:2331:8: warning: return type defaults to 'int' [-Wimplicit-int] static allparam(a) ^~~~~~~~ qmparse.y:2344:8: warning: return type defaults to 'int' [-Wimplicit-int] static copyright() ^~~~~~~~~ qmparse.y:2355:8: warning: return type defaults to 'int' [-Wimplicit-int] static shell() ^~~~~ In file included from sys.h:38:0, 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] #define getln __qq__getln ^ qmparse.y:2359:5: note: in expansion of macro 'getln' getln(shell_command); ^~~~~ qmparse.y: At top level: qmparse.y:2385:8: warning: return type defaults to 'int' [-Wimplicit-int] static sethistfile(s) ^~~~~~~~~~~ qmparse.y:2409:8: warning: return type defaults to 'int' [-Wimplicit-int] static sethistsize(i) ^~~~~~~~~~~ qmparse.y:2421:8: warning: return type defaults to 'int' [-Wimplicit-int] static help(s) ^~~~ qmparse.y:2451:8: warning: return type defaults to 'int' [-Wimplicit-int] static edit(s) ^~~~ qmparse.y:2480:8: warning: return type defaults to 'int' [-Wimplicit-int] static save_vars(s) ^~~~~~~~~ qmparse.y:2540:8: warning: return type defaults to 'int' [-Wimplicit-int] static clear_vars() ^~~~~~~~~~ qmparse.y:2554:1: warning: return type defaults to 'int' [-Wimplicit-int] search_import(m) ^~~~~~~~~~~~~ qmparse.y:2568:1: warning: return type defaults to 'int' [-Wimplicit-int] add_import(s) ^~~~~~~~~~ qmparse.y:2615:1: warning: return type defaults to 'int' [-Wimplicit-int] del_import(s) ^~~~~~~~~~ qmparse.y: In function 'del_import': qmparse.y:2636:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (mno == NONE || pos == NONE && mno != mainno) { qmparse.y: At top level: qmparse.y:2657:1: warning: return type defaults to 'int' [-Wimplicit-int] clear_imports() ^~~~~~~~~~~~~ qmparse.y:2670:1: warning: return type defaults to 'int' [-Wimplicit-int] modcmp(v1, v2) ^~~~~~ qmparse.y:2677:1: warning: return type defaults to 'int' [-Wimplicit-int] print_modlist() ^~~~~~~~~~~~~ qmparse.y: In function 'print_modlist': qmparse.y:2681:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2677:1: note: declared here print_modlist() ^~~~~~~~~~~~~ qmparse.y:2684:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2677:1: note: declared here print_modlist() ^~~~~~~~~~~~~ qmparse.y:2694:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qmparse.y: At top level: qmparse.y:2715:8: warning: return type defaults to 'int' [-Wimplicit-int] static modules() ^~~~~~~ qmparse.y:2725:1: warning: return type defaults to 'int' [-Wimplicit-int] print_implist() ^~~~~~~~~~~~~ qmparse.y: In function 'print_implist': qmparse.y:2733:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2725:1: note: declared here print_implist() ^~~~~~~~~~~~~ qmparse.y:2736:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2725:1: note: declared here print_implist() ^~~~~~~~~~~~~ qmparse.y:2747:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qmparse.y: At top level: qmparse.y:2767:8: warning: return type defaults to 'int' [-Wimplicit-int] static import_list() ^~~~~~~~~~~ qmparse.y:2777:1: warning: return type defaults to 'int' [-Wimplicit-int] idcmp(v1, v2) ^~~~~ qmparse.y:2789:1: warning: return type defaults to 'int' [-Wimplicit-int] print_varlist(int all) ^~~~~~~~~~~~~ qmparse.y: In function 'print_varlist': qmparse.y:2799:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2789:1: note: declared here print_varlist(int all) ^~~~~~~~~~~~~ qmparse.y:2802:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2789:1: note: declared here print_varlist(int all) ^~~~~~~~~~~~~ qmparse.y:2811:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ In file included from sys.h:38:0, 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] #define print_breakpoints __qq__print_breakpoints ^ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' print_breakpoints() ^~~~~~~~~~~~~~~~~ qmparse.y: In function '__qq__print_breakpoints': qmparse.y:2837:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here #define print_breakpoints __qq__print_breakpoints ^ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' print_breakpoints() ^~~~~~~~~~~~~~~~~ qmparse.y:2840:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here #define print_breakpoints __qq__print_breakpoints ^ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' print_breakpoints() ^~~~~~~~~~~~~~~~~ qmparse.y:2849:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qmparse.y: At top level: qmparse.y:2867:8: warning: return type defaults to 'int' [-Wimplicit-int] static breakpoints() ^~~~~~~~~~~ qmparse.y:2875:1: warning: return type defaults to 'int' [-Wimplicit-int] profcmp(v1, v2) ^~~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: warning: return type defaults to 'int' [-Wimplicit-int] #define print_profile __qq__print_profile ^ qmparse.y:2891:1: note: in expansion of macro 'print_profile' print_profile() ^~~~~~~~~~~~~ qmparse.y: In function '__qq__print_profile': qmparse.y:2899:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here #define print_profile __qq__print_profile ^ qmparse.y:2891:1: note: in expansion of macro 'print_profile' print_profile() ^~~~~~~~~~~~~ qmparse.y:2902:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here #define print_profile __qq__print_profile ^ qmparse.y:2891:1: note: in expansion of macro 'print_profile' print_profile() ^~~~~~~~~~~~~ qmparse.y:2909:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 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] static profile() ^~~~~~~ qmparse.y:2923:8: warning: return type defaults to 'int' [-Wimplicit-int] static who(int all) ^~~ qmparse.y:2930:8: warning: return type defaults to 'int' [-Wimplicit-int] static whos(int sym) ^~~~ qmparse.y: In function 'whos': qmparse.y:2946:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((flags & VSYM) && !x && !(flags & DCL) || ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ qmparse.y: At top level: qmparse.y:3026:8: warning: return type defaults to 'int' [-Wimplicit-int] static whois(int fno, char *s) ^~~~~ qmparse.y:3061:8: warning: return type defaults to 'int' [-Wimplicit-int] static ambiguous(int fno, char *s) ^~~~~~~~~ qmparse.y:3075:8: warning: return type defaults to 'int' [-Wimplicit-int] static yypush() ^~~~~~ qmparse.y:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] static yypop() ^~~~~ qmparse.y:3103:8: warning: return type defaults to 'int' [-Wimplicit-int] static parse(source, arg, _mode) ^~~~~ In file included from sys.h:38:0, 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] #define skip __qq__skip ^ qmparse.y:3131:64: note: in expansion of macro 'skip' if (yychar && yychar != 10 && (thr > thr0 || !checkbrk)) skip(); ^~~~ qmparse.y:3107:7: warning: unused variable 'c' [-Wunused-variable] int c, actmode; ^ qmparse.y: At top level: qmparse.y:81:3: warning: 'strlist' declared 'static' but never defined [-Wunused-function] 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] 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] 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] system(cmd); ^~~~~~~~~~~ qmparse.y: In function 'sethistfile': qmparse.y:2407:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'sethistsize': qmparse.y:2419:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'print_stats': qmparse.y:2030:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'clear_vars': qmparse.y:2548:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'edit': qmparse.y:2472:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^~~~~~~~~~~ qmparse.y: In function 'printstr': qmparse.y:2263:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'savepos': qmparse.y:2136:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'ambiguous': qmparse.y:3065:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'error_report': qmparse.y:2109:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'yyerror': qmparse.y:1689:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'yypush': qmparse.y:3087:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'yypop': qmparse.y:3099:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.c: In function 'yyparse': qmparse.y:700:13: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] eflag = b; qmparse.y:697:7: note: 'b' was declared here int b; char *s; ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qmlex.lo qmlex.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c qmlex.c -fPIC -DPIC -o .libs/qmlex.o qmlex.l:51:8: warning: type defaults to 'int' in declaration of 'bigint' [-Wimplicit-int] static bigint(); ^~~~~~ qmlex.l:52:8: warning: type defaults to 'int' in declaration of 'string' [-Wimplicit-int] static string(); ^~~~~~ qmlex.l:53:8: warning: type defaults to 'int' in declaration of 'utf8_qualid' [-Wimplicit-int] static utf8_qualid(); ^~~~~~~~~~~ qmlex.l: In function 'getbuf': qmlex.l:129:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] if (_sflag) ^ In file included from sys.h:38:0, 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] #define skip __qq__skip ^ qmlex.l:218:3: note: in expansion of macro 'skip' ^"#!" { skip(); BEGIN(0); } ^~~~ qmlex.l: At top level: qmlex.l:537:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:542:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l: In function 'addbuf': qmlex.l:547:7: warning: 'return' with no value, in function returning non-void } else ^~~~ qmlex.l:542:8: note: declared here { ^ qmlex.l:544:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 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] { ^ qmlex.l: In function 'u8encode': qmlex.l:636:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:641:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:643:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:648:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:650:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:652:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l: At top level: qmlex.l:682:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:798:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l: In function 'utf8_qualid': qmlex.l:800:17: warning: unused variable 'c' [-Wunused-variable] int ret, ret2; ^ qmlex.l: At top level: qmlex.l:822:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:854:8: warning: return type defaults to 'int' [-Wimplicit-int] mpz_t z; ^~~~~~ qmlex.l:884:1: warning: return type defaults to 'int' [-Wimplicit-int] { ^ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmlex.l:32: mangle.h:160:14: warning: return type defaults to 'int' [-Wimplicit-int] #define peek __qq__peek ^ qmlex.l:889:1: note: in expansion of macro 'peek' { ^ mangle.h:237:14: warning: return type defaults to 'int' [-Wimplicit-int] #define skip __qq__skip ^ qmlex.l:896:1: note: in expansion of macro 'skip' /* skip remainder of input line */ ^~~~ mangle.h:81:15: warning: return type defaults to 'int' [-Wimplicit-int] #define getln __qq__getln ^ qmlex.l:909:1: note: in expansion of macro 'getln' char *s; ^ qmlex.l:944:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:974:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l: In function 'string': qmlex.l:845:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function 'initbuf': qmlex.l:540:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function '__qq__skip': qmlex.l:907:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function '__qq__getln': qmlex.l:929:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function 'lexpop': qmlex.l:1000:1: warning: control reaches end of non-void function [-Wreturn-type] ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qbase.lo qbase.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c:592:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qbase.c:594:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c:599:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ qbase.c:601:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qbase.c:603:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c: In function 'scanchar': qbase.c:1081:13: warning: unused variable 'r' [-Wunused-variable] char *r; ^ qbase.c: In function '__qq__absolute': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #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' else if (tilde(s)) ^~~~~ qbase.c: In function '__qq__dirprefix': qbase.c:1193:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (!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] #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' if (tilde(s2)) { ^~~~~ qbase.c: In function '__qq__searchlib': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #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' if (tilde(s2)) ^~~~~ qbase.c:1279:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (s[0] == '.') ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o sys.lo sys.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c sys.c -fPIC -DPIC -o .libs/sys.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o random.lo random.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c random.c -fPIC -DPIC -o .libs/random.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o uchar.lo uchar.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c uchar.c -fPIC -DPIC -o .libs/uchar.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o getopt.lo getopt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c getopt.c -fPIC -DPIC -o .libs/getopt.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o getopt1.lo getopt1.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c getopt1.c -fPIC -DPIC -o .libs/getopt1.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c getopt1.c -o getopt1.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libqmain.la -rpath /usr/lib 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 -lnsl -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] static unload_dlls(void); ^~~~~~~~~~~ q.c: In function '__qq__exitproc': q.c:61:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ q.c: In function 'mygetline1': q.c:766:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (l = strlen(bufp)) > 0 && bufp[l-1] == '\n') ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ q.c:774:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (buf) ^ q.c:785:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] static contd(); ^~~~~ q.c:949:8: warning: return type defaults to 'int' [-Wimplicit-int] static wsarg(char *arg) ^~~~~ q.c:983:8: warning: return type defaults to 'int' [-Wimplicit-int] static qcarg(char *arg) ^~~~~ q.c:995:8: warning: return type defaults to 'int' [-Wimplicit-int] static set_qcarg(int i, char *arg) ^~~~~~~~~ In file included from sys.h:38:0, 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] #define debug_parse_opts __qq__debug_parse_opts ^ q.c:1039:12: note: in expansion of macro 'debug_parse_opts' if (!debug_parse_opts(opts)) { ^~~~~~~~~~~~~~~~ q.c: In function 'get_source_opts': q.c:1292:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ q.c: At top level: q.c:1332:1: warning: return type defaults to 'int' [-Wimplicit-int] spawn(char *prog, char *argv[]) ^~~~~ q.c:1366:8: warning: type defaults to 'int' in declaration of 'resolve' [-Wimplicit-int] static resolve(), init_dlls(); ^~~~~~~ q.c:1366:19: warning: type defaults to 'int' in declaration of 'init_dlls' [-Wimplicit-int] static resolve(), init_dlls(); ^~~~~~~~~ q.c: In function 'dorun': q.c:1381:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] chkfile(searchlib(fname, _source)) && q.c:1383:72: warning: suggest parentheses around '&&' within '||' [-Wparentheses] chkfile(searchlib(fname, strcat(strcpy(fname2, _source), ".q"))) && q.c:1534:33: warning: unused variable 'argv0' [-Wunused-variable] int count = 0; char *const *argv0 = argv; ^~~~~ q.c:1595:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (gflag) ^ q.c:1374:45: warning: unused variable 'msg' [-Wunused-variable] 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] double ip, fp; ^~ q.c: In function '__qq__getmpz_floatexpr': q.c:1757:9: warning: unused variable 'z' [-Wunused-variable] mpz_t z; ^ In file included from sys.h:38:0, 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] #define qmsentinel __qq__qmsentinel ^ q.c:1782:3: note: in expansion of macro 'qmsentinel' 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] extern __libq_init(); ^~~~~~~~~~~ q.c:1849:8: warning: return type defaults to 'int' [-Wimplicit-int] static resolve() ^~~~~~~ q.c:1975:8: warning: return type defaults to 'int' [-Wimplicit-int] static init_dlls() ^~~~~~~~~ q.c:1985:8: warning: return type defaults to 'int' [-Wimplicit-int] static unload_dlls() ^~~~~~~~~~~ q.c:2008:8: warning: return type defaults to 'int' [-Wimplicit-int] static gnuclient(char *sexp) ^~~~~~~~~ q.c:2483:8: warning: return type defaults to 'int' [-Wimplicit-int] static libmain(const char *path, int argc, char **argv) ^~~~~~~ q.c: In function 'libmain': q.c:2553:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (chkfile(searchlib(fname, source)) && q.c:2564:3: warning: label 'err' defined but not used [-Wunused-label] err: ^~~ q.c:2487:45: warning: unused variable 'msg' [-Wunused-variable] char fname[MAXSTRLEN], fname2[MAXSTRLEN], msg[MAXSTRLEN]; ^~~ q.c: In function 'qevalx': q.c:3009:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] } ^ q.c: In function 'mygetline1': q.c:795:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'qcarg': q.c:993:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'set_qcarg': q.c:1005:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'init_dlls': q.c:1983:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'gnuclient': q.c:2016:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: q.c:1289:1: warning: 'get_source_opts' defined but not used [-Wunused-function] get_source_opts(FILE *fp) ^~~~~~~~~~~~~~~ q.c:949:8: warning: 'wsarg' defined but not used [-Wunused-function] static wsarg(char *arg) ^~~~~ q.c:33:14: warning: 'helpmsg' defined but not used [-Wunused-variable] static char helpmsg[] = HELPMSG; ^~~~~~~ q.c:32:14: warning: 'copying' defined but not used [-Wunused-variable] static char copying[] = COPYING; ^~~~~~~ q.c:31:14: warning: 'terms' defined but not used [-Wunused-variable] static char terms[] = TERMS; ^~~~~ q.c:30:14: warning: 'opts' defined but not used [-Wunused-variable] static char opts[4096]; ^~~~ q.c:29:17: warning: 'usage' defined but not used [-Wunused-variable] static char usage[] = Q_USAGE; ^~~~~ q.c:28:14: warning: 'signon' defined but not used [-Wunused-variable] static char signon[] = Q_SIGNON; ^~~~~~ q.c: In function 'dorun': q.c:1563:19: warning: '__qq__nargs' may be used uninitialized in this function [-Wmaybe-uninitialized] while (nargs-- > 1) q.c:1566:23: warning: 'args' may be used uninitialized in this function [-Wmaybe-uninitialized] symtb[ARGSOP].x = args; libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] 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' if (thr->xst) free(thr->xst); thr->xst = thr->xsp = NULL; ^~~ qm.c:332:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (thr->ast) free(thr->ast); thr->ast = thr->asp = NULL; ^~~ qm.c:333:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (thr->args) free(thr->args); thr->args = NULL; ^~~ qm.c:334:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (thr->mark) free(thr->mark); thr->mark = NULL; ^~~ qm.c:336:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' 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] static initfx(int fno) ^~~~~~ qm.c: In function 'initfx': qm.c:738:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] fno < BUILTIN && funtb[fno] && nargs[fno] == 0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qm.c: In function '__qq__init': qm.c:772:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] if (x = xfreep) { ^ qm.c: In function '__qq__qmfree': qm.c:1226:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (x->type) ^ In file included from sys.h:38:0, 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] #define push __qq__push ^ qm.c:1189:7: note: in expansion of macro 'push' push: ^~~~ qm.c: In function '__qq__usrexpr': qm.c:1649:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (type) ^ qm.c: In function '__qq__consexpr': qm.c:1749:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] if (x = vectexpr(thr, n+1, xv)) { ^ qm.c:2007:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] if (x = funexpr(thr, fno)) { ^ qm.c: In function 'evalb': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2228:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2228:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2239:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2239:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2259:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2259:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2262:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2262:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c:2215:27: warning: unused variable 'rc' [-Wunused-variable] int n, *rp, rc; ^~ qm.c:2215:23: warning: unused variable 'rp' [-Wunused-variable] int n, *rp, rc; ^~ qm.c: At top level: qm.c:2279:8: warning: return type defaults to 'int' [-Wimplicit-int] static evalb_with_frame(THREAD *thr, ^~~~~~~~~~~~~~~~ qm.c: In function 'evalb_with_frame': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2297:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2297:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2311:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2311:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2334:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2334:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2340:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2340:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c: In function 'eval_internal': qm.c:3569:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!x->red || !x->raw && thr->mode) ~~~~~~~~^~~~~~~~~~~~ qm.c: In function '__qq__eval': qm.c:3655:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] cstackmax > 0 && stack_dir*(&base - thr->baseptr) >= cstackmax) { In file included from sys.h:38:0, 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] #define print_breakpoints __qq__print_breakpoints ^ qm.c:4052:8: note: in expansion of macro 'print_breakpoints' 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=] printf("%3d> ", thr->asp-thr->ast-base); ~~^ ~~~~~~~~~~~~~~~~~~~~~~ %3ld qm.c:4249:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%3d> ", thr->asp-thr->ast-base); ~~^ ~~~~~~~~~~~~~~~~~~~~~~ %3ld qm.c:4275:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free) out of %d\n", ~^ %ld qm.c:4275:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free) out of %d\n", ~^ %ld qm.c:4278:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free)\n", ~^ %ld qm.c:4278:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free)\n", ~^ %ld qm.c: At top level: qm.c:4475:1: warning: return type defaults to 'int' [-Wimplicit-int] varcmp(v1, v2) ^~~~~~ qm.c: In function 'listvars': qm.c:4506:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qm.c: In function 'lastoffs': qm.c:4902:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ip->opcode == MATCHOP) ^ qm.c: In function 'printc': qm.c:4914:17: warning: unused variable 'maxoffs' [-Wunused-variable] 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] if (matchsym(fno, s) && ^ qm.c: In function '__qq__getsym': qm.c:5311:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (matchsym(fno, s) && ^ qm.c: In function '__qq__gettype': qm.c:5368:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (matchtyp(type, s) && ^ qm.c: At top level: qm.c:86:14: warning: 'x_copy' declared 'static' but never defined [-Wunused-function] static EXPR *x_copy(EXPR *x); ^~~~~~ qm.c:87:13: warning: 'xcopy_cleanup' declared 'static' but never defined [-Wunused-function] static void xcopy_cleanup(void); ^~~~~~~~~~~~~ qm.c: In function 'initfx': qm.c:748:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: qm.c:4588:12: warning: 'getvar' defined but not used [-Wunused-function] 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] else if (impib[p] & 2) ^ qm.c:5299:35: note: 'p1' was declared here 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] 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] 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] else if (impib[p] & 2) ^ qm.c:5356:37: note: 'p1' was declared here int type, type1 = NONE, p = NONE, p1; ^~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] 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] 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] fread(&mainno, sizeof mainno, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:66:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&codespsz, sizeof codespsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:67:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&strspsz, sizeof strspsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:68:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&limbspsz, sizeof limbspsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:69:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&hashtbsz, sizeof hashtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:70:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&symtbsz, sizeof symtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:71:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&statetbsz, sizeof statetbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:72:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&transtbsz, sizeof transtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:73:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&roffstbsz, sizeof roffstbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:74:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&matchtbsz, sizeof matchtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:75:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&inittbsz, sizeof inittbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:76:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&modtbsz, sizeof modtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:77:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&imptbsz, sizeof imptbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:137:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(codesp, sizeof(OPREC), codespsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:138:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(strsp, sizeof(char), strspsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:139:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 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] fread(hashtb, sizeof(int), hashtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:141:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(symtb, sizeof(SYMREC), symtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:142:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(statetb, sizeof(STATEREC), statetbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:143:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(transtb, sizeof(TRANSREC), transtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:144:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(roffstb, sizeof(int), roffstbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:145:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(matchtb, sizeof(int), matchtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:146:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(inittb, sizeof(int), inittbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:147:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(modtb, sizeof(int), modtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:148:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(fnametb, sizeof(int), modtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:149:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(imports, sizeof(int), modtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:150:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(imptb, sizeof(int), imptbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:151:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(impib, sizeof(byte), imptbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] char *t = s, *s0 = s; ^~ qmfuns.c: In function 'u8encode': qmfuns.c:454:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:459:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:461:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:466:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:468:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:470:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c: At top level: qmfuns.c:878:1: warning: return type defaults to 'int' [-Wimplicit-int] xeq(THREAD *thr, EXPR *x, EXPR *y) ^~~ qmfuns.c: In function 'xeq': qmfuns.c:904:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] xeqchk(THREAD *thr, EXPR *x, EXPR *y) ^~~~~~ qmfuns.c:1002:1: warning: return type defaults to 'int' [-Wimplicit-int] add_vtb(THREAD *thr, int fno, EXPR *x) ^~~~~~~ qmfuns.c:1045:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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] qmdef(THREAD* thr) ^~~~~ qmfuns.c:1191:1: warning: return type defaults to 'int' [-Wimplicit-int] qmundef(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'xlpat': qmfuns.c:1285:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] if (x != t) ^ qmfuns.c: In function 'xlbody': qmfuns.c:1447:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (y1 = xlbody(thr, x1, key, env)) ^~ qmfuns.c: At top level: qmfuns.c:1532:1: warning: return type defaults to 'int' [-Wimplicit-int] xlmatch(THREAD *thr, EXPRL **xvars, int mode, int vmode, ^~~~~~~ qmfuns.c: In function 'xlmatch': qmfuns.c:1658:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] if (y1 = xlrepl(thr, x1, key, xenv)) ^~ qmfuns.c: At top level: qmfuns.c:1945:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmlambda(THREAD* thr) ^~~~~~~~ qmfuns.c: In function 'qmlambda': qmfuns.c:1984:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (x) ^ qmfuns.c: At top level: qmfuns.c:2005:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmlambda_app(THREAD* thr) ^~~~~~~~~~~~ qmfuns.c:2114:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] if (y1 = consexpr(thr, APPOP, f, y1)) ^~ qmfuns.c:2200:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (y1 = xclosview(thr, x1, vtb, env)) ^~ qmfuns.c: At top level: qmfuns.c:2246:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmview(THREAD *thr) ^~~~~~ qmfuns.c:2271:1: warning: return type defaults to 'int' [-Wimplicit-int] strconcat(THREAD *thr, char *s1, char *s2) ^~~~~~~~~ qmfuns.c:2285:1: warning: return type defaults to 'int' [-Wimplicit-int] listconcat(THREAD *thr, EXPR *x1, EXPR *x2) ^~~~~~~~~~ qmfuns.c:2310:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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] tupleconcat(THREAD *thr, EXPR *x1, EXPR *x2) ^~~~~~~~~~~ qmfuns.c:2366:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmconcat(THREAD* thr) ^~~~~~~~ qmfuns.c:2440:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmadd(THREAD* thr) ^~~~~ qmfuns.c:2506:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmin(THREAD* thr) ^~~~~ qmfuns.c:2583:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmul(THREAD* thr) ^~~~~ qmfuns.c:2617:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfdiv(THREAD* thr) ^~~~~~ qmfuns.c:2649:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmdiv(THREAD* thr) ^~~~~ qmfuns.c:2662:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmod(THREAD* thr) ^~~~~ qmfuns.c:2674:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmpow(THREAD* thr) ^~~~~ qmfuns.c: In function 'qmpow': qmfuns.c:2691:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (mpz_sgn(args[0]->data.z) >= 0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modf(args[1]->data.f, &ip) == 0.0) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (mpz_sgn(args[0]->data.z) != 0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ args[1]->data.f != 0.0)) ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c:2715:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (args[0]->data.f >= 0.0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~ modf(args[1]->data.f, &ip) == 0.0) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (args[0]->data.f != 0.0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~ args[1]->data.f != 0.0)) ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:2735:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmidx(THREAD* thr) ^~~~~ qmfuns.c:2793:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmcomp(THREAD* thr) ^~~~~~ qmfuns.c:2808:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmumin(THREAD* thr) ^~~~~~ qmfuns.c:2821:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmhash(THREAD* thr) ^~~~~~ qmfuns.c:2861:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmunquote(THREAD* thr) ^~~~~~~~~ qmfuns.c:2882:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmforce(THREAD* thr) ^~~~~~~ qmfuns.c:2888:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmem(THREAD* thr) ^~~~~ qmfuns.c:2896:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmor(THREAD* thr) ^~~~ qmfuns.c:2914:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmorelse(THREAD* thr) ^~~~~~~~ qmfuns.c:2926:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmand(THREAD* thr) ^~~~~ qmfuns.c:2944:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmandthen(THREAD* thr) ^~~~~~~~~ qmfuns.c:2956:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmnot(THREAD* thr) ^~~~~ qmfuns.c:2972:1: warning: return type defaults to 'int' [-Wimplicit-int] xcmp(EXPR *x, EXPR *y, int *result) ^~~~ qmfuns.c:3041:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmle(THREAD* thr) ^~~~ qmfuns.c:3057:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmgr(THREAD* thr) ^~~~ qmfuns.c:3073:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmeq(THREAD* thr) ^~~~ qmfuns.c:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmleq(THREAD* thr) ^~~~~ qmfuns.c:3105:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmgeq(THREAD* thr) ^~~~~ qmfuns.c:3121:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmneq(THREAD* thr) ^~~~~ qmfuns.c:3137:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmid(THREAD* thr) ^~~~ qmfuns.c:3146:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmrapp(THREAD* thr) ^~~~~~ qmfuns.c:3161:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmseq(THREAD* thr) ^~~~~ qmfuns.c:3167:8: warning: return type defaults to 'int' [-Wimplicit-int] static shl(THREAD *thr, mpz_t z, int i) ^~~ qmfuns.c:3199:8: warning: return type defaults to 'int' [-Wimplicit-int] static shr(THREAD *thr, mpz_t z, int i) ^~~ qmfuns.c:3224:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmshl(THREAD* thr) ^~~~~ qmfuns.c:3251:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmshr(THREAD* thr) ^~~~~ qmfuns.c:3278:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmpred(THREAD* thr) ^~~~~~ qmfuns.c:3303:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsucc(THREAD* thr) ^~~~~~ qmfuns.c:3328:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmenum(THREAD* thr) ^~~~~~ qmfuns.c:3487:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmenum1(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmenum1': qmfuns.c:3511:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] n > 1 && t0 != t1) ~~~~~~^~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:3541:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmexp(THREAD* thr) ^~~~~ qmfuns.c:3554:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmln(THREAD* thr) ^~~~ qmfuns.c:3574:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsqrt(THREAD* thr) ^~~~~~ qmfuns.c:3593:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsin(THREAD* thr) ^~~~~ qmfuns.c:3606:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmcos(THREAD* thr) ^~~~~ qmfuns.c:3619:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmatan(THREAD* thr) ^~~~~~ qmfuns.c:3632:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmatan2(THREAD* thr) ^~~~~~~ qmfuns.c:3663:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmrandom(THREAD* thr) ^~~~~~~~ qmfuns.c: In function 'qmrandom': qmfuns.c:3665:10: warning: unused variable 'args' [-Wunused-variable] EXPR **args = thr->args; ^~~~ qmfuns.c: At top level: qmfuns.c:3677:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmseed(THREAD* thr) ^~~~~~ qmfuns.c:3687:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsub(THREAD* thr) ^~~~~ qmfuns.c: In function 'qmsub': qmfuns.c:3695:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' 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] static qmsubstr(THREAD* thr) ^~~~~~~~ qmfuns.c:3852:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmpos(THREAD* thr) ^~~~~ qmfuns.c:3872:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmint(THREAD* thr) ^~~~~ qmfuns.c: In function 'qmint': qmfuns.c:3876:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] double ip, fp; ^~ qmfuns.c: At top level: qmfuns.c:3885:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfrac(THREAD* thr) ^~~~~~ qmfuns.c:3898:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtrunc(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmtrunc': qmfuns.c:3902:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] double ip, fp, dsz; ^~ qmfuns.c: At top level: qmfuns.c:3919:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmround(THREAD* thr) ^~~~~~~ qmfuns.c:3938:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfloat(THREAD* thr) ^~~~~~~ qmfuns.c:4025:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmhashnum(THREAD* thr) ^~~~~~~~~ qmfuns.c:4031:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmord(THREAD* thr) ^~~~~ qmfuns.c:4046:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmchr(THREAD* thr) ^~~~~ qmfuns.c:4073:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmlist(THREAD* thr) ^~~~~~ qmfuns.c:4092:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtuple(THREAD* thr) ^~~~~~~ qmfuns.c:4114:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmstr(THREAD* thr) ^~~~~ qmfuns.c:4125:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmval(THREAD* thr) ^~~~~ qmfuns.c:4145:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmstrq(THREAD* thr) ^~~~~~ qmfuns.c:4160:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmvalq(THREAD* thr) ^~~~~~ qmfuns.c:4181:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisspecial(THREAD* thr) ^~~~~~~~~~~ qmfuns.c:4192:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisconst(THREAD* thr) ^~~~~~~~~ qmfuns.c:4203:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisfun(THREAD* thr) ^~~~~~~ qmfuns.c:4212:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisvar(THREAD* thr) ^~~~~~~ qmfuns.c:4221:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisdef(THREAD* thr) ^~~~~~~ qmfuns.c:4230:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmflip(THREAD* thr) ^~~~~~ qmfuns.c:4246:8: warning: type defaults to 'int' in declaration of 'qmfread' [-Wimplicit-int] static qmfread(THREAD* thr); ^~~~~~~ qmfuns.c:4248:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmread(THREAD* thr) ^~~~~~ qmfuns.c:4258:8: warning: type defaults to 'int' in declaration of 'qmfreadq' [-Wimplicit-int] static qmfreadq(THREAD* thr); ^~~~~~~~ qmfuns.c:4260:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmreadq(THREAD* thr) ^~~~~~~ qmfuns.c:4270:8: warning: type defaults to 'int' in declaration of 'qmfreadc' [-Wimplicit-int] static qmfreadc(THREAD* thr); ^~~~~~~~ qmfuns.c:4272:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmreadc(THREAD* thr) ^~~~~~~ qmfuns.c:4282:8: warning: type defaults to 'int' in declaration of 'qmfreads' [-Wimplicit-int] static qmfreads(THREAD* thr); ^~~~~~~~ qmfuns.c:4284:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmreads(THREAD* thr) ^~~~~~~ qmfuns.c:4294:8: warning: type defaults to 'int' in declaration of 'qmfwrite' [-Wimplicit-int] static qmfwrite(THREAD* thr); ^~~~~~~~ qmfuns.c:4296:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwrite(THREAD* thr) ^~~~~~~ qmfuns.c:4307:8: warning: type defaults to 'int' in declaration of 'qmfwriteq' [-Wimplicit-int] static qmfwriteq(THREAD* thr); ^~~~~~~~~ qmfuns.c:4309:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwriteq(THREAD* thr) ^~~~~~~~ qmfuns.c:4320:8: warning: type defaults to 'int' in declaration of 'qmfwritec' [-Wimplicit-int] static qmfwritec(THREAD* thr); ^~~~~~~~~ qmfuns.c:4322:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwritec(THREAD* thr) ^~~~~~~~ qmfuns.c:4333:8: warning: type defaults to 'int' in declaration of 'qmfwrites' [-Wimplicit-int] static qmfwrites(THREAD* thr); ^~~~~~~~~ qmfuns.c:4335:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwrites(THREAD* thr) ^~~~~~~~ qmfuns.c:4346:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfread(THREAD* thr) ^~~~~~~ qmfuns.c:4378:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfreadq(THREAD* thr) ^~~~~~~~ qmfuns.c:4414:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfreadc(THREAD* thr) ^~~~~~~~ qmfuns.c:4473:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfreads(THREAD* thr) ^~~~~~~~ qmfuns.c: In function 'qmfreads': qmfuns.c:4498:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s1 = (char*) arealloc(s, a, MAXSTRLEN, ^~ qmfuns.c:4530:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!r && !*s || thr == thr0 && checkbrk) { ~~~^~~~~~ qmfuns.c: At top level: qmfuns.c:4568:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwrite(THREAD* thr) ^~~~~~~~ qmfuns.c:4591:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwriteq(THREAD* thr) ^~~~~~~~~ qmfuns.c:4615:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwritec(THREAD* thr) ^~~~~~~~~ qmfuns.c:4649:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwrites(THREAD* thr) ^~~~~~~~~ qmfuns.c:4685:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfopen(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmfopen': qmfuns.c:4694:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] static qmpopen(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmpopen': qmfuns.c:4731:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] setlinebuf(fp); ^~~~~~~~~~ setvbuf qmfuns.c: At top level: qmfuns.c:4761:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfclose(THREAD* thr) ^~~~~~~~ qmfuns.c:4796:8: warning: type defaults to 'int' in declaration of 'qmfeof' [-Wimplicit-int] static qmfeof(THREAD* thr); ^~~~~~ qmfuns.c:4798:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmeof(THREAD* thr) ^~~~~ qmfuns.c:4808:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfeof(THREAD* thr) ^~~~~~ qmfuns.c:4847:8: warning: type defaults to 'int' in declaration of 'qmfflush' [-Wimplicit-int] static qmfflush(THREAD* thr); ^~~~~~~~ qmfuns.c:4849:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmflush(THREAD* thr) ^~~~~~~ qmfuns.c:4859:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfflush(THREAD* thr) ^~~~~~~~ qmfuns.c:4874:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmversion(THREAD* thr) ^~~~~~~~~ qmfuns.c:4879:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsysinfo(THREAD* thr) ^~~~~~~~~ qmfuns.c:4884:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwhich(THREAD* thr) ^~~~~~~ qmfuns.c:4931:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmhalt(THREAD* thr) ^~~~~~ qmfuns.c:4937:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmquit(THREAD* thr) ^~~~~~ qmfuns.c:4943:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmbreak(THREAD* thr) ^~~~~~~ qmfuns.c:4949:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmcatch(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmcatch': qmfuns.c:4957:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] } else if (thr == thr0 && checkbrk || qmfuns.c: At top level: qmfuns.c:4977:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmthrow(THREAD* thr) ^~~~~~~ qmfuns.c:4992:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtrap(THREAD* thr) ^~~~~~ qmfuns.c:5085:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfail(THREAD* thr) ^~~~~~ qmfuns.c:5091:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfail2(THREAD* thr) ^~~~~~~ qmfuns.c:5097:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtime(THREAD* thr) ^~~~~~ qmfuns.c:5102:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsleep(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmenum1': qmfuns.c:3511:14: warning: 't1' may be used uninitialized in this function [-Wmaybe-uninitialized] n > 1 && t0 != t1) ~~~^~~~~ qmfuns.c:3514:11: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] inc = x1-x0; ~~~~^~~~~~~ qmfuns.c: In function 'qmenum': qmfuns.c:3460:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] inc = x1-x0; ~~~~^~~~~~~ qmfuns.c:3352:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] inc = x1-x0; ~~~~^~~~~~~ qmfuns.c:3352:6: warning: 'x0' may be used uninitialized in this function [-Wmaybe-uninitialized] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c qmmatch.c -fPIC -DPIC -o .libs/libqint_la-qmmatch.o qmmatch.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] nextstate(int s, int type, int fno) ^~~~~~~~~ qmmatch.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] defaultstate(int s, int type) ^~~~~~~~~~~~ qmmatch.c: In function 'defaultstate': qmmatch.c:85:29: warning: unused variable 'left' [-Wunused-variable] 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] nondefault(int s) ^~~~~~~~~~ qmmatch.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] typedtrans(int s, int type) ^~~~~~~~~~ qmmatch.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] virtual(int s, int type) ^~~~~~~ qmmatch.c:212:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] (s = matchx(thr, s1, mode, 0, x1, &y1)) && ^~ qmmatch.c:318:53: warning: value computed is not used [-Wunused-value] (s = matchx(thr, s1, modes.left, 0, x1, &y1)) && ^~ qmmatch.c:364:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (yv) ^ qmmatch.c: In function '__qq__match': qmmatch.c:416:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:431:47: warning: value computed is not used [-Wunused-value] (s = matchx(thr, s, 1, 0, x[0], &x[0])) && ^~ qmmatch.c:458:56: warning: value computed is not used [-Wunused-value] (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] nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:530:32: warning: value computed is not used [-Wunused-value] (s = nextstate(s, 0, fno)) && (s = typedtrans(s, type)); ^~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c qmprint.c -fPIC -DPIC -o .libs/libqint_la-qmprint.o qmprint.c:207:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline checktmpbuf(void) ^~~~~~~~~~~ qmprint.c:217:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline writetmpbuf(char *s) ^~~~~~~~~~~ qmprint.c:238:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline checklastsym(char *s) ^~~~~~~~~~~~ qmprint.c:246:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline checkmarksym(void) ^~~~~~~~~~~~ qmprint.c:253:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline marksym(int flag) ^~~~~~~ qmprint.c:261:8: warning: return type defaults to 'int' [-Wimplicit-int] static sputstr1(char *s) ^~~~~~~~ qmprint.c: In function 'sputstr1': qmprint.c:268:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (bufp1 = (char*) arealloc(bufp, abufleng, MAXSTRLEN, ^~~~~ qmprint.c: At top level: qmprint.c:282:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline sputstr(char *s) ^~~~~~~ qmprint.c:358:8: warning: return type defaults to 'int' [-Wimplicit-int] static fputstr1(char *s) ^~~~~~~~ qmprint.c:379:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline fputstr(char *s) ^~~~~~~ qmprint.c:454:8: warning: return type defaults to 'int' [-Wimplicit-int] static opprec(int fno) ^~~~~~ qmprint.c:511:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline islsect(EXPR *x) ^~~~~~~ qmprint.c:518:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isrsect(EXPR *x) ^~~~~~~ qmprint.c:528:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isenum(EXPR *x) ^~~~~~ qmprint.c:542:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isenum1(EXPR *x) ^~~~~~~ qmprint.c:555:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline issenum(EXPR *x) ^~~~~~~ qmprint.c:569:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline issenum1(EXPR *x) ^~~~~~~~ qmprint.c:582:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline istenum(EXPR *x) ^~~~~~~ qmprint.c:596:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline istenum1(EXPR *x) ^~~~~~~~ qmprint.c:609:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isstream(EXPR *x) ^~~~~~~~ qmprint.c: In function 'isstream': qmprint.c:612:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] x->fno == APPOP && x->data.args.x1->fno == APPOP && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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] static inline isscons(EXPR *x, EXPR **y, EXPR **z) ^~~~~~~ qmprint.c:627:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline islistof(EXPR *x) ^~~~~~~~ qmprint.c:636:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline istupleof(EXPR *x) ^~~~~~~~~ qmprint.c:645:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isstreamof(EXPR *x) ^~~~~~~~~~ qmprint.c:654:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline islambda(EXPR *x) ^~~~~~~~ qmprint.c:660:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isifelse(EXPR *x) ^~~~~~~~ qmprint.c:669:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline iswhen(EXPR *x) ^~~~~~ qmprint.c:733:8: warning: return type defaults to 'int' [-Wimplicit-int] static exprprec(THREAD *thr, EXPR *x) ^~~~~~~~ qmprint.c:776:8: warning: type defaults to 'int' in declaration of 'print' [-Wimplicit-int] static print(THREAD *thr, int level, EXPR *x); ^~~~~ qmprint.c:778:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline printparen(THREAD *thr, int level, EXPR *x) ^~~~~~~~~~ qmprint.c:783:8: warning: return type defaults to 'int' [-Wimplicit-int] static printlprec(THREAD *thr, int level, int fno, EXPR *x) ^~~~~~~~~~ qmprint.c:794:8: warning: return type defaults to 'int' [-Wimplicit-int] static printrprec(THREAD *thr, int level, int fno, EXPR *x) ^~~~~~~~~~ qmprint.c:805:8: warning: return type defaults to 'int' [-Wimplicit-int] static print1(THREAD *thr, int level, int fno, EXPR *x) ^~~~~~ qmprint.c:811:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2l(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~~ qmprint.c:819:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2r(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~~ qmprint.c:827:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2n(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~~ qmprint.c:835:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~ qmprint.c:959:8: warning: return type defaults to 'int' [-Wimplicit-int] static print(THREAD *thr, int level, EXPR *x) ^~~~~ qmprint.c:1412:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline printchk(THREAD *thr, int level, EXPR *x) ^~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] static swap(), pushtern(), pushbin(), pushun(), ^~~~ qmparse.y:70:16: warning: type defaults to 'int' in declaration of 'pushtern' [-Wimplicit-int] static swap(), pushtern(), pushbin(), pushun(), ^~~~~~~~ qmparse.y:70:28: warning: type defaults to 'int' in declaration of 'pushbin' [-Wimplicit-int] static swap(), pushtern(), pushbin(), pushun(), ^~~~~~~ qmparse.y:70:39: warning: type defaults to 'int' in declaration of 'pushun' [-Wimplicit-int] static swap(), pushtern(), pushbin(), pushun(), ^~~~~~ qmparse.y:71:3: warning: type defaults to 'int' in declaration of 'pushlist' [-Wimplicit-int] 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] 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] 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] pushgroup(int *n, int *m), ^~~~~~~~~ qmparse.y:73:3: warning: type defaults to 'int' in declaration of 'savepos' [-Wimplicit-int] savepos(), clean(); ^~~~~~~ qmparse.y:73:14: warning: type defaults to 'int' in declaration of 'clean' [-Wimplicit-int] savepos(), clean(); ^~~~~ qmparse.y:74:8: warning: type defaults to 'int' in declaration of 'init_stats' [-Wimplicit-int] static init_stats(), fini_stats(), print_stats(); ^~~~~~~~~~ qmparse.y:74:22: warning: type defaults to 'int' in declaration of 'fini_stats' [-Wimplicit-int] static init_stats(), fini_stats(), print_stats(); ^~~~~~~~~~ qmparse.y:74:36: warning: type defaults to 'int' in declaration of 'print_stats' [-Wimplicit-int] static init_stats(), fini_stats(), print_stats(); ^~~~~~~~~~~ qmparse.y:75:8: warning: type defaults to 'int' in declaration of 'copyright' [-Wimplicit-int] static copyright(), shell(), expression(), ^~~~~~~~~ qmparse.y:75:21: warning: type defaults to 'int' in declaration of 'shell' [-Wimplicit-int] static copyright(), shell(), expression(), ^~~~~ qmparse.y:75:30: warning: type defaults to 'int' in declaration of 'expression' [-Wimplicit-int] static copyright(), shell(), expression(), ^~~~~~~~~~ qmparse.y:76:3: warning: type defaults to 'int' in declaration of 'vardecl' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~ qmparse.y:76:14: warning: type defaults to 'int' in declaration of 'initializer' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~~~~~ qmparse.y:76:29: warning: type defaults to 'int' in declaration of 'assignment' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~~~~ qmparse.y:76:43: warning: type defaults to 'int' in declaration of 'unassignment' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~~~~~~ qmparse.y:77:3: warning: type defaults to 'int' in declaration of 'sethistfile' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~~~ qmparse.y:77:18: warning: type defaults to 'int' in declaration of 'sethistsize' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~~~ qmparse.y:77:33: warning: type defaults to 'int' in declaration of 'help' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~ qmparse.y:77:41: warning: type defaults to 'int' in declaration of 'edit' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~ qmparse.y:77:49: warning: type defaults to 'int' in declaration of 'save_vars' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~ qmparse.y:77:62: warning: type defaults to 'int' in declaration of 'clear_vars' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~~ qmparse.y:78:3: warning: type defaults to 'int' in declaration of 'add_import' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~ qmparse.y:78:17: warning: type defaults to 'int' in declaration of 'del_import' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~ qmparse.y:78:31: warning: type defaults to 'int' in declaration of 'clear_imports' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~~~~ qmparse.y:78:48: warning: type defaults to 'int' in declaration of 'breakpoints' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~~ qmparse.y:78:63: warning: type defaults to 'int' in declaration of 'profile' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~ qmparse.y:79:3: warning: type defaults to 'int' in declaration of 'who' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~ qmparse.y:79:10: warning: type defaults to 'int' in declaration of 'whos' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~ qmparse.y:79:18: warning: type defaults to 'int' in declaration of 'whois' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~ qmparse.y:79:27: warning: type defaults to 'int' in declaration of 'ambiguous' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~~~~~ qmparse.y:79:40: warning: type defaults to 'int' in declaration of 'import_list' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~~~~~~~ qmparse.y:79:55: warning: type defaults to 'int' in declaration of 'modules' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~~~ qmparse.y:80:8: warning: type defaults to 'int' in declaration of 'strparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~ qmparse.y:80:20: warning: type defaults to 'int' in declaration of 'intparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~ qmparse.y:80:32: warning: type defaults to 'int' in declaration of 'boolparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~~ qmparse.y:80:45: warning: type defaults to 'int' in declaration of 'boolstrparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~~~~~ qmparse.y:80:61: warning: type defaults to 'int' in declaration of 'allparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~ qmparse.y:81:3: warning: type defaults to 'int' in declaration of 'strlist' [-Wimplicit-int] strlist(), printstr(); ^~~~~~~ qmparse.y:81:14: warning: type defaults to 'int' in declaration of 'printstr' [-Wimplicit-int] strlist(), printstr(); ^~~~~~~~ qmparse.y:89:8: warning: type defaults to 'int' in declaration of 'histwarn' [-Wimplicit-int] static histwarn(); ^~~~~~~~ qmparse.c: In function 'yyparse': qmparse.c:2019:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] yychar = yylex (); ^~~~~ qmparse.y:423:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("bad C stack size %d, using default\n", i/1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ qmparse.y:444:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("bad stack size %d, using default\n", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:467:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("bad memory size %d, using default\n", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:525:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (res && buf) ^ qmparse.c:4145:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] yyerror (YY_("syntax error")); ^~~~~~~ yyerrok qmparse.y: At top level: qmparse.y:1683:1: warning: return type defaults to 'int' [-Wimplicit-int] yyerror(s) ^~~~~~~ qmparse.y: In function 'u8encode': qmparse.y:1762:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1767:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1769:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1774:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1776:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1778:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmparse.y: At top level: qmparse.y:1898:8: warning: return type defaults to 'int' [-Wimplicit-int] static swap() ^~~~ qmparse.y:1907:8: warning: return type defaults to 'int' [-Wimplicit-int] static rot() ^~~ qmparse.y:1917:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushtern(fno) ^~~~~~~~ qmparse.y:1925:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushbin(fno) ^~~~~~~ qmparse.y:1933:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushun(fno) ^~~~~~ qmparse.y:1940:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushlist(int n, int m) ^~~~~~~~ qmparse.y:1949:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushstream(int n, int m) ^~~~~~~~~~ qmparse.y:1958:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushtuple(int n, int m) ^~~~~~~~~ qmparse.y:1967:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushgroup(int *n, int *m) ^~~~~~~~~ qmparse.y:1983:8: warning: return type defaults to 'int' [-Wimplicit-int] static init_stats() ^~~~~~~~~~ qmparse.y:1992:8: warning: return type defaults to 'int' [-Wimplicit-int] static fini_stats() ^~~~~~~~~~ qmparse.y:1999:8: warning: return type defaults to 'int' [-Wimplicit-int] static print_stats(all) ^~~~~~~~~~~ qmparse.y:2046:8: warning: return type defaults to 'int' [-Wimplicit-int] 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] if (tok && *tok && p-q >= l) ^ qmparse.y:2065:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (p > q && (p[-1] != '"' || p > q+1 && p[-2] == '\\')) --p; ~~~~~~~~^~~~~~~~~~~~~~~~ qmparse.y:2049:43: warning: unused variable 't' [-Wunused-variable] 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] static savepos() ^~~~~~~ qmparse.y:2140:8: warning: return type defaults to 'int' [-Wimplicit-int] static clean() ^~~~~ qmparse.y:2168:8: warning: return type defaults to 'int' [-Wimplicit-int] static expression() ^~~~~~~~~~ qmparse.y:2190:8: warning: return type defaults to 'int' [-Wimplicit-int] static assignment() ^~~~~~~~~~ qmparse.y:2209:8: warning: return type defaults to 'int' [-Wimplicit-int] static unassignment(int id) ^~~~~~~~~~~~ qmparse.y:2218:8: warning: return type defaults to 'int' [-Wimplicit-int] static vardecl(int id) ^~~~~~~ qmparse.y:2239:8: warning: return type defaults to 'int' [-Wimplicit-int] static initializer() ^~~~~~~~~~~ qmparse.y:2259:8: warning: return type defaults to 'int' [-Wimplicit-int] static printstr(s) ^~~~~~~~ qmparse.y:2265:8: warning: return type defaults to 'int' [-Wimplicit-int] static strparam(a, s) ^~~~~~~~ qmparse.y:2281:8: warning: return type defaults to 'int' [-Wimplicit-int] static intparam(a, i) ^~~~~~~~ qmparse.y:2298:8: warning: return type defaults to 'int' [-Wimplicit-int] static boolparam(a, b) ^~~~~~~~~ qmparse.y: In function 'boolparam': qmparse.y:2302:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (res) ^ qmparse.y: At top level: qmparse.y:2315:8: warning: return type defaults to 'int' [-Wimplicit-int] static boolstrparam(a, b, s) ^~~~~~~~~~~~ qmparse.y: In function 'boolstrparam': qmparse.y:2320:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (res) ^ qmparse.y: At top level: qmparse.y:2331:8: warning: return type defaults to 'int' [-Wimplicit-int] static allparam(a) ^~~~~~~~ qmparse.y:2344:8: warning: return type defaults to 'int' [-Wimplicit-int] static copyright() ^~~~~~~~~ qmparse.y:2355:8: warning: return type defaults to 'int' [-Wimplicit-int] static shell() ^~~~~ In file included from sys.h:38:0, 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] #define getln __qq__getln ^ qmparse.y:2359:5: note: in expansion of macro 'getln' getln(shell_command); ^~~~~ qmparse.y: At top level: qmparse.y:2371:8: warning: return type defaults to 'int' [-Wimplicit-int] static histwarn() ^~~~~~~~ qmparse.y: In function 'histwarn': qmparse.y:2373:10: warning: type defaults to 'int' in declaration of 'done' [-Wimplicit-int] static done = 0; ^~~~ qmparse.y:2375:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2371:8: note: declared here static histwarn() ^~~~~~~~ qmparse.y: At top level: qmparse.y:2385:8: warning: return type defaults to 'int' [-Wimplicit-int] static sethistfile(s) ^~~~~~~~~~~ qmparse.y:2409:8: warning: return type defaults to 'int' [-Wimplicit-int] static sethistsize(i) ^~~~~~~~~~~ qmparse.y:2421:8: warning: return type defaults to 'int' [-Wimplicit-int] static help(s) ^~~~ qmparse.y:2451:8: warning: return type defaults to 'int' [-Wimplicit-int] static edit(s) ^~~~ qmparse.y:2480:8: warning: return type defaults to 'int' [-Wimplicit-int] static save_vars(s) ^~~~~~~~~ qmparse.y:2540:8: warning: return type defaults to 'int' [-Wimplicit-int] static clear_vars() ^~~~~~~~~~ qmparse.y:2554:1: warning: return type defaults to 'int' [-Wimplicit-int] search_import(m) ^~~~~~~~~~~~~ qmparse.y:2568:1: warning: return type defaults to 'int' [-Wimplicit-int] add_import(s) ^~~~~~~~~~ qmparse.y:2615:1: warning: return type defaults to 'int' [-Wimplicit-int] del_import(s) ^~~~~~~~~~ qmparse.y: In function 'del_import': qmparse.y:2636:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (mno == NONE || pos == NONE && mno != mainno) { qmparse.y: At top level: qmparse.y:2657:1: warning: return type defaults to 'int' [-Wimplicit-int] clear_imports() ^~~~~~~~~~~~~ qmparse.y:2670:1: warning: return type defaults to 'int' [-Wimplicit-int] modcmp(v1, v2) ^~~~~~ qmparse.y:2677:1: warning: return type defaults to 'int' [-Wimplicit-int] print_modlist() ^~~~~~~~~~~~~ qmparse.y: In function 'print_modlist': qmparse.y:2681:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2677:1: note: declared here print_modlist() ^~~~~~~~~~~~~ qmparse.y:2684:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2677:1: note: declared here print_modlist() ^~~~~~~~~~~~~ qmparse.y:2694:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qmparse.y: At top level: qmparse.y:2715:8: warning: return type defaults to 'int' [-Wimplicit-int] static modules() ^~~~~~~ qmparse.y:2725:1: warning: return type defaults to 'int' [-Wimplicit-int] print_implist() ^~~~~~~~~~~~~ qmparse.y: In function 'print_implist': qmparse.y:2733:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2725:1: note: declared here print_implist() ^~~~~~~~~~~~~ qmparse.y:2736:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2725:1: note: declared here print_implist() ^~~~~~~~~~~~~ qmparse.y:2747:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qmparse.y: At top level: qmparse.y:2767:8: warning: return type defaults to 'int' [-Wimplicit-int] static import_list() ^~~~~~~~~~~ qmparse.y:2777:1: warning: return type defaults to 'int' [-Wimplicit-int] idcmp(v1, v2) ^~~~~ qmparse.y:2789:1: warning: return type defaults to 'int' [-Wimplicit-int] print_varlist(int all) ^~~~~~~~~~~~~ qmparse.y: In function 'print_varlist': qmparse.y:2799:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2789:1: note: declared here print_varlist(int all) ^~~~~~~~~~~~~ qmparse.y:2802:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2789:1: note: declared here print_varlist(int all) ^~~~~~~~~~~~~ qmparse.y:2811:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ In file included from sys.h:38:0, 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] #define print_breakpoints __qq__print_breakpoints ^ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' print_breakpoints() ^~~~~~~~~~~~~~~~~ qmparse.y: In function '__qq__print_breakpoints': qmparse.y:2837:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here #define print_breakpoints __qq__print_breakpoints ^ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' print_breakpoints() ^~~~~~~~~~~~~~~~~ qmparse.y:2840:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here #define print_breakpoints __qq__print_breakpoints ^ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' print_breakpoints() ^~~~~~~~~~~~~~~~~ qmparse.y:2849:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qmparse.y: At top level: qmparse.y:2867:8: warning: return type defaults to 'int' [-Wimplicit-int] static breakpoints() ^~~~~~~~~~~ qmparse.y:2875:1: warning: return type defaults to 'int' [-Wimplicit-int] profcmp(v1, v2) ^~~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: warning: return type defaults to 'int' [-Wimplicit-int] #define print_profile __qq__print_profile ^ qmparse.y:2891:1: note: in expansion of macro 'print_profile' print_profile() ^~~~~~~~~~~~~ qmparse.y: In function '__qq__print_profile': qmparse.y:2899:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here #define print_profile __qq__print_profile ^ qmparse.y:2891:1: note: in expansion of macro 'print_profile' print_profile() ^~~~~~~~~~~~~ qmparse.y:2902:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here #define print_profile __qq__print_profile ^ qmparse.y:2891:1: note: in expansion of macro 'print_profile' print_profile() ^~~~~~~~~~~~~ qmparse.y:2909:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 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] static profile() ^~~~~~~ qmparse.y:2923:8: warning: return type defaults to 'int' [-Wimplicit-int] static who(int all) ^~~ qmparse.y:2930:8: warning: return type defaults to 'int' [-Wimplicit-int] static whos(int sym) ^~~~ qmparse.y: In function 'whos': qmparse.y:2946:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((flags & VSYM) && !x && !(flags & DCL) || ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ qmparse.y: At top level: qmparse.y:3026:8: warning: return type defaults to 'int' [-Wimplicit-int] static whois(int fno, char *s) ^~~~~ qmparse.y:3061:8: warning: return type defaults to 'int' [-Wimplicit-int] static ambiguous(int fno, char *s) ^~~~~~~~~ qmparse.y:3075:8: warning: return type defaults to 'int' [-Wimplicit-int] static yypush() ^~~~~~ qmparse.y:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] static yypop() ^~~~~ qmparse.y:3103:8: warning: return type defaults to 'int' [-Wimplicit-int] static parse(source, arg, _mode) ^~~~~ In file included from sys.h:38:0, 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] #define skip __qq__skip ^ qmparse.y:3131:64: note: in expansion of macro 'skip' if (yychar && yychar != 10 && (thr > thr0 || !checkbrk)) skip(); ^~~~ qmparse.y:3107:7: warning: unused variable 'c' [-Wunused-variable] int c, actmode; ^ qmparse.y: At top level: qmparse.y:81:3: warning: 'strlist' declared 'static' but never defined [-Wunused-function] 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] 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] 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] system(cmd); ^~~~~~~~~~~ qmparse.y: In function 'sethistfile': qmparse.y:2407:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'sethistsize': qmparse.y:2419:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'print_stats': qmparse.y:2030:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'clear_vars': qmparse.y:2548:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'edit': qmparse.y:2472:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^~~~~~~~~~~ qmparse.y: In function 'printstr': qmparse.y:2263:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'savepos': qmparse.y:2136:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'ambiguous': qmparse.y:3065:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'error_report': qmparse.y:2109:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'yyerror': qmparse.y:1689:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'yypush': qmparse.y:3087:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'yypop': qmparse.y:3099:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.c: In function 'yyparse': qmparse.y:700:13: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] eflag = b; qmparse.y:697:7: note: 'b' was declared here int b; char *s; ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] static bigint(); ^~~~~~ qmlex.l:52:8: warning: type defaults to 'int' in declaration of 'string' [-Wimplicit-int] static string(); ^~~~~~ qmlex.l:53:8: warning: type defaults to 'int' in declaration of 'utf8_qualid' [-Wimplicit-int] static utf8_qualid(); ^~~~~~~~~~~ qmlex.l: In function 'getbuf': qmlex.l:129:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] if (_sflag) ^ In file included from sys.h:38:0, 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] #define skip __qq__skip ^ qmlex.l:218:3: note: in expansion of macro 'skip' ^"#!" { skip(); BEGIN(0); } ^~~~ qmlex.l: At top level: qmlex.l:537:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:542:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l: In function 'addbuf': qmlex.l:547:7: warning: 'return' with no value, in function returning non-void } else ^~~~ qmlex.l:542:8: note: declared here { ^ qmlex.l:544:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 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] { ^ qmlex.l: In function 'u8encode': qmlex.l:636:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:641:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:643:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:648:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:650:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:652:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l: At top level: qmlex.l:682:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:798:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l: In function 'utf8_qualid': qmlex.l:800:17: warning: unused variable 'c' [-Wunused-variable] int ret, ret2; ^ qmlex.l: At top level: qmlex.l:822:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:854:8: warning: return type defaults to 'int' [-Wimplicit-int] mpz_t z; ^~~~~~ qmlex.l:884:1: warning: return type defaults to 'int' [-Wimplicit-int] { ^ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmlex.l:32: mangle.h:160:14: warning: return type defaults to 'int' [-Wimplicit-int] #define peek __qq__peek ^ qmlex.l:889:1: note: in expansion of macro 'peek' { ^ mangle.h:237:14: warning: return type defaults to 'int' [-Wimplicit-int] #define skip __qq__skip ^ qmlex.l:896:1: note: in expansion of macro 'skip' /* skip remainder of input line */ ^~~~ mangle.h:81:15: warning: return type defaults to 'int' [-Wimplicit-int] #define getln __qq__getln ^ qmlex.l:909:1: note: in expansion of macro 'getln' char *s; ^ qmlex.l:944:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:974:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l: In function 'string': qmlex.l:845:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function 'initbuf': qmlex.l:540:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function '__qq__skip': qmlex.l:907:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function '__qq__getln': qmlex.l:929:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function 'lexpop': qmlex.l:1000:1: warning: control reaches end of non-void function [-Wreturn-type] ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c:592:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qbase.c:594:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c:599:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ qbase.c:601:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qbase.c:603:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c: In function 'scanchar': qbase.c:1081:13: warning: unused variable 'r' [-Wunused-variable] char *r; ^ qbase.c: In function '__qq__absolute': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #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' else if (tilde(s)) ^~~~~ qbase.c: In function '__qq__dirprefix': qbase.c:1193:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (!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] #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' if (tilde(s2)) { ^~~~~ qbase.c: In function '__qq__searchlib': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #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' if (tilde(s2)) ^~~~~ qbase.c:1279:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (s[0] == '.') ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c sys.c -fPIC -DPIC -o .libs/libqint_la-sys.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c random.c -fPIC -DPIC -o .libs/libqint_la-random.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c uchar.c -fPIC -DPIC -o .libs/libqint_la-uchar.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c getopt.c -fPIC -DPIC -o .libs/libqint_la-getopt.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c getopt1.c -fPIC -DPIC -o .libs/libqint_la-getopt1.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c getopt1.c -o libqint_la-getopt1.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libqint.la -rpath /usr/lib 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 -lnsl -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,libqint.so.2 -o .libs/libqint.so.2.0.0 .libs/libqint_la-q.o: In function `libmain': /builddir/build/BUILD/q-7.11/src/q.c:2577: 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" ) gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] static unload_dlls(void); ^~~~~~~~~~~ q.c: In function '__qq__exitproc': q.c:61:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ q.c: At top level: q.c:480:8: warning: return type defaults to 'int' [-Wimplicit-int] static comp(x, y) ^~~~ q.c:486:8: warning: return type defaults to 'int' [-Wimplicit-int] 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 if (!fsyms) return; ^~~~~~ q.c:486:8: note: declared here static build_fsym_table() ^~~~~~~~~~~~~~~~ q.c:493:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (('a' <= *base && *base <= 'z' || ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ q.c: At top level: q.c:513:8: warning: return type defaults to 'int' [-Wimplicit-int] 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 if (!vsyms) return; ^~~~~~ q.c:513:8: note: declared here static build_vsym_table() ^~~~~~~~~~~~~~~~ q.c:520:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (('a' <= *base && *base <= 'z' || ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ q.c: At top level: q.c:540:8: warning: return type defaults to 'int' [-Wimplicit-int] static search(table, text, len) ^~~~~~ q.c:550:8: warning: return type defaults to 'int' [-Wimplicit-int] 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 if (!fsyms) return; ^~~~~~ q.c:550:8: note: declared here static clear_fsym_table() ^~~~~~~~~~~~~~~~ q.c: At top level: q.c:560:8: warning: return type defaults to 'int' [-Wimplicit-int] 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 if (!vsyms) return; ^~~~~~ q.c:560:8: note: declared here static clear_vsym_table() ^~~~~~~~~~~~~~~~ q.c: In function 'sym_generator': q.c:603:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (name = csyms[i_csym]) ^~~~ q.c:614:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (name = fsyms[i_fsym]) ^~~~ q.c:625:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (name = vsyms[i_vsym]) ^~~~ q.c: In function 'init_readline': q.c:655:3: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations] 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] if (matches[0]) ^ q.c: In function 'mygetline1': q.c:723:18: warning: unused variable 'last' [-Wunused-variable] static char *last = NULL; ^~~~ q.c:766:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (l = strlen(bufp)) > 0 && bufp[l-1] == '\n') ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ q.c:774:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (buf) ^ q.c:785:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] static contd(); ^~~~~ q.c: In function '__qq__mygetline': q.c:891:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] codeset != NULL && strcmp(codeset, rl_codeset) != 0) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ q.c: At top level: q.c:949:8: warning: return type defaults to 'int' [-Wimplicit-int] static wsarg(char *arg) ^~~~~ q.c:983:8: warning: return type defaults to 'int' [-Wimplicit-int] static qcarg(char *arg) ^~~~~ q.c:995:8: warning: return type defaults to 'int' [-Wimplicit-int] static set_qcarg(int i, char *arg) ^~~~~~~~~ In file included from sys.h:38:0, 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] #define debug_parse_opts __qq__debug_parse_opts ^ q.c:1039:12: note: in expansion of macro 'debug_parse_opts' if (!debug_parse_opts(opts)) { ^~~~~~~~~~~~~~~~ q.c: In function 'get_source_opts': q.c:1292:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ q.c: At top level: q.c:1332:1: warning: return type defaults to 'int' [-Wimplicit-int] spawn(char *prog, char *argv[]) ^~~~~ q.c:1366:8: warning: type defaults to 'int' in declaration of 'resolve' [-Wimplicit-int] static resolve(), init_dlls(); ^~~~~~~ q.c:1366:19: warning: type defaults to 'int' in declaration of 'init_dlls' [-Wimplicit-int] static resolve(), init_dlls(); ^~~~~~~~~ q.c: In function 'dorun': q.c:1381:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] chkfile(searchlib(fname, _source)) && q.c:1383:72: warning: suggest parentheses around '&&' within '||' [-Wparentheses] chkfile(searchlib(fname, strcat(strcpy(fname2, _source), ".q"))) && q.c:1534:33: warning: unused variable 'argv0' [-Wunused-variable] int count = 0; char *const *argv0 = argv; ^~~~~ q.c:1595:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (gflag) ^ q.c:1374:45: warning: unused variable 'msg' [-Wunused-variable] 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] double ip, fp; ^~ q.c: In function '__qq__getmpz_floatexpr': q.c:1757:9: warning: unused variable 'z' [-Wunused-variable] mpz_t z; ^ In file included from sys.h:38:0, 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] #define qmsentinel __qq__qmsentinel ^ q.c:1782:3: note: in expansion of macro 'qmsentinel' 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] extern __libq_init(); ^~~~~~~~~~~ q.c:1849:8: warning: return type defaults to 'int' [-Wimplicit-int] static resolve() ^~~~~~~ q.c:1975:8: warning: return type defaults to 'int' [-Wimplicit-int] static init_dlls() ^~~~~~~~~ q.c:1985:8: warning: return type defaults to 'int' [-Wimplicit-int] static unload_dlls() ^~~~~~~~~~~ q.c:2008:8: warning: return type defaults to 'int' [-Wimplicit-int] static gnuclient(char *sexp) ^~~~~~~~~ q.c:2121:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ q.c: In function 'main': q.c:2200:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (chkfile(searchlib(fname, source)) && In file included from sys.h:38:0, 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] #define acquire_input __qq__acquire_input ^ q.c:2452:5: note: in expansion of macro 'acquire_input' acquire_input(); ^~~~~~~~~~~~~ mangle.h:220:23: warning: implicit declaration of function '__qq__release_input'; did you mean '__qq__release_tty'? [-Wimplicit-function-declaration] #define release_input __qq__release_input ^ q.c:2457:7: note: in expansion of macro 'release_input' release_input(); ^~~~~~~~~~~~~ q.c: In function 'unload_dlls': q.c:2004:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'mygetline1': q.c:795:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'qcarg': q.c:993:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'set_qcarg': q.c:1005:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'init_dlls': q.c:1983:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ q.c: In function 'gnuclient': q.c:2016:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: q.c:723:18: warning: 'last' defined but not used [-Wunused-variable] static char *last = NULL; ^~~~ q.c:949:8: warning: 'wsarg' defined but not used [-Wunused-function] 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] while (nargs-- > 1) In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from q.c:26: mangle.h:147:15: note: '__qq__nargs' was declared here #define nargs __qq__nargs ^ q.c:1376:10: note: in expansion of macro 'nargs' int i, nargs; ^~~~~ q.c:1566:23: warning: 'args' may be used uninitialized in this function [-Wmaybe-uninitialized] symtb[ARGSOP].x = args; q.c:1377:9: note: 'args' was declared here EXPR *args, *in, *out, *err; ^~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] 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' if (thr->xst) free(thr->xst); thr->xst = thr->xsp = NULL; ^~~ qm.c:332:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (thr->ast) free(thr->ast); thr->ast = thr->asp = NULL; ^~~ qm.c:333:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (thr->args) free(thr->args); thr->args = NULL; ^~~ qm.c:334:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (thr->mark) free(thr->mark); thr->mark = NULL; ^~~ qm.c:336:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' 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] static initfx(int fno) ^~~~~~ qm.c: In function 'initfx': qm.c:738:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] fno < BUILTIN && funtb[fno] && nargs[fno] == 0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qm.c: In function '__qq__init': qm.c:772:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] if (x = xfreep) { ^ qm.c: In function '__qq__qmfree': qm.c:1226:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (x->type) ^ In file included from sys.h:38:0, 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] #define push __qq__push ^ qm.c:1189:7: note: in expansion of macro 'push' push: ^~~~ qm.c: In function '__qq__usrexpr': qm.c:1649:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (type) ^ qm.c: In function '__qq__consexpr': qm.c:1749:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] if (x = vectexpr(thr, n+1, xv)) { ^ qm.c:2007:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] if (x = funexpr(thr, fno)) { ^ qm.c: In function 'evalb': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2228:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2228:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2239:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2239:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2259:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2259:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2262:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2262:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c:2215:27: warning: unused variable 'rc' [-Wunused-variable] int n, *rp, rc; ^~ qm.c:2215:23: warning: unused variable 'rp' [-Wunused-variable] int n, *rp, rc; ^~ qm.c: At top level: qm.c:2279:8: warning: return type defaults to 'int' [-Wimplicit-int] static evalb_with_frame(THREAD *thr, ^~~~~~~~~~~~~~~~ qm.c: In function 'evalb_with_frame': qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2297:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2297:9: note: in expansion of macro 'have_fun' if (have_fun(x->fno, x->type, n)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2311:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2311:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, x->fno, x->type, argc)) { ^~~~~~~~ qm.c:2204:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && nargs[fno] == n || type && fno == USRVALOP && \ qm.c:2334:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2203:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define have_fun(fno,type,n) fno < BUILTIN && \ ^ qm.c:2334:14: note: in expansion of macro 'have_fun' else if (have_fun(fno, 0, 0)) { ^~~~~~~~ qm.c:2209:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (funtb[fno] != NULL && (*funtb[fno]) (thr) || type && fno == USRVALOP && \ qm.c:2340:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c:2208:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define exec_fun(thr,fno,type,argc) fno < BUILTIN && \ ^ qm.c:2340:11: note: in expansion of macro 'exec_fun' if (exec_fun(thr, fno, 0, 0)) { ^~~~~~~~ qm.c: In function 'eval_internal': qm.c:3569:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!x->red || !x->raw && thr->mode) ~~~~~~~~^~~~~~~~~~~~ qm.c: In function '__qq__eval': qm.c:3655:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] cstackmax > 0 && stack_dir*(&base - thr->baseptr) >= cstackmax) { In file included from sys.h:38:0, 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] #define print_breakpoints __qq__print_breakpoints ^ qm.c:4052:8: note: in expansion of macro 'print_breakpoints' 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=] printf("%3d> ", thr->asp-thr->ast-base); ~~^ ~~~~~~~~~~~~~~~~~~~~~~ %3ld qm.c:4249:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%3d> ", thr->asp-thr->ast-base); ~~^ ~~~~~~~~~~~~~~~~~~~~~~ %3ld qm.c:4275:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free) out of %d\n", ~^ %ld qm.c:4275:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free) out of %d\n", ~^ %ld qm.c:4278:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free)\n", ~^ %ld qm.c:4278:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] printf("heap: %d cells (%d used, %d free)\n", ~^ %ld qm.c: At top level: qm.c:4475:1: warning: return type defaults to 'int' [-Wimplicit-int] varcmp(v1, v2) ^~~~~~ qm.c: In function 'listvars': qm.c:4506:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qm.c: In function 'lastoffs': qm.c:4902:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ip->opcode == MATCHOP) ^ qm.c: In function 'printc': qm.c:4914:17: warning: unused variable 'maxoffs' [-Wunused-variable] 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] if (matchsym(fno, s) && ^ qm.c: In function '__qq__getsym': qm.c:5311:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (matchsym(fno, s) && ^ qm.c: In function '__qq__gettype': qm.c:5368:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (matchtyp(type, s) && ^ qm.c: At top level: qm.c:86:14: warning: 'x_copy' declared 'static' but never defined [-Wunused-function] static EXPR *x_copy(EXPR *x); ^~~~~~ qm.c:87:13: warning: 'xcopy_cleanup' declared 'static' but never defined [-Wunused-function] static void xcopy_cleanup(void); ^~~~~~~~~~~~~ qm.c: In function 'initfx': qm.c:748:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: qm.c:4588:12: warning: 'getvar' defined but not used [-Wunused-function] 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] else if (impib[p] & 2) ^ qm.c:5299:35: note: 'p1' was declared here int fno, fno1 = NONE, p = NONE, p1; ^~ qm.c: In function 'evalu': qm.c:3686:7: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized] res = eval(thr, x); ~~~~^~~~~~~~~~~~~~ qm.c:3134:13: note: 'h' was declared here EXPR *h, *x; ^ qm.c:3143:13: warning: 'xp' may be used uninitialized in this function [-Wmaybe-uninitialized] 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] if (thr->mode && thr->xsp-thr->xst-1 == start) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sys.h:38:0, 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] #define eval __qq__eval ^~~~~~~~~~ qm.c:3428:11: note: 'h' was declared here EXPR *h, *x = NULL; ^ qm.c:3433:11: warning: 'xp' may be used uninitialized in this function [-Wmaybe-uninitialized] 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] 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] else if (impib[p] & 2) ^ qm.c:5356:37: note: 'p1' was declared here int type, type1 = NONE, p = NONE, p1; ^~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] 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] 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] fread(&mainno, sizeof mainno, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:66:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&codespsz, sizeof codespsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:67:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&strspsz, sizeof strspsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:68:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&limbspsz, sizeof limbspsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:69:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&hashtbsz, sizeof hashtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:70:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&symtbsz, sizeof symtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:71:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&statetbsz, sizeof statetbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:72:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&transtbsz, sizeof transtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:73:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&roffstbsz, sizeof roffstbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:74:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&matchtbsz, sizeof matchtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:75:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&inittbsz, sizeof inittbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:76:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&modtbsz, sizeof modtbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:77:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&imptbsz, sizeof imptbsz, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:137:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(codesp, sizeof(OPREC), codespsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:138:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(strsp, sizeof(char), strspsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:139:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 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] fread(hashtb, sizeof(int), hashtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:141:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(symtb, sizeof(SYMREC), symtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:142:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(statetb, sizeof(STATEREC), statetbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:143:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(transtb, sizeof(TRANSREC), transtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:144:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(roffstb, sizeof(int), roffstbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:145:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(matchtb, sizeof(int), matchtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:146:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(inittb, sizeof(int), inittbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:147:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(modtb, sizeof(int), modtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:148:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(fnametb, sizeof(int), modtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:149:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(imports, sizeof(int), modtbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:150:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(imptb, sizeof(int), imptbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmcode.c:151:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(impib, sizeof(byte), imptbsz, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] char *t = s, *s0 = s; ^~ qmfuns.c: In function 'u8encode': qmfuns.c:454:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:459:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:461:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:466:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:468:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c:470:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmfuns.c: At top level: qmfuns.c:878:1: warning: return type defaults to 'int' [-Wimplicit-int] xeq(THREAD *thr, EXPR *x, EXPR *y) ^~~ qmfuns.c: In function 'xeq': qmfuns.c:904:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] xeqchk(THREAD *thr, EXPR *x, EXPR *y) ^~~~~~ qmfuns.c:1002:1: warning: return type defaults to 'int' [-Wimplicit-int] add_vtb(THREAD *thr, int fno, EXPR *x) ^~~~~~~ qmfuns.c:1045:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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] qmdef(THREAD* thr) ^~~~~ qmfuns.c:1191:1: warning: return type defaults to 'int' [-Wimplicit-int] qmundef(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'xlpat': qmfuns.c:1285:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] if (x != t) ^ qmfuns.c: In function 'xlbody': qmfuns.c:1447:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (y1 = xlbody(thr, x1, key, env)) ^~ qmfuns.c: At top level: qmfuns.c:1532:1: warning: return type defaults to 'int' [-Wimplicit-int] xlmatch(THREAD *thr, EXPRL **xvars, int mode, int vmode, ^~~~~~~ qmfuns.c: In function 'xlmatch': qmfuns.c:1658:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] if (y1 = xlrepl(thr, x1, key, xenv)) ^~ qmfuns.c: At top level: qmfuns.c:1945:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmlambda(THREAD* thr) ^~~~~~~~ qmfuns.c: In function 'qmlambda': qmfuns.c:1984:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (x) ^ qmfuns.c: At top level: qmfuns.c:2005:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmlambda_app(THREAD* thr) ^~~~~~~~~~~~ qmfuns.c:2114:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] if (y1 = consexpr(thr, APPOP, f, y1)) ^~ qmfuns.c:2200:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (y1 = xclosview(thr, x1, vtb, env)) ^~ qmfuns.c: At top level: qmfuns.c:2246:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmview(THREAD *thr) ^~~~~~ qmfuns.c:2271:1: warning: return type defaults to 'int' [-Wimplicit-int] strconcat(THREAD *thr, char *s1, char *s2) ^~~~~~~~~ qmfuns.c:2285:1: warning: return type defaults to 'int' [-Wimplicit-int] listconcat(THREAD *thr, EXPR *x1, EXPR *x2) ^~~~~~~~~~ qmfuns.c:2310:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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] tupleconcat(THREAD *thr, EXPR *x1, EXPR *x2) ^~~~~~~~~~~ qmfuns.c:2366:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmconcat(THREAD* thr) ^~~~~~~~ qmfuns.c:2440:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmadd(THREAD* thr) ^~~~~ qmfuns.c:2506:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmin(THREAD* thr) ^~~~~ qmfuns.c:2583:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmul(THREAD* thr) ^~~~~ qmfuns.c:2617:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfdiv(THREAD* thr) ^~~~~~ qmfuns.c:2649:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmdiv(THREAD* thr) ^~~~~ qmfuns.c:2662:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmod(THREAD* thr) ^~~~~ qmfuns.c:2674:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmpow(THREAD* thr) ^~~~~ qmfuns.c: In function 'qmpow': qmfuns.c:2691:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (mpz_sgn(args[0]->data.z) >= 0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modf(args[1]->data.f, &ip) == 0.0) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (mpz_sgn(args[0]->data.z) != 0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ args[1]->data.f != 0.0)) ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c:2715:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (args[0]->data.f >= 0.0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~ modf(args[1]->data.f, &ip) == 0.0) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (args[0]->data.f != 0.0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~ args[1]->data.f != 0.0)) ~~~~~~~~~~~~~~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:2735:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmidx(THREAD* thr) ^~~~~ qmfuns.c:2793:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmcomp(THREAD* thr) ^~~~~~ qmfuns.c:2808:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmumin(THREAD* thr) ^~~~~~ qmfuns.c:2821:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmhash(THREAD* thr) ^~~~~~ qmfuns.c:2861:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmunquote(THREAD* thr) ^~~~~~~~~ qmfuns.c:2882:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmforce(THREAD* thr) ^~~~~~~ qmfuns.c:2888:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmmem(THREAD* thr) ^~~~~ qmfuns.c:2896:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmor(THREAD* thr) ^~~~ qmfuns.c:2914:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmorelse(THREAD* thr) ^~~~~~~~ qmfuns.c:2926:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmand(THREAD* thr) ^~~~~ qmfuns.c:2944:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmandthen(THREAD* thr) ^~~~~~~~~ qmfuns.c:2956:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmnot(THREAD* thr) ^~~~~ qmfuns.c:2972:1: warning: return type defaults to 'int' [-Wimplicit-int] xcmp(EXPR *x, EXPR *y, int *result) ^~~~ qmfuns.c:3041:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmle(THREAD* thr) ^~~~ qmfuns.c:3057:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmgr(THREAD* thr) ^~~~ qmfuns.c:3073:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmeq(THREAD* thr) ^~~~ qmfuns.c:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmleq(THREAD* thr) ^~~~~ qmfuns.c:3105:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmgeq(THREAD* thr) ^~~~~ qmfuns.c:3121:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmneq(THREAD* thr) ^~~~~ qmfuns.c:3137:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmid(THREAD* thr) ^~~~ qmfuns.c:3146:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmrapp(THREAD* thr) ^~~~~~ qmfuns.c:3161:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmseq(THREAD* thr) ^~~~~ qmfuns.c:3167:8: warning: return type defaults to 'int' [-Wimplicit-int] static shl(THREAD *thr, mpz_t z, int i) ^~~ qmfuns.c:3199:8: warning: return type defaults to 'int' [-Wimplicit-int] static shr(THREAD *thr, mpz_t z, int i) ^~~ qmfuns.c:3224:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmshl(THREAD* thr) ^~~~~ qmfuns.c:3251:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmshr(THREAD* thr) ^~~~~ qmfuns.c:3278:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmpred(THREAD* thr) ^~~~~~ qmfuns.c:3303:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsucc(THREAD* thr) ^~~~~~ qmfuns.c:3328:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmenum(THREAD* thr) ^~~~~~ qmfuns.c:3487:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmenum1(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmenum1': qmfuns.c:3511:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] n > 1 && t0 != t1) ~~~~~~^~~~~~~~~~~ qmfuns.c: At top level: qmfuns.c:3541:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmexp(THREAD* thr) ^~~~~ qmfuns.c:3554:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmln(THREAD* thr) ^~~~ qmfuns.c:3574:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsqrt(THREAD* thr) ^~~~~~ qmfuns.c:3593:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsin(THREAD* thr) ^~~~~ qmfuns.c:3606:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmcos(THREAD* thr) ^~~~~ qmfuns.c:3619:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmatan(THREAD* thr) ^~~~~~ qmfuns.c:3632:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmatan2(THREAD* thr) ^~~~~~~ qmfuns.c:3663:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmrandom(THREAD* thr) ^~~~~~~~ qmfuns.c: In function 'qmrandom': qmfuns.c:3665:10: warning: unused variable 'args' [-Wunused-variable] EXPR **args = thr->args; ^~~~ qmfuns.c: At top level: qmfuns.c:3677:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmseed(THREAD* thr) ^~~~~~ qmfuns.c:3687:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsub(THREAD* thr) ^~~~~ qmfuns.c: In function 'qmsub': qmfuns.c:3695:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' 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] static qmsubstr(THREAD* thr) ^~~~~~~~ qmfuns.c:3852:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmpos(THREAD* thr) ^~~~~ qmfuns.c:3872:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmint(THREAD* thr) ^~~~~ qmfuns.c: In function 'qmint': qmfuns.c:3876:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] double ip, fp; ^~ qmfuns.c: At top level: qmfuns.c:3885:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfrac(THREAD* thr) ^~~~~~ qmfuns.c:3898:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtrunc(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmtrunc': qmfuns.c:3902:16: warning: variable 'fp' set but not used [-Wunused-but-set-variable] double ip, fp, dsz; ^~ qmfuns.c: At top level: qmfuns.c:3919:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmround(THREAD* thr) ^~~~~~~ qmfuns.c:3938:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfloat(THREAD* thr) ^~~~~~~ qmfuns.c:4025:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmhashnum(THREAD* thr) ^~~~~~~~~ qmfuns.c:4031:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmord(THREAD* thr) ^~~~~ qmfuns.c:4046:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmchr(THREAD* thr) ^~~~~ qmfuns.c:4073:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmlist(THREAD* thr) ^~~~~~ qmfuns.c:4092:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtuple(THREAD* thr) ^~~~~~~ qmfuns.c:4114:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmstr(THREAD* thr) ^~~~~ qmfuns.c:4125:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmval(THREAD* thr) ^~~~~ qmfuns.c:4145:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmstrq(THREAD* thr) ^~~~~~ qmfuns.c:4160:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmvalq(THREAD* thr) ^~~~~~ qmfuns.c:4181:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisspecial(THREAD* thr) ^~~~~~~~~~~ qmfuns.c:4192:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisconst(THREAD* thr) ^~~~~~~~~ qmfuns.c:4203:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisfun(THREAD* thr) ^~~~~~~ qmfuns.c:4212:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisvar(THREAD* thr) ^~~~~~~ qmfuns.c:4221:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmisdef(THREAD* thr) ^~~~~~~ qmfuns.c:4230:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmflip(THREAD* thr) ^~~~~~ qmfuns.c:4246:8: warning: type defaults to 'int' in declaration of 'qmfread' [-Wimplicit-int] static qmfread(THREAD* thr); ^~~~~~~ qmfuns.c:4248:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmread(THREAD* thr) ^~~~~~ qmfuns.c:4258:8: warning: type defaults to 'int' in declaration of 'qmfreadq' [-Wimplicit-int] static qmfreadq(THREAD* thr); ^~~~~~~~ qmfuns.c:4260:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmreadq(THREAD* thr) ^~~~~~~ qmfuns.c:4270:8: warning: type defaults to 'int' in declaration of 'qmfreadc' [-Wimplicit-int] static qmfreadc(THREAD* thr); ^~~~~~~~ qmfuns.c:4272:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmreadc(THREAD* thr) ^~~~~~~ qmfuns.c:4282:8: warning: type defaults to 'int' in declaration of 'qmfreads' [-Wimplicit-int] static qmfreads(THREAD* thr); ^~~~~~~~ qmfuns.c:4284:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmreads(THREAD* thr) ^~~~~~~ qmfuns.c:4294:8: warning: type defaults to 'int' in declaration of 'qmfwrite' [-Wimplicit-int] static qmfwrite(THREAD* thr); ^~~~~~~~ qmfuns.c:4296:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwrite(THREAD* thr) ^~~~~~~ qmfuns.c:4307:8: warning: type defaults to 'int' in declaration of 'qmfwriteq' [-Wimplicit-int] static qmfwriteq(THREAD* thr); ^~~~~~~~~ qmfuns.c:4309:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwriteq(THREAD* thr) ^~~~~~~~ qmfuns.c:4320:8: warning: type defaults to 'int' in declaration of 'qmfwritec' [-Wimplicit-int] static qmfwritec(THREAD* thr); ^~~~~~~~~ qmfuns.c:4322:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwritec(THREAD* thr) ^~~~~~~~ qmfuns.c:4333:8: warning: type defaults to 'int' in declaration of 'qmfwrites' [-Wimplicit-int] static qmfwrites(THREAD* thr); ^~~~~~~~~ qmfuns.c:4335:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwrites(THREAD* thr) ^~~~~~~~ qmfuns.c:4346:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfread(THREAD* thr) ^~~~~~~ qmfuns.c:4378:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfreadq(THREAD* thr) ^~~~~~~~ qmfuns.c:4414:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfreadc(THREAD* thr) ^~~~~~~~ qmfuns.c:4473:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfreads(THREAD* thr) ^~~~~~~~ qmfuns.c: In function 'qmfreads': qmfuns.c:4498:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s1 = (char*) arealloc(s, a, MAXSTRLEN, ^~ qmfuns.c:4530:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!r && !*s || thr == thr0 && checkbrk) { ~~~^~~~~~ qmfuns.c: At top level: qmfuns.c:4568:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwrite(THREAD* thr) ^~~~~~~~ qmfuns.c:4591:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwriteq(THREAD* thr) ^~~~~~~~~ qmfuns.c:4615:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwritec(THREAD* thr) ^~~~~~~~~ qmfuns.c:4649:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfwrites(THREAD* thr) ^~~~~~~~~ qmfuns.c:4685:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfopen(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmfopen': qmfuns.c:4694:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] static qmpopen(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmpopen': qmfuns.c:4731:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] setlinebuf(fp); ^~~~~~~~~~ setvbuf qmfuns.c: At top level: qmfuns.c:4761:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfclose(THREAD* thr) ^~~~~~~~ qmfuns.c:4796:8: warning: type defaults to 'int' in declaration of 'qmfeof' [-Wimplicit-int] static qmfeof(THREAD* thr); ^~~~~~ qmfuns.c:4798:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmeof(THREAD* thr) ^~~~~ qmfuns.c:4808:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfeof(THREAD* thr) ^~~~~~ qmfuns.c:4847:8: warning: type defaults to 'int' in declaration of 'qmfflush' [-Wimplicit-int] static qmfflush(THREAD* thr); ^~~~~~~~ qmfuns.c:4849:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmflush(THREAD* thr) ^~~~~~~ qmfuns.c:4859:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfflush(THREAD* thr) ^~~~~~~~ qmfuns.c:4874:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmversion(THREAD* thr) ^~~~~~~~~ qmfuns.c:4879:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsysinfo(THREAD* thr) ^~~~~~~~~ qmfuns.c:4884:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmwhich(THREAD* thr) ^~~~~~~ qmfuns.c:4931:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmhalt(THREAD* thr) ^~~~~~ qmfuns.c:4937:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmquit(THREAD* thr) ^~~~~~ qmfuns.c:4943:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmbreak(THREAD* thr) ^~~~~~~ qmfuns.c:4949:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmcatch(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmcatch': qmfuns.c:4957:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] } else if (thr == thr0 && checkbrk || qmfuns.c: At top level: qmfuns.c:4977:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmthrow(THREAD* thr) ^~~~~~~ qmfuns.c:4992:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtrap(THREAD* thr) ^~~~~~ qmfuns.c:5085:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfail(THREAD* thr) ^~~~~~ qmfuns.c:5091:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmfail2(THREAD* thr) ^~~~~~~ qmfuns.c:5097:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmtime(THREAD* thr) ^~~~~~ qmfuns.c:5102:8: warning: return type defaults to 'int' [-Wimplicit-int] static qmsleep(THREAD* thr) ^~~~~~~ qmfuns.c: In function 'qmenum1': qmfuns.c:3511:14: warning: 't1' may be used uninitialized in this function [-Wmaybe-uninitialized] n > 1 && t0 != t1) ~~~^~~~~ qmfuns.c:3514:11: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] inc = x1-x0; ~~~~^~~~~~~ qmfuns.c: In function 'qmenum': qmfuns.c:3460:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] inc = x1-x0; ~~~~^~~~~~~ qmfuns.c:3352:6: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] inc = x1-x0; ~~~~^~~~~~~ qmfuns.c:3352:6: warning: 'x0' may be used uninitialized in this function [-Wmaybe-uninitialized] gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o q-qmmatch.o `test -f 'qmmatch.c' || echo './'`qmmatch.c qmmatch.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] nextstate(int s, int type, int fno) ^~~~~~~~~ qmmatch.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] defaultstate(int s, int type) ^~~~~~~~~~~~ qmmatch.c: In function 'defaultstate': qmmatch.c:85:29: warning: unused variable 'left' [-Wunused-variable] 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] nondefault(int s) ^~~~~~~~~~ qmmatch.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] typedtrans(int s, int type) ^~~~~~~~~~ qmmatch.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] virtual(int s, int type) ^~~~~~~ qmmatch.c:212:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] (s = matchx(thr, s1, mode, 0, x1, &y1)) && ^~ qmmatch.c:318:53: warning: value computed is not used [-Wunused-value] (s = matchx(thr, s1, modes.left, 0, x1, &y1)) && ^~ qmmatch.c:364:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (yv) ^ qmmatch.c: In function '__qq__match': qmmatch.c:416:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:431:47: warning: value computed is not used [-Wunused-value] (s = matchx(thr, s, 1, 0, x[0], &x[0])) && ^~ qmmatch.c:458:56: warning: value computed is not used [-Wunused-value] (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] nostate = statetbsz == 0 || matchtbsz>0 && matchtb[0] == 0; qmmatch.c:530:32: warning: value computed is not used [-Wunused-value] (s = nextstate(s, 0, fno)) && (s = typedtrans(s, type)); ^~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o q-qmprint.o `test -f 'qmprint.c' || echo './'`qmprint.c qmprint.c:207:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline checktmpbuf(void) ^~~~~~~~~~~ qmprint.c:217:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline writetmpbuf(char *s) ^~~~~~~~~~~ qmprint.c:238:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline checklastsym(char *s) ^~~~~~~~~~~~ qmprint.c:246:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline checkmarksym(void) ^~~~~~~~~~~~ qmprint.c:253:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline marksym(int flag) ^~~~~~~ qmprint.c:261:8: warning: return type defaults to 'int' [-Wimplicit-int] static sputstr1(char *s) ^~~~~~~~ qmprint.c: In function 'sputstr1': qmprint.c:268:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (bufp1 = (char*) arealloc(bufp, abufleng, MAXSTRLEN, ^~~~~ qmprint.c: At top level: qmprint.c:282:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline sputstr(char *s) ^~~~~~~ qmprint.c:358:8: warning: return type defaults to 'int' [-Wimplicit-int] static fputstr1(char *s) ^~~~~~~~ qmprint.c:379:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline fputstr(char *s) ^~~~~~~ qmprint.c:454:8: warning: return type defaults to 'int' [-Wimplicit-int] static opprec(int fno) ^~~~~~ qmprint.c:511:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline islsect(EXPR *x) ^~~~~~~ qmprint.c:518:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isrsect(EXPR *x) ^~~~~~~ qmprint.c:528:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isenum(EXPR *x) ^~~~~~ qmprint.c:542:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isenum1(EXPR *x) ^~~~~~~ qmprint.c:555:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline issenum(EXPR *x) ^~~~~~~ qmprint.c:569:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline issenum1(EXPR *x) ^~~~~~~~ qmprint.c:582:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline istenum(EXPR *x) ^~~~~~~ qmprint.c:596:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline istenum1(EXPR *x) ^~~~~~~~ qmprint.c:609:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isstream(EXPR *x) ^~~~~~~~ qmprint.c: In function 'isstream': qmprint.c:612:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] x->fno == APPOP && x->data.args.x1->fno == APPOP && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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] static inline isscons(EXPR *x, EXPR **y, EXPR **z) ^~~~~~~ qmprint.c:627:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline islistof(EXPR *x) ^~~~~~~~ qmprint.c:636:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline istupleof(EXPR *x) ^~~~~~~~~ qmprint.c:645:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isstreamof(EXPR *x) ^~~~~~~~~~ qmprint.c:654:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline islambda(EXPR *x) ^~~~~~~~ qmprint.c:660:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline isifelse(EXPR *x) ^~~~~~~~ qmprint.c:669:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline iswhen(EXPR *x) ^~~~~~ qmprint.c:733:8: warning: return type defaults to 'int' [-Wimplicit-int] static exprprec(THREAD *thr, EXPR *x) ^~~~~~~~ qmprint.c:776:8: warning: type defaults to 'int' in declaration of 'print' [-Wimplicit-int] static print(THREAD *thr, int level, EXPR *x); ^~~~~ qmprint.c:778:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline printparen(THREAD *thr, int level, EXPR *x) ^~~~~~~~~~ qmprint.c:783:8: warning: return type defaults to 'int' [-Wimplicit-int] static printlprec(THREAD *thr, int level, int fno, EXPR *x) ^~~~~~~~~~ qmprint.c:794:8: warning: return type defaults to 'int' [-Wimplicit-int] static printrprec(THREAD *thr, int level, int fno, EXPR *x) ^~~~~~~~~~ qmprint.c:805:8: warning: return type defaults to 'int' [-Wimplicit-int] static print1(THREAD *thr, int level, int fno, EXPR *x) ^~~~~~ qmprint.c:811:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2l(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~~ qmprint.c:819:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2r(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~~ qmprint.c:827:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2n(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~~ qmprint.c:835:8: warning: return type defaults to 'int' [-Wimplicit-int] static print2(THREAD *thr, int level, int fno, EXPR *x, EXPR *y) ^~~~~~ qmprint.c:959:8: warning: return type defaults to 'int' [-Wimplicit-int] static print(THREAD *thr, int level, EXPR *x) ^~~~~ qmprint.c:1412:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline printchk(THREAD *thr, int level, EXPR *x) ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] static swap(), pushtern(), pushbin(), pushun(), ^~~~ qmparse.y:70:16: warning: type defaults to 'int' in declaration of 'pushtern' [-Wimplicit-int] static swap(), pushtern(), pushbin(), pushun(), ^~~~~~~~ qmparse.y:70:28: warning: type defaults to 'int' in declaration of 'pushbin' [-Wimplicit-int] static swap(), pushtern(), pushbin(), pushun(), ^~~~~~~ qmparse.y:70:39: warning: type defaults to 'int' in declaration of 'pushun' [-Wimplicit-int] static swap(), pushtern(), pushbin(), pushun(), ^~~~~~ qmparse.y:71:3: warning: type defaults to 'int' in declaration of 'pushlist' [-Wimplicit-int] 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] 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] 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] pushgroup(int *n, int *m), ^~~~~~~~~ qmparse.y:73:3: warning: type defaults to 'int' in declaration of 'savepos' [-Wimplicit-int] savepos(), clean(); ^~~~~~~ qmparse.y:73:14: warning: type defaults to 'int' in declaration of 'clean' [-Wimplicit-int] savepos(), clean(); ^~~~~ qmparse.y:74:8: warning: type defaults to 'int' in declaration of 'init_stats' [-Wimplicit-int] static init_stats(), fini_stats(), print_stats(); ^~~~~~~~~~ qmparse.y:74:22: warning: type defaults to 'int' in declaration of 'fini_stats' [-Wimplicit-int] static init_stats(), fini_stats(), print_stats(); ^~~~~~~~~~ qmparse.y:74:36: warning: type defaults to 'int' in declaration of 'print_stats' [-Wimplicit-int] static init_stats(), fini_stats(), print_stats(); ^~~~~~~~~~~ qmparse.y:75:8: warning: type defaults to 'int' in declaration of 'copyright' [-Wimplicit-int] static copyright(), shell(), expression(), ^~~~~~~~~ qmparse.y:75:21: warning: type defaults to 'int' in declaration of 'shell' [-Wimplicit-int] static copyright(), shell(), expression(), ^~~~~ qmparse.y:75:30: warning: type defaults to 'int' in declaration of 'expression' [-Wimplicit-int] static copyright(), shell(), expression(), ^~~~~~~~~~ qmparse.y:76:3: warning: type defaults to 'int' in declaration of 'vardecl' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~ qmparse.y:76:14: warning: type defaults to 'int' in declaration of 'initializer' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~~~~~ qmparse.y:76:29: warning: type defaults to 'int' in declaration of 'assignment' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~~~~ qmparse.y:76:43: warning: type defaults to 'int' in declaration of 'unassignment' [-Wimplicit-int] vardecl(), initializer(), assignment(), unassignment(), ^~~~~~~~~~~~ qmparse.y:77:3: warning: type defaults to 'int' in declaration of 'sethistfile' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~~~ qmparse.y:77:18: warning: type defaults to 'int' in declaration of 'sethistsize' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~~~ qmparse.y:77:33: warning: type defaults to 'int' in declaration of 'help' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~ qmparse.y:77:41: warning: type defaults to 'int' in declaration of 'edit' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~ qmparse.y:77:49: warning: type defaults to 'int' in declaration of 'save_vars' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~ qmparse.y:77:62: warning: type defaults to 'int' in declaration of 'clear_vars' [-Wimplicit-int] sethistfile(), sethistsize(), help(), edit(), save_vars(), clear_vars(), ^~~~~~~~~~ qmparse.y:78:3: warning: type defaults to 'int' in declaration of 'add_import' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~ qmparse.y:78:17: warning: type defaults to 'int' in declaration of 'del_import' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~ qmparse.y:78:31: warning: type defaults to 'int' in declaration of 'clear_imports' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~~~~ qmparse.y:78:48: warning: type defaults to 'int' in declaration of 'breakpoints' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~~~~~ qmparse.y:78:63: warning: type defaults to 'int' in declaration of 'profile' [-Wimplicit-int] add_import(), del_import(), clear_imports(), breakpoints(), profile(), ^~~~~~~ qmparse.y:79:3: warning: type defaults to 'int' in declaration of 'who' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~ qmparse.y:79:10: warning: type defaults to 'int' in declaration of 'whos' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~ qmparse.y:79:18: warning: type defaults to 'int' in declaration of 'whois' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~ qmparse.y:79:27: warning: type defaults to 'int' in declaration of 'ambiguous' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~~~~~ qmparse.y:79:40: warning: type defaults to 'int' in declaration of 'import_list' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~~~~~~~ qmparse.y:79:55: warning: type defaults to 'int' in declaration of 'modules' [-Wimplicit-int] who(), whos(), whois(), ambiguous(), import_list(), modules(); ^~~~~~~ qmparse.y:80:8: warning: type defaults to 'int' in declaration of 'strparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~ qmparse.y:80:20: warning: type defaults to 'int' in declaration of 'intparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~ qmparse.y:80:32: warning: type defaults to 'int' in declaration of 'boolparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~~ qmparse.y:80:45: warning: type defaults to 'int' in declaration of 'boolstrparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~~~~~ qmparse.y:80:61: warning: type defaults to 'int' in declaration of 'allparam' [-Wimplicit-int] static strparam(), intparam(), boolparam(), boolstrparam(), allparam(), ^~~~~~~~ qmparse.y:81:3: warning: type defaults to 'int' in declaration of 'strlist' [-Wimplicit-int] strlist(), printstr(); ^~~~~~~ qmparse.y:81:14: warning: type defaults to 'int' in declaration of 'printstr' [-Wimplicit-int] strlist(), printstr(); ^~~~~~~~ qmparse.c: In function 'yyparse': qmparse.c:2019:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] yychar = yylex (); ^~~~~ qmparse.y:423:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("bad C stack size %d, using default\n", i/1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ qmparse.y:444:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("bad stack size %d, using default\n", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:467:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("bad memory size %d, using default\n", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmparse.y:525:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (res && buf) ^ qmparse.c:4145:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] yyerror (YY_("syntax error")); ^~~~~~~ yyerrok qmparse.y: At top level: qmparse.y:1683:1: warning: return type defaults to 'int' [-Wimplicit-int] yyerror(s) ^~~~~~~ qmparse.y: In function 'u8encode': qmparse.y:1762:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1767:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1769:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1774:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1776:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qmparse.y:1778:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qmparse.y: At top level: qmparse.y:1898:8: warning: return type defaults to 'int' [-Wimplicit-int] static swap() ^~~~ qmparse.y:1907:8: warning: return type defaults to 'int' [-Wimplicit-int] static rot() ^~~ qmparse.y:1917:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushtern(fno) ^~~~~~~~ qmparse.y:1925:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushbin(fno) ^~~~~~~ qmparse.y:1933:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushun(fno) ^~~~~~ qmparse.y:1940:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushlist(int n, int m) ^~~~~~~~ qmparse.y:1949:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushstream(int n, int m) ^~~~~~~~~~ qmparse.y:1958:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushtuple(int n, int m) ^~~~~~~~~ qmparse.y:1967:8: warning: return type defaults to 'int' [-Wimplicit-int] static pushgroup(int *n, int *m) ^~~~~~~~~ qmparse.y:1983:8: warning: return type defaults to 'int' [-Wimplicit-int] static init_stats() ^~~~~~~~~~ qmparse.y:1992:8: warning: return type defaults to 'int' [-Wimplicit-int] static fini_stats() ^~~~~~~~~~ qmparse.y:1999:8: warning: return type defaults to 'int' [-Wimplicit-int] static print_stats(all) ^~~~~~~~~~~ qmparse.y:2046:8: warning: return type defaults to 'int' [-Wimplicit-int] 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] if (tok && *tok && p-q >= l) ^ qmparse.y:2065:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (p > q && (p[-1] != '"' || p > q+1 && p[-2] == '\\')) --p; ~~~~~~~~^~~~~~~~~~~~~~~~ qmparse.y:2049:43: warning: unused variable 't' [-Wunused-variable] 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] static savepos() ^~~~~~~ qmparse.y:2140:8: warning: return type defaults to 'int' [-Wimplicit-int] static clean() ^~~~~ qmparse.y:2168:8: warning: return type defaults to 'int' [-Wimplicit-int] static expression() ^~~~~~~~~~ qmparse.y:2190:8: warning: return type defaults to 'int' [-Wimplicit-int] static assignment() ^~~~~~~~~~ qmparse.y:2209:8: warning: return type defaults to 'int' [-Wimplicit-int] static unassignment(int id) ^~~~~~~~~~~~ qmparse.y:2218:8: warning: return type defaults to 'int' [-Wimplicit-int] static vardecl(int id) ^~~~~~~ qmparse.y:2239:8: warning: return type defaults to 'int' [-Wimplicit-int] static initializer() ^~~~~~~~~~~ qmparse.y:2259:8: warning: return type defaults to 'int' [-Wimplicit-int] static printstr(s) ^~~~~~~~ qmparse.y:2265:8: warning: return type defaults to 'int' [-Wimplicit-int] static strparam(a, s) ^~~~~~~~ qmparse.y:2281:8: warning: return type defaults to 'int' [-Wimplicit-int] static intparam(a, i) ^~~~~~~~ qmparse.y:2298:8: warning: return type defaults to 'int' [-Wimplicit-int] static boolparam(a, b) ^~~~~~~~~ qmparse.y: In function 'boolparam': qmparse.y:2302:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (res) ^ qmparse.y: At top level: qmparse.y:2315:8: warning: return type defaults to 'int' [-Wimplicit-int] static boolstrparam(a, b, s) ^~~~~~~~~~~~ qmparse.y: In function 'boolstrparam': qmparse.y:2320:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (res) ^ qmparse.y: At top level: qmparse.y:2331:8: warning: return type defaults to 'int' [-Wimplicit-int] static allparam(a) ^~~~~~~~ qmparse.y:2344:8: warning: return type defaults to 'int' [-Wimplicit-int] static copyright() ^~~~~~~~~ qmparse.y:2355:8: warning: return type defaults to 'int' [-Wimplicit-int] static shell() ^~~~~ In file included from sys.h:38:0, 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] #define getln __qq__getln ^ qmparse.y:2359:5: note: in expansion of macro 'getln' getln(shell_command); ^~~~~ qmparse.y: At top level: qmparse.y:2385:8: warning: return type defaults to 'int' [-Wimplicit-int] static sethistfile(s) ^~~~~~~~~~~ qmparse.y:2409:8: warning: return type defaults to 'int' [-Wimplicit-int] static sethistsize(i) ^~~~~~~~~~~ qmparse.y:2421:8: warning: return type defaults to 'int' [-Wimplicit-int] static help(s) ^~~~ qmparse.y:2451:8: warning: return type defaults to 'int' [-Wimplicit-int] static edit(s) ^~~~ qmparse.y:2480:8: warning: return type defaults to 'int' [-Wimplicit-int] static save_vars(s) ^~~~~~~~~ qmparse.y:2540:8: warning: return type defaults to 'int' [-Wimplicit-int] static clear_vars() ^~~~~~~~~~ qmparse.y:2554:1: warning: return type defaults to 'int' [-Wimplicit-int] search_import(m) ^~~~~~~~~~~~~ qmparse.y:2568:1: warning: return type defaults to 'int' [-Wimplicit-int] add_import(s) ^~~~~~~~~~ qmparse.y:2615:1: warning: return type defaults to 'int' [-Wimplicit-int] del_import(s) ^~~~~~~~~~ qmparse.y: In function 'del_import': qmparse.y:2636:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (mno == NONE || pos == NONE && mno != mainno) { qmparse.y: At top level: qmparse.y:2657:1: warning: return type defaults to 'int' [-Wimplicit-int] clear_imports() ^~~~~~~~~~~~~ qmparse.y:2670:1: warning: return type defaults to 'int' [-Wimplicit-int] modcmp(v1, v2) ^~~~~~ qmparse.y:2677:1: warning: return type defaults to 'int' [-Wimplicit-int] print_modlist() ^~~~~~~~~~~~~ qmparse.y: In function 'print_modlist': qmparse.y:2681:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2677:1: note: declared here print_modlist() ^~~~~~~~~~~~~ qmparse.y:2684:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2677:1: note: declared here print_modlist() ^~~~~~~~~~~~~ qmparse.y:2694:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qmparse.y: At top level: qmparse.y:2715:8: warning: return type defaults to 'int' [-Wimplicit-int] static modules() ^~~~~~~ qmparse.y:2725:1: warning: return type defaults to 'int' [-Wimplicit-int] print_implist() ^~~~~~~~~~~~~ qmparse.y: In function 'print_implist': qmparse.y:2733:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2725:1: note: declared here print_implist() ^~~~~~~~~~~~~ qmparse.y:2736:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2725:1: note: declared here print_implist() ^~~~~~~~~~~~~ qmparse.y:2747:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qmparse.y: At top level: qmparse.y:2767:8: warning: return type defaults to 'int' [-Wimplicit-int] static import_list() ^~~~~~~~~~~ qmparse.y:2777:1: warning: return type defaults to 'int' [-Wimplicit-int] idcmp(v1, v2) ^~~~~ qmparse.y:2789:1: warning: return type defaults to 'int' [-Wimplicit-int] print_varlist(int all) ^~~~~~~~~~~~~ qmparse.y: In function 'print_varlist': qmparse.y:2799:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2789:1: note: declared here print_varlist(int all) ^~~~~~~~~~~~~ qmparse.y:2802:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ qmparse.y:2789:1: note: declared here print_varlist(int all) ^~~~~~~~~~~~~ qmparse.y:2811:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ In file included from sys.h:38:0, 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] #define print_breakpoints __qq__print_breakpoints ^ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' print_breakpoints() ^~~~~~~~~~~~~~~~~ qmparse.y: In function '__qq__print_breakpoints': qmparse.y:2837:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here #define print_breakpoints __qq__print_breakpoints ^ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' print_breakpoints() ^~~~~~~~~~~~~~~~~ qmparse.y:2840:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:169:27: note: declared here #define print_breakpoints __qq__print_breakpoints ^ qmparse.y:2826:1: note: in expansion of macro 'print_breakpoints' print_breakpoints() ^~~~~~~~~~~~~~~~~ qmparse.y:2849:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i > 0) ^ qmparse.y: At top level: qmparse.y:2867:8: warning: return type defaults to 'int' [-Wimplicit-int] static breakpoints() ^~~~~~~~~~~ qmparse.y:2875:1: warning: return type defaults to 'int' [-Wimplicit-int] profcmp(v1, v2) ^~~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: warning: return type defaults to 'int' [-Wimplicit-int] #define print_profile __qq__print_profile ^ qmparse.y:2891:1: note: in expansion of macro 'print_profile' print_profile() ^~~~~~~~~~~~~ qmparse.y: In function '__qq__print_profile': qmparse.y:2899:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here #define print_profile __qq__print_profile ^ qmparse.y:2891:1: note: in expansion of macro 'print_profile' print_profile() ^~~~~~~~~~~~~ qmparse.y:2902:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmparse.y:37: mangle.h:170:23: note: declared here #define print_profile __qq__print_profile ^ qmparse.y:2891:1: note: in expansion of macro 'print_profile' print_profile() ^~~~~~~~~~~~~ qmparse.y:2909:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 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] static profile() ^~~~~~~ qmparse.y:2923:8: warning: return type defaults to 'int' [-Wimplicit-int] static who(int all) ^~~ qmparse.y:2930:8: warning: return type defaults to 'int' [-Wimplicit-int] static whos(int sym) ^~~~ qmparse.y: In function 'whos': qmparse.y:2946:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((flags & VSYM) && !x && !(flags & DCL) || ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ qmparse.y: At top level: qmparse.y:3026:8: warning: return type defaults to 'int' [-Wimplicit-int] static whois(int fno, char *s) ^~~~~ qmparse.y:3061:8: warning: return type defaults to 'int' [-Wimplicit-int] static ambiguous(int fno, char *s) ^~~~~~~~~ qmparse.y:3075:8: warning: return type defaults to 'int' [-Wimplicit-int] static yypush() ^~~~~~ qmparse.y:3089:8: warning: return type defaults to 'int' [-Wimplicit-int] static yypop() ^~~~~ qmparse.y:3103:8: warning: return type defaults to 'int' [-Wimplicit-int] static parse(source, arg, _mode) ^~~~~ In file included from sys.h:38:0, 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] #define skip __qq__skip ^ qmparse.y:3131:64: note: in expansion of macro 'skip' if (yychar && yychar != 10 && (thr > thr0 || !checkbrk)) skip(); ^~~~ qmparse.y:3107:7: warning: unused variable 'c' [-Wunused-variable] int c, actmode; ^ qmparse.y: At top level: qmparse.y:81:3: warning: 'strlist' declared 'static' but never defined [-Wunused-function] 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] 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] 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] system(cmd); ^~~~~~~~~~~ qmparse.y: In function 'sethistfile': qmparse.y:2407:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'sethistsize': qmparse.y:2419:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'print_stats': qmparse.y:2030:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'clear_vars': qmparse.y:2548:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'edit': qmparse.y:2472:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^~~~~~~~~~~ qmparse.y: In function 'printstr': qmparse.y:2263:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'savepos': qmparse.y:2136:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'ambiguous': qmparse.y:3065:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'error_report': qmparse.y:2109:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'yyerror': qmparse.y:1689:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'yypush': qmparse.y:3087:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.y: In function 'yypop': qmparse.y:3099:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qmparse.c: In function 'yyparse': qmparse.y:700:13: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] eflag = b; qmparse.y:697:7: note: 'b' was declared here int b; char *s; ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] static bigint(); ^~~~~~ qmlex.l:52:8: warning: type defaults to 'int' in declaration of 'string' [-Wimplicit-int] static string(); ^~~~~~ qmlex.l:53:8: warning: type defaults to 'int' in declaration of 'utf8_qualid' [-Wimplicit-int] static utf8_qualid(); ^~~~~~~~~~~ qmlex.l: In function 'getbuf': qmlex.l:129:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] if (_sflag) ^ In file included from sys.h:38:0, 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] #define skip __qq__skip ^ qmlex.l:218:3: note: in expansion of macro 'skip' ^"#!" { skip(); BEGIN(0); } ^~~~ qmlex.l: At top level: qmlex.l:537:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:542:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l: In function 'addbuf': qmlex.l:547:7: warning: 'return' with no value, in function returning non-void } else ^~~~ qmlex.l:542:8: note: declared here { ^ qmlex.l:544:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 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] { ^ qmlex.l: In function 'u8encode': qmlex.l:636:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:641:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:643:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:648:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:650:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l:652:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qmlex.l: At top level: qmlex.l:682:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:798:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l: In function 'utf8_qualid': qmlex.l:800:17: warning: unused variable 'c' [-Wunused-variable] int ret, ret2; ^ qmlex.l: At top level: qmlex.l:822:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:854:8: warning: return type defaults to 'int' [-Wimplicit-int] mpz_t z; ^~~~~~ qmlex.l:884:1: warning: return type defaults to 'int' [-Wimplicit-int] { ^ In file included from sys.h:38:0, from qbase.h:24, from qdefs.h:24, from qmlex.l:32: mangle.h:160:14: warning: return type defaults to 'int' [-Wimplicit-int] #define peek __qq__peek ^ qmlex.l:889:1: note: in expansion of macro 'peek' { ^ mangle.h:237:14: warning: return type defaults to 'int' [-Wimplicit-int] #define skip __qq__skip ^ qmlex.l:896:1: note: in expansion of macro 'skip' /* skip remainder of input line */ ^~~~ mangle.h:81:15: warning: return type defaults to 'int' [-Wimplicit-int] #define getln __qq__getln ^ qmlex.l:909:1: note: in expansion of macro 'getln' char *s; ^ qmlex.l:944:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l:974:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qmlex.l: In function 'string': qmlex.l:845:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function 'initbuf': qmlex.l:540:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function '__qq__skip': qmlex.l:907:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function '__qq__getln': qmlex.l:929:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qmlex.l: In function 'lexpop': qmlex.l:1000:1: warning: control reaches end of non-void function [-Wreturn-type] ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c:592:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qbase.c:594:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c:599:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ qbase.c:601:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qbase.c:603:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c: In function 'scanchar': qbase.c:1081:13: warning: unused variable 'r' [-Wunused-variable] char *r; ^ qbase.c: In function '__qq__absolute': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #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' else if (tilde(s)) ^~~~~ qbase.c: In function '__qq__dirprefix': qbase.c:1193:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (!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] #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' if (tilde(s2)) { ^~~~~ qbase.c: In function '__qq__searchlib': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #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' if (tilde(s2)) ^~~~~ qbase.c:1279:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (s[0] == '.') ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o q-sys.o `test -f 'sys.c' || echo './'`sys.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o q-random.o `test -f 'random.c' || echo './'`random.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o q-uchar.o `test -f 'uchar.c' || echo './'`uchar.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o q-getopt.o `test -f 'getopt.c' || echo './'`getopt.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o q-getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c /bin/sh ../libtool --tag=CC --mode=link gcc -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -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 -lnsl -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard .libs/qS.o -Wl,-z -Wl,relro -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 -lnsl -lm q-q.o: In function `dorun': /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='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qc-qc.o `test -f 'qc.c' || echo './'`qc.c qc.c: In function 'yyparse': qc.c:2368:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] yychar = yylex (); ^~~~~ qc.y:125:7: warning: implicit declaration of function 'srcstate'; did you mean 'setstate'? [-Wimplicit-function-declaration] source : { srcstate(); } ^~~~~~~~ setstate qc.y:131:7: warning: implicit declaration of function 'import'; did you mean 'imports'? [-Wimplicit-function-declaration] { import(); newdecl(); } ^~~~~~ imports qc.y:131:17: warning: implicit declaration of function 'newdecl'; did you mean 'execl'? [-Wimplicit-function-declaration] { import(); newdecl(); } ^~~~~~~ execl qc.y:133:7: warning: implicit declaration of function 'include'; did you mean 'iscode'? [-Wimplicit-function-declaration] { include(); newdecl(); } ^~~~~~~ iscode qc.y:143:7: warning: implicit declaration of function 'newrule'; did you mean 'end_rule'? [-Wimplicit-function-declaration] { newrule(); } ^~~~~~~ end_rule qc.y:146:7: warning: implicit declaration of function 'wrapover'; did you mean 'remove'? [-Wimplicit-function-declaration] | program EOFTOK { wrapover(); } ^~~~~~~~ remove qc.y:149:50: warning: implicit declaration of function 'clear_imports'; did you mean 'clear_history'? [-Wimplicit-function-declaration] { yyerrok; srcstate(); newrule(); newdecl(); clear_imports(); } ^~~~~~~~~~~~~ clear_history qc.y:164:7: warning: implicit declaration of function 'add_import'; did you mean 'mpz_import'? [-Wimplicit-function-declaration] { add_import($1, NULL); } ^~~~~~~~~~ mpz_import qc.y:181:7: warning: implicit declaration of function 'add_import_name'; did you mean 'add_history_time'? [-Wimplicit-function-declaration] { add_import_name(NULL, NULL); } ^~~~~~~~~~~~~~~ add_history_time qc.y:196:7: warning: implicit declaration of function 'priority'; did you mean 'pwrite'? [-Wimplicit-function-declaration] { priority($2); mpz_clear($2); } ^~~~~~~~ pwrite qc.y:199:9: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] yyerror(qcmsg[SYNTAX_ERROR]); ^~~~~~~ yyerrok qc.y:376:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] } else if ((flags & VSYM) && ($2 || type) || ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qc.y:379:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (flags & CST) && (flags & EXT) || ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ qc.y:381:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] type && ~~~~~~~ (symtb[type].flags & EXT) && ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !(flags & VIRT) || ~~~~~~~~~~~~~~~ qc.y:383:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] !(flags & VSYM) && ~~~~~~~~~~~~~~~~^~ isvsym(strsp+symtb[$1].pname)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qc.y:400:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (flags & CST) && (flags & EXT) || ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ qc.y:401:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] type && (symtb[type].flags & EXT) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !(flags & VIRT) || ~~~~~~~~~~~~~~~ qc.y:403:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (prec == 5 || prec == 9) && $4 != 1 || ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ qc.y:404:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (prec != 5 && prec != 9) && $4 != 2) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ qc.y:424:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] } else if ((flags & VSYM) && ($2 || type) || ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ qc.y:426:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (flags & CST) && (flags & EXT) || ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ qc.y:427:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] !(flags & VSYM) && ~~~~~~~~~~~~~~~~^~ isvsym(strsp+symtb[$1].pname) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qc.y:430:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] $3 && symtb[$3].modno == modno && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ (symtb[$3].flags&DCL)) { ~~~~~~~~~~~~~~~~~~~~~~~~ qc.y:449:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (flags & CST) && (flags & EXT) || ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ qc.y:451:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] $6 && symtb[$6].modno == modno && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ (symtb[$6].flags&DCL) || ~~~~~~~~~~~~~~~~~~~~~~~~ qc.y:454:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (prec == 5 || prec == 9) && $4 != 1 || ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ qc.y:455:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (prec != 5 && prec != 9) && $4 != 2) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ qc.y:465:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] { if (flags & SPEC) ^ qc.y:484:22: warning: implicit declaration of function 'precval'; did you mean 'pread'? [-Wimplicit-function-declaration] { $$ = precval($2); } ^~~ pread qc.y: At top level: qc.y:1513:1: warning: return type defaults to 'int' [-Wimplicit-int] yyerror(s) ^~~~~~~ qc.y:1525:1: warning: return type defaults to 'int' [-Wimplicit-int] yywarn(s) ^~~~~~ In file included from sys.h:38:0, from qbase.h:24, from qcdefs.h:24, from qc.y:31: mangle.h:57:15: warning: return type defaults to 'int' [-Wimplicit-int] #define fatal __qq__fatal ^ qc.y:1535:1: note: in expansion of macro 'fatal' fatal(s) ^~~~~ qc.y:1554:1: warning: return type defaults to 'int' [-Wimplicit-int] statistics() ^~~~~~~~~~ qc.y:1695:1: warning: return type defaults to 'int' [-Wimplicit-int] checkint() ^~~~~~~~ qc.y:1701:1: warning: return type defaults to 'int' [-Wimplicit-int] newrule() ^~~~~~~ qc.y:1707:1: warning: return type defaults to 'int' [-Wimplicit-int] newdecl() ^~~~~~~ qc.y:1713:1: warning: return type defaults to 'int' [-Wimplicit-int] precval(z) ^~~~~~~ qc.y:1726:1: warning: return type defaults to 'int' [-Wimplicit-int] priority(z) ^~~~~~~~ qc.y: In function 'add_qualifier': qc.y:1763:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 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] 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] 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] if (optarg) ^ qc.y: In function 'get_source_opts': qc.y:2034:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ qc.y: At top level: qc.y:2060:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ qc.y: In function 'main': qc.y:2102:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (chkfile(searchlib(fname, argv[optind])) && In file included from sys.h:38:0, 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] #define initlex __qq__initlex ^ qc.y:2161:7: note: in expansion of macro 'initlex' if (!initlex(argc, argv) || yyparse() == 0 && nerrs == 0) { ^~~~~~~ qc.y:2161:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] } ^ qc.y: In function 'yywarn': qc.y:1533:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qc.y: In function 'checkint': qc.y:1699:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qc.y: In function 'newrule': qc.y:1705:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qc.y: In function 'newdecl': qc.y:1711:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qc.y: In function 'priority': qc.y:1734:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qc.y: In function 'main': qc.y:2150:6: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen(list, "w", stderr); ^~~~~~~~~~~~~~~~~~~~~~~~~~ qc.y: In function 'statistics': qc.y:1575:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] static comment(), string(); ^~~~~~~ qclex.l:51:19: warning: type defaults to 'int' in declaration of 'string' [-Wimplicit-int] static comment(), string(); ^~~~~~ qclex.l:53:8: warning: type defaults to 'int' in declaration of 'utf8_id' [-Wimplicit-int] 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] 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] 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] static utf8_id(), utf8_id_or_sym(), utf8_qualid(), utf8_skip(); ^~~~~~~~~ In file included from sys.h:38:0, 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'; did you mean '__qq__clear'? [-Wimplicit-function-declaration] #define fatal __qq__fatal ^ qclex.l:58:5: note: in expansion of macro 'fatal' fatal(qcmsg[MEM_OVF]); ^~~~~ qclex.l: At top level: qclex.l:65:8: warning: return type defaults to 'int' [-Wimplicit-int] static ofchk(char *s) ^~~~~ qclex.l: In function 'getbuf': qclex.l:192:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] yyerror(msg); ^~~~~~~ perror qclex.l: At top level: qclex.l:498:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l:519:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l:524:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l: In function 'addbuf': qclex.l:526:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 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] { ^ qclex.l: In function 'u8encode': qclex.l:617:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qclex.l:622:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qclex.l:624:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qclex.l:629:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qclex.l:631:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qclex.l:633:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] c = c >> 6; ^ qclex.l: At top level: qclex.l:663:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l:691:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l:749:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l:854:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l:860:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l:866:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l: In function 'utf8_qualid': qclex.l:868:17: warning: unused variable 'c' [-Wunused-variable] int ret, ret2; ^ qclex.l: At top level: qclex.l:890:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ In file included from sys.h:38:0, from qbase.h:24, from qcdefs.h:24, from qclex.l:32: mangle.h:83:18: warning: return type defaults to 'int' [-Wimplicit-int] #define getmodno __qq__getmodno ^ qclex.l:989:1: note: in expansion of macro 'getmodno' char *s; ^ ~~~ qclex.l:1002:1: warning: return type defaults to 'int' [-Wimplicit-int] char *s; ^ ~~~~~~~~ qclex.l:1014:1: warning: return type defaults to 'int' [-Wimplicit-int] int modno; ^ ~~ qclex.l:1026:1: warning: return type defaults to 'int' [-Wimplicit-int] char *modname, *realname, *fname, *s; ^ ~ qclex.l:1046:1: warning: return type defaults to 'int' [-Wimplicit-int] char *s, *as; ^ ~~ In file included from sys.h:38:0, from qbase.h:24, from qcdefs.h:24, from qclex.l:32: mangle.h:179:18: warning: return type defaults to 'int' [-Wimplicit-int] #define pushfile __qq__pushfile ^ qclex.l:1136:1: note: in expansion of macro 'pushfile' int incl; ^ ~~~ qclex.l:1167:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l:1192:8: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l:1221:1: warning: return type defaults to 'int' [-Wimplicit-int] char *s, *as; ^ ~~~~~ qclex.l:1233:1: warning: return type defaults to 'int' [-Wimplicit-int] char *s, *as; ^ ~~~~~~~~~~ qclex.l:1243:1: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l: In function 'sym_import': qclex.l:1253:10: warning: unused variable 'l' [-Wunused-variable] if (namec > 0 && namev[0].s) { ^ qclex.l: At top level: qclex.l:1301:1: warning: return type defaults to 'int' [-Wimplicit-int] int incl; ^ ~~~ qclex.l: In function 'doimport': qclex.l:1305:20: warning: 'return' with no value, in function returning non-void pushfile(incl); ^ qclex.l:1301:1: note: declared here int incl; ^ ~~~ qclex.l:1326:7: warning: 'return' with no value, in function returning non-void } else { ^~~~~~ qclex.l:1301:1: note: declared here int incl; ^ ~~~ qclex.l:1332:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (fsp->namev) { ^ qclex.l: At top level: qclex.l:1347:1: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l:1352:1: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l:1359:1: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l:1364:1: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l: In function 'wrapover': qclex.l:1396:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (fsp->namev) { ^ In file included from sys.h:38:0, 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] #define initlex __qq__initlex ^ qclex.l:1448:1: note: in expansion of macro 'initlex' int _argc; ^ ~~ qclex.l:1477:1: warning: return type defaults to 'int' [-Wimplicit-int] { ^ qclex.l: In function 'initbuf': qclex.l:522:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qclex.l: In function 'addbuf': qclex.l:532:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qclex.l: In function 'strdupchk': qclex.l:61:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qclex.l: In function 'string': qclex.l:917:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qclex.l: In function 'comment': qclex.l:517:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qclex.l: In function 'ofchk': qclex.l:69:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qclex.l: In function 'utf8_skip': qclex.l:759:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qclex.l: In function 'add_import': qclex.l:1231:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qclex.l: In function 'add_import_name': qclex.l:1241:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qclex.l: In function 'clear_imports': qclex.l:1246:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qclex.l: In function 'import': qclex.l:1350:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qclex.l: In function '__qq__pushfile': qclex.l:1165:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qclex.l: In function 'addmod': qclex.l:1041:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qclex.l: In function 'popfile0': qclex.l:1213:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qclex.l: In function 'include': qclex.l:1355:1: warning: control reaches end of non-void function [-Wreturn-type] ^ qclex.l: In function 'popfile': qclex.l:1190:1: warning: control reaches end of non-void function [-Wreturn-type] ^ 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] static char s1[MAXSTRLEN], s2[MAXSTRLEN]; ^~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qc-qcmsgs.o `test -f 'qcmsgs.c' || echo './'`qcmsgs.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qc-qcrules.o `test -f 'qcrules.c' || echo './'`qcrules.c In file included from sys.h:38:0, 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'; did you mean '__qq__clear'? [-Wimplicit-function-declaration] #define fatal __qq__fatal ^ qcrules.c:132:5: note: in expansion of macro 'fatal' fatal(qcmsg[MEM_OVF]); ^~~~~ qcrules.c: At top level: qcrules.c:404:1: warning: return type defaults to 'int' [-Wimplicit-int] subtype(int type1, int type2) ^~~~~~~ qcrules.c: In function 'merge': qcrules.c:569:5: warning: implicit declaration of function 'yywarn'; did you mean 'year'? [-Wimplicit-function-declaration] yywarn(qcmsg[VIRTUAL_OVERLAPS]); ^~~~~~ year qcrules.c: At top level: qcrules.c:662:1: warning: return type defaults to 'int' [-Wimplicit-int] printsym(int fno) ^~~~~~~~ qcrules.c:772:1: warning: return type defaults to 'int' [-Wimplicit-int] isconstx(EXPR *x) ^~~~~~~~ qcrules.c: In function 'isconstx': qcrules.c:780:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] isvarx(EXPR *x) ^~~~~~ qcrules.c:791:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] yyerror(qcmsg[INVALID_DEF]); ^~~~~~~ perror qcrules.c: In function 'queries': qcrules.c:858:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (strcmp(tmpsp+vartb[vno].pname, "_")) ^ qcrules.c:899:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (arity(x->fno) > 0) ^ qcrules.c: In function 'queries0': qcrules.c:935:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (arity(x->fno) > 0) ^ qcrules.c: At top level: qcrules.c:1042:1: warning: return type defaults to 'int' [-Wimplicit-int] add_match(Statep s) ^~~~~~~~~ qcrules.c: In function 'add_match': qcrules.c:1049:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] else if (matchtbsz >= amatchtbsz) ^ qcrules.c: In function 'lhsvars': qcrules.c:1090:7: warning: unused variable 'vno' [-Wunused-variable] int vno; ^~~ qcrules.c: In function 'nexpression': qcrules.c:1196:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (wflag > 2 || wflag > 1 && !(symtb[x->fno].flags & VSYM)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qcrules.c:1195:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 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] } ^ qcrules.c: In function 'newtransp': qcrules.c:146:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qcrules.c: In function 'newrulep': qcrules.c:157:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qcrules.c: In function 'printsym': qcrules.c:679:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qc-qctables.o `test -f 'qctables.c' || echo './'`qctables.c In file included from sys.h:38:0, 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'; did you mean '__qq__clear'? [-Wimplicit-function-declaration] #define fatal __qq__fatal ^ qctables.c:67:5: note: in expansion of macro 'fatal' fatal(qcmsg[MEM_OVF]); ^~~~~ qctables.c: At top level: qctables.c:665:1: warning: return type defaults to 'int' [-Wimplicit-int] symprio(int sym) ^~~~~~~ qctables.c: In function 'getfun': qctables.c:692:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (matchfun(fno, s) && ^ qctables.c:681:8: warning: unused variable 'msg' [-Wunused-variable] 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] yyerror(msg); ^~~~~~~ perror qctables.c:752:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (matchfun(fno, s) && ^ qctables.c:797:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (symtbsz >= asymtbsz) ^ qctables.c:824:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (wflag >= 3 && symtb[fno].modno >= 0 || ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qctables.c:828:7: warning: implicit declaration of function 'yywarn'; did you mean 'year'? [-Wimplicit-function-declaration] yywarn(msg); ^~~~~~ year qctables.c: In function 'mkxxxfun': qctables.c:854:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (matchfun(fno, s) && ^ qctables.c:899:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (symtbsz >= asymtbsz) ^ qctables.c:926:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (wflag >= 3 && symtb[fno].modno >= 0 || ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ qctables.c: In function 'dclfun': qctables.c:1041:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] if (matchfun(vno, s) && ^ qctables.c:1161:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (symtbsz >= asymtbsz) ^ qctables.c:1188:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] if (matchfun(vno, s) && ^ qctables.c:1259:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (symtbsz >= asymtbsz) ^ qctables.c:1286:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] if (matchtyp(type, s) && ^ qctables.c:1466:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (symtbsz >= asymtbsz) ^ qctables.c:1493:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] if (matchtyp(type, s) && ^ qctables.c:1564:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (symtbsz >= asymtbsz) ^ qctables.c:1591:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (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] if (matchsym(sym, s, t) && ^ qctables.c: In function 'fix_symtb': qctables.c:1803:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' if (uniq(i)) ^~ qctables.c: At top level: qctables.c:1870:1: warning: return type defaults to 'int' [-Wimplicit-int] vareq(s1, s2) ^~~~~ qctables.c: In function 'add_init': qctables.c:2039:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (inittbsz >= ainittbsz) ^ qctables.c: In function '__qq__intexpr': qctables.c:303:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qctables.c: In function '__qq__floatexpr': qctables.c:318:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qctables.c: In function '__qq__strexpr': qctables.c:333:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qctables.c: In function 'varexpr': qctables.c:348:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qctables.c: In function '__qq__consexpr': qctables.c:364:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qctables.c: In function 'pairexpr': qctables.c:380:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qctables.c: In function 'appexpr': qctables.c:397:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qctables.c: In function '__qq__funexpr': qctables.c:421:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qctables.c: In function 'puttmp': qctables.c:487:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ qctables.c: In function 'mkvar': qctables.c:1886:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: qctables.c:2174:12: warning: 'intcmp' defined but not used [-Wunused-function] static int intcmp(int *ip, int *jp) ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c:592:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qbase.c:594:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c:599:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ qbase.c:601:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qbase.c:603:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c: In function 'scanchar': qbase.c:1081:13: warning: unused variable 'r' [-Wunused-variable] char *r; ^ qbase.c: In function '__qq__absolute': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #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' else if (tilde(s)) ^~~~~ qbase.c: In function '__qq__dirprefix': qbase.c:1193:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (!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] #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' if (tilde(s2)) { ^~~~~ qbase.c: In function '__qq__searchlib': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #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' if (tilde(s2)) ^~~~~ qbase.c:1279:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (s[0] == '.') ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qc-sys.o `test -f 'sys.c' || echo './'`sys.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qc-uchar.o `test -f 'uchar.c' || echo './'`uchar.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qc-getopt.o `test -f 'getopt.c' || echo './'`getopt.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qc-getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c /bin/sh ../libtool --tag=CC --mode=link gcc -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z,relro -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 -lnsl -lm libtool: link: gcc -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -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 -lnsl -lm gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] system("rm .libs/* && rmdir .libs"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c:592:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qbase.c:594:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c:599:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[3] = 0x80 | c&0x3f; ~^~~~~ qbase.c:601:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[2] = 0x80 | c&0x3f; ~^~~~~ qbase.c:603:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] uc[1] = 0x80 | c&0x3f; ~^~~~~ qbase.c: In function 'scanchar': qbase.c:1081:13: warning: unused variable 'r' [-Wunused-variable] char *r; ^ qbase.c: In function '__qq__absolute': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #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' else if (tilde(s)) ^~~~~ qbase.c: In function '__qq__dirprefix': qbase.c:1193:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (!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] #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' if (tilde(s2)) { ^~~~~ qbase.c: In function '__qq__searchlib': qbase.c:1172:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #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' if (tilde(s2)) ^~~~~ qbase.c:1279:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (s[0] == '.') ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qcc-sys.o `test -f 'sys.c' || echo './'`sys.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qcc-getopt.o `test -f 'getopt.c' || echo './'`getopt.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libltdl -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o qcc-getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c /bin/sh ../libtool --tag=CC --mode=link gcc -DYEAR='"2008"' -DSYSINFO='"armv7hl-redhat-linux-gnu"' -DQPATH='".:/usr/share/q/lib:/usr/lib/q"' -DQEXEC='"/usr/bin/q"' -DLIBTOOL='"/usr/lib/q/libtool"' -DCC='"gcc"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z,relro -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 -lnsl -lm libtool: link: gcc -DYEAR=\"2008\" -DSYSINFO=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -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 -lnsl -lm sed -e "s?@qld-libtool@?/usr/lib/q/libtool?g" \ -e "s?@qld-cc@?gcc?g" \ -e "s?@qld-version@?7.11?g" \ -e "s?@qld-sysinfo@?armv7hl-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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iJsXOf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/q-7.11-29.fc26.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/q-7.11-29.fc26.arm ++ dirname /builddir/build/BUILDROOT/q-7.11-29.fc26.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/q-7.11-29.fc26.arm + cd q-7.11 + make DESTDIR=/builddir/build/BUILDROOT/q-7.11-29.fc26.arm 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-29.fc26.arm/usr/lib/q mkdir -p -- /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q /usr/bin/install -c libtool /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/libtool /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/install -c -m 644 AUTHORS COPYING ChangeLog NEWS README '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/info' '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/info/qdoc.info' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/man/man1' /usr/bin/install -c -m 644 q.1 '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/usr/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libq.la '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib' libtool: install: /usr/bin/install -c .libs/libq.so.8.0.0 /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libq.so.8.0.0 libtool: install: (cd /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib && { 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-29.fc26.arm/usr/lib && { 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-29.fc26.arm/usr/lib/libq.la libtool: install: /usr/bin/install -c .libs/libq.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libq.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libq.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libq.a libtool: warning: remember to run 'libtool --finish /usr/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/include' /usr/bin/install -c -m 644 libq.h '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/usr/lib/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c clib.la system.la '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o clib.la -rpath /usr/lib/q clib.lo ../../libq/libq.la -lgmp -lpthread -lcrypt -lrt -lutil -lnsl -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-29.fc26.arm) libtool: relink: gcc -shared -fPIC -DPIC .libs/clib.o -L/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib -L/usr/lib -lq -lgmp -lpthread -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,clib.so -o .libs/clib.so .libs/clib.o: In function `__F__clib_tmpnam': /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-29.fc26.arm/usr/lib/q/clib.so libtool: install: /usr/bin/install -c .libs/clib.lai /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o system.la -rpath /usr/lib/q system.lo ../../libq/libq.la -lgmp -lpthread -lreadline -lncurses -lcrypt -lrt -lutil -lnsl -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-29.fc26.arm) libtool: relink: gcc -shared -fPIC -DPIC .libs/system.o -L/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib -L/usr/lib -lq -lgmp -lpthread -lreadline -lncurses -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,system.so -o .libs/system.so libtool: install: /usr/bin/install -c .libs/system.soT /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/system.so libtool: install: /usr/bin/install -c .libs/system.lai /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/system.la libtool: install: /usr/bin/install -c .libs/clib.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/clib.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/clib.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/clib.a libtool: install: /usr/bin/install -c .libs/system.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/system.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/system.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/system.a libtool: warning: remember to run 'libtool --finish /usr/lib/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/install -c -m 644 README-Clib '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/lib' /usr/bin/install -c -m 644 clib.q system.q '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/usr/lib/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c curl.la '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o curl.la -rpath /usr/lib/q curl.lo ../../libq/libq.la -lcurl -lcrypt -lrt -lutil -lnsl -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-29.fc26.arm) libtool: relink: gcc -shared -fPIC -DPIC .libs/curl.o -L/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib -L/usr/lib -lq -lcurl -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,curl.so -o .libs/curl.so libtool: install: /usr/bin/install -c .libs/curl.soT /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/curl.so libtool: install: /usr/bin/install -c .libs/curl.lai /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/curl.la libtool: install: /usr/bin/install -c .libs/curl.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/curl.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/curl.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/curl.a libtool: warning: remember to run 'libtool --finish /usr/lib/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/install -c -m 644 README-Curl '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/lib' /usr/bin/install -c -m 644 curl.q '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/usr/share/q/examples/curl' /usr/bin/install -c -m 644 curltest.q '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/usr/lib/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c dxl.la '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dxl.la -rpath /usr/lib/q dxl.lo ../../libq/libq.la -lDX -lDXL -lcrypt -lrt -lutil -lnsl -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-29.fc26.arm) libtool: relink: gcc -shared -fPIC -DPIC .libs/dxl.o -L/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib -L/usr/lib -lq -lDX -lDXL -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,dxl.so -o .libs/dxl.so libtool: install: /usr/bin/install -c .libs/dxl.soT /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/dxl.so libtool: install: /usr/bin/install -c .libs/dxl.lai /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/dxl.la libtool: install: /usr/bin/install -c .libs/dxl.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/dxl.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/dxl.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/dxl.a libtool: warning: remember to run 'libtool --finish /usr/lib/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/install -c -m 644 README-DXL '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/lib' /usr/bin/install -c -m 644 dxl.q '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/usr/lib/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c gdbm.la '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gdbm.la -rpath /usr/lib/q gdbm.lo ../../libq/libq.la -lgdbm -lcrypt -lrt -lutil -lnsl -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-29.fc26.arm) libtool: relink: gcc -shared -fPIC -DPIC .libs/gdbm.o -L/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib -L/usr/lib -lq -lgdbm -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,gdbm.so -o .libs/gdbm.so libtool: install: /usr/bin/install -c .libs/gdbm.soT /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/gdbm.so libtool: install: /usr/bin/install -c .libs/gdbm.lai /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/gdbm.la libtool: install: /usr/bin/install -c .libs/gdbm.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/gdbm.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/gdbm.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/gdbm.a libtool: warning: remember to run 'libtool --finish /usr/lib/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/install -c -m 644 README-Gdbm '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/lib' /usr/bin/install -c -m 644 gdbm.q '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/usr/share/q/examples/gdbm' /usr/bin/install -c -m 644 gdbm_dict.q testdb.q '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/usr/lib/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c magick.la '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o magick.la -rpath /usr/lib/q magick.lo ../../libq/libq.la -lMagickCore-6.Q16 -lcrypt -lrt -lutil -lnsl -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-29.fc26.arm) libtool: relink: gcc -shared -fPIC -DPIC .libs/magick.o -L/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib -L/usr/lib -lq -lMagickCore-6.Q16 -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,magick.so -o .libs/magick.so libtool: install: /usr/bin/install -c .libs/magick.soT /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/magick.so libtool: install: /usr/bin/install -c .libs/magick.lai /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/magick.la libtool: install: /usr/bin/install -c .libs/magick.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/magick.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/magick.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/magick.a libtool: warning: remember to run 'libtool --finish /usr/lib/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/install -c -m 644 README-Magick '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/lib' /usr/bin/install -c -m 644 magick.q '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/usr/lib/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c octave.la '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o octave.la -rpath /usr/lib/q octave.lo ../../libq/libq.la -lcrypt -lrt -lutil -lnsl -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-29.fc26.arm) libtool: relink: gcc -shared -fPIC -DPIC .libs/octave.o -L/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib -L/usr/lib -lq -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,octave.so -o .libs/octave.so .libs/octave.o: In function `start_octave': /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-29.fc26.arm/usr/lib/q/octave.so libtool: install: /usr/bin/install -c .libs/octave.lai /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/octave.la libtool: install: /usr/bin/install -c .libs/octave.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/octave.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/octave.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/octave.a libtool: warning: remember to run 'libtool --finish /usr/lib/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/install -c -m 644 README-Octave '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/lib' /usr/bin/install -c -m 644 octave.q '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/usr/lib/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c odbc.la '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o odbc.la -rpath /usr/lib/q odbc.lo ../../libq/libq.la -lgmp -lodbc -lcrypt -lrt -lutil -lnsl -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-29.fc26.arm) libtool: relink: gcc -shared -fPIC -DPIC .libs/odbc.o -L/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib -L/usr/lib -lq -lgmp -lodbc -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,odbc.so -o .libs/odbc.so libtool: install: /usr/bin/install -c .libs/odbc.soT /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/odbc.so libtool: install: /usr/bin/install -c .libs/odbc.lai /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/odbc.la libtool: install: /usr/bin/install -c .libs/odbc.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/odbc.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/odbc.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/odbc.a libtool: warning: remember to run 'libtool --finish /usr/lib/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/install -c -m 644 README-ODBC '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/lib' /usr/bin/install -c -m 644 odbc.q '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/usr/share/q/examples/odbc' /usr/bin/install -c -m 644 odbc_examp.q '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/usr/lib/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c swig.la '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o swig.la -rpath /usr/lib/q swig.lo ../../libq/libq.la -lcrypt -lrt -lutil -lnsl -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-29.fc26.arm) libtool: relink: gcc -shared -fPIC -DPIC .libs/swig.o -L/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib -L/usr/lib -lq -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,swig.so -o .libs/swig.so libtool: install: /usr/bin/install -c .libs/swig.soT /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/swig.so libtool: install: /usr/bin/install -c .libs/swig.lai /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/swig.la libtool: install: /usr/bin/install -c .libs/swig.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/swig.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/swig.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/swig.a libtool: warning: remember to run 'libtool --finish /usr/lib/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/install -c -m 644 README-SWIG '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/lib' /usr/bin/install -c -m 644 swig.q '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/usr/lib/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c tk.la '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tk.la -rpath /usr/lib/q tk.lo ../../libq/libq.la -lpthread -ltcl -ltk -lX11 -lcrypt -lrt -lutil -lnsl -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-29.fc26.arm) libtool: relink: gcc -shared -fPIC -DPIC .libs/tk.o -L/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib -L/usr/lib -lq -lpthread -ltcl -ltk -lX11 -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,tk.so -o .libs/tk.so libtool: install: /usr/bin/install -c .libs/tk.soT /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/tk.so libtool: install: /usr/bin/install -c .libs/tk.lai /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/tk.la libtool: install: /usr/bin/install -c .libs/tk.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/tk.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/tk.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/tk.a libtool: warning: remember to run 'libtool --finish /usr/lib/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/install -c -m 644 README-Tk '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/lib' /usr/bin/install -c -m 644 tk.q '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/usr/lib/q' /bin/sh ../../libtool --mode=install /usr/bin/install -c xml.la '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -no-undefined -module -avoid-version -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xml.la -rpath /usr/lib/q xml.lo ../../libq/libq.la -lxml2 -lz -llzma -lm -ldl -L/usr/lib -lxslt -lxml2 -lz -llzma -ldl -lm -lcrypt -lrt -lutil -lnsl -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-29.fc26.arm) libtool: relink: gcc -shared -fPIC -DPIC .libs/xml.o -L/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib -L/usr/lib -lq -lxslt -lxml2 -lz -llzma -ldl -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,xml.so -o .libs/xml.so libtool: install: /usr/bin/install -c .libs/xml.soT /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/xml.so libtool: install: /usr/bin/install -c .libs/xml.lai /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/xml.la libtool: install: /usr/bin/install -c .libs/xml.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/xml.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/xml.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/xml.a libtool: warning: remember to run 'libtool --finish /usr/lib/q' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/install -c -m 644 README-XML '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/lib' /usr/bin/install -c -m 644 xml.q '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/usr/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libqmain.la libqint.la '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib' libtool: install: /usr/bin/install -c .libs/libqmain.lai /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/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=\"armv7hl-redhat-linux-gnu\" -DQPATH=\".:/usr/share/q/lib:/usr/lib/q\" -DQEXEC=\"/usr/bin/q\" -DLIBTOOL=\"/usr/lib/q/libtool\" -DCC=\"gcc\" -DQINT_LIBRARY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libqint.la -rpath /usr/lib 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 -lnsl -lm -inst-prefix-dir /builddir/build/BUILDROOT/q-7.11-29.fc26.arm) 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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-29.fc26.arm/usr/lib -L/usr/lib -lq -lgmp -ldl -lpthread -lreadline -lncurses -lncursesw -lcrypt -lrt -lutil -lnsl -lm -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,-soname -Wl,libqint.so.2 -o .libs/libqint.so.2.0.0 .libs/libqint_la-q.o: In function `libmain': /builddir/build/BUILD/q-7.11/src/q.c:2577: 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-29.fc26.arm/usr/lib/libqint.so.2.0.0 libtool: install: (cd /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib && { 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-29.fc26.arm/usr/lib && { 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-29.fc26.arm/usr/lib/libqint.la libtool: install: /usr/bin/install -c .libs/libqmain.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libqmain.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libqmain.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libqmain.a libtool: install: /usr/bin/install -c .libs/libqint.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libqint.a libtool: install: chmod 644 /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libqint.a libtool: install: ranlib /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libqint.a libtool: warning: remember to run 'libtool --finish /usr/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c q qc qcc '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/bin' libtool: warning: '../libq/libq.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/q /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/bin/q libtool: install: /usr/bin/install -c qc /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/bin/qc libtool: install: /usr/bin/install -c qcc /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/bin/qcc /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/bin' /usr/bin/install -c qld '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/examples' /usr/bin/install -c -m 644 qint.c '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/examples' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/include' /usr/bin/install -c -m 644 qint.h '/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/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-29.fc26.arm/usr/lib/libq.la /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libqint.la /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libqmain.la /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libq.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libqint.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libqmain.a + rm -f /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/clib.la /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/curl.la /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/dxl.la /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/gdbm.la /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/magick.la /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/octave.la /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/odbc.la /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/swig.la /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/system.la /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/tk.la /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/xml.la /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/clib.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/curl.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/dxl.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/gdbm.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/magick.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/octave.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/odbc.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/swig.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/system.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/tk.a /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/xml.a + rm -f /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/info/dir + mkdir -p _docs_staging + mv /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/etc _docs_staging + mv /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/q/examples _docs_staging + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/q-7.11 extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/bin/q extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/bin/qc extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/bin/qcc extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/xml.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/swig.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/dxl.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/system.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/clib.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/curl.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/odbc.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/octave.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/gdbm.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/tk.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/q/magick.so extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libqint.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/lib/libq.so.8.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 16 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib/libqint.so.2.0.0.debug to /usr/lib/debug/usr/lib/libqint.so.2.debug symlinked /usr/lib/debug/usr/lib/libq.so.8.0.0.debug to /usr/lib/debug/usr/lib/libq.so.debug symlinked /usr/lib/debug/usr/lib/libqint.so.2.0.0.debug to /usr/lib/debug/usr/lib/libqint.so.debug symlinked /usr/lib/debug/usr/lib/libq.so.8.0.0.debug to /usr/lib/debug/usr/lib/libq.so.8.debug cpio: q-7.11/libltdl/.libs/libltdlcS.c: Cannot stat: No such file or directory cpio: q-7.11/src/.libs/libqintS.c: Cannot stat: No such file or directory cpio: q-7.11/src/.libs/qS.c: Cannot stat: No such file or directory 4517 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: q-7.11-29.fc26.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.G3FGXi + umask 022 + cd /builddir/build/BUILD + cd q-7.11 + DOCDIR=/builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/doc/q + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/doc/q + cp -pr _docs_staging/etc _docs_staging/examples /builddir/build/BUILDROOT/q-7.11-29.fc26.arm/usr/share/doc/q + exit 0 Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib/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 " Provides: libq.so.8 libqint.so.2 q = 7.11-29.fc26 q(armv7hl-32) = 7.11-29.fc26 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh /sbin/install-info /sbin/ldconfig Requires(postun): /bin/sh /sbin/install-info /sbin/ldconfig Requires: /bin/sh ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcrypt.so.1 libcrypt.so.1(GLIBC_2.4) libdl.so.2 libdl.so.2(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libgcc_s.so.1(GCC_3.5) libgdbm.so.4 libgmp.so.10 liblzma.so.5 libm.so.6 libm.so.6(GLIBC_2.4) libncurses.so.6 libncursesw.so.6 libnsl.so.1 libodbc.so.2 libpthread.so.0 libpthread.so.0(GLIBC_2.4) libq.so.8 libreadline.so.7 librt.so.1 librt.so.1(GLIBC_2.4) libtinfo.so.6 libutil.so.1 libutil.so.1(GLIBC_2.4) libxml2.so.2 libxml2.so.2(LIBXML2_2.4.30) libxslt.so.1 libxslt.so.1(LIBXML2_1.0.11) libxslt.so.1(LIBXML2_1.0.18) libz.so.1 rtld(GNU_HASH) Processing files: q-dx-7.11-29.fc26.armv7hl Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib/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 " Provides: q-dx = 7.11-29.fc26 q-dx(armv7hl-32) = 7.11-29.fc26 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libDX.so.4 libDXL.so.4 libc.so.6 libc.so.6(GLIBC_2.4) libcrypt.so.1 libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libm.so.6 libnsl.so.1 libq.so.8 librt.so.1 libutil.so.1 rtld(GNU_HASH) Processing files: q-curl-7.11-29.fc26.armv7hl Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib/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 " Provides: q-curl = 7.11-29.fc26 q-curl(armv7hl-32) = 7.11-29.fc26 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libcrypt.so.1 libcurl.so.4 libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libm.so.6 libnsl.so.1 libq.so.8 librt.so.1 libutil.so.1 rtld(GNU_HASH) Processing files: q-magick-7.11-29.fc26.armv7hl Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib/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 " Provides: q-magick = 7.11-29.fc26 q-magick(armv7hl-32) = 7.11-29.fc26 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libMagickCore-6.Q16.so.5 libc.so.6 libc.so.6(GLIBC_2.4) libcrypt.so.1 libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libm.so.6 libm.so.6(GLIBC_2.4) libnsl.so.1 libq.so.8 librt.so.1 libutil.so.1 rtld(GNU_HASH) Processing files: q-tk-7.11-29.fc26.armv7hl Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib/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 " Provides: q-tk = 7.11-29.fc26 q-tk(armv7hl-32) = 7.11-29.fc26 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libX11.so.6 libc.so.6 libc.so.6(GLIBC_2.4) libcrypt.so.1 libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libm.so.6 libnsl.so.1 libpthread.so.0 libpthread.so.0(GLIBC_2.4) libq.so.8 librt.so.1 libtcl8.6.so libtk8.6.so libutil.so.1 rtld(GNU_HASH) Processing files: q-devel-7.11-29.fc26.armv7hl Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib/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 " Provides: q-devel = 7.11-29.fc26 q-devel(armv7hl-32) = 7.11-29.fc26 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libcrypt.so.1 libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libgmp.so.10 libm.so.6 libm.so.6(GLIBC_2.4) libnsl.so.1 libq.so.8 libqint.so.2 librt.so.1 librt.so.1(GLIBC_2.4) libutil.so.1 rtld(GNU_HASH) Processing files: q-debuginfo-7.11-29.fc26.armv7hl Provides: q-debuginfo = 7.11-29.fc26 q-debuginfo(armv7hl-32) = 7.11-29.fc26 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/q-7.11-29.fc26.arm Wrote: /builddir/build/RPMS/q-7.11-29.fc26.armv7hl.rpm Wrote: /builddir/build/RPMS/q-dx-7.11-29.fc26.armv7hl.rpm Wrote: /builddir/build/RPMS/q-curl-7.11-29.fc26.armv7hl.rpm Wrote: /builddir/build/RPMS/q-magick-7.11-29.fc26.armv7hl.rpm Wrote: /builddir/build/RPMS/q-tk-7.11-29.fc26.armv7hl.rpm Wrote: /builddir/build/RPMS/q-devel-7.11-29.fc26.armv7hl.rpm Wrote: /builddir/build/RPMS/q-debuginfo-7.11-29.fc26.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UDPtIk + umask 022 + cd /builddir/build/BUILD + cd q-7.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/q-7.11-29.fc26.arm + exit 0 Child return code was: 0