D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Installing /home/iurt/rpmbuild/SRPMS/linkx-2.2-25.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Jemhgr
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf linkx/linkx
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/linkx.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd linkx/linkx
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/linkx-libpng15.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/linkx-fix-png-crash.diff
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/linkx-openssl11.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/linkx-autoconf.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.CIutBI
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd linkx/linkx
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ autoreconf -fi
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:773: AM_INIT_AUTOMAKE is expanded from...
configure.in:8: the top level
configure.in:75: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.in:75: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:1089: AM_CONFIG_HEADER is expanded from...
configure.in:75: the top level
configure.in:90: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.in:90: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.in:90: the top level
configure.in:95: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from...
./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from...
./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from...
configure.in:95: the top level
configure.in:96: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from...
./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from...
./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from...
configure.in:96: the top level
configure.in:97: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from...
./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from...
./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from...
configure.in:97: the top level
configure.in:101: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from...
./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from...
./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from...
configure.in:101: the top level
configure.in:102: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from...
./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from...
./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from...
configure.in:102: the top level
configure.in:108: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:108: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:108: the top level
configure.in:115: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:115: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:115: the top level
configure.in:121: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:121: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:121: the top level
configure.in:151: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:151: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:151: the top level
configure.in:163: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.in:163: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.in:163: the top level
configure.in:182: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:182: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
configure.in:182: the top level
configure.in:193: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:193: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
configure.in:193: the top level
configure.in:212: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:212: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
configure.in:212: the top level
configure.in:236: warning: The macro `AC_TYPE_SIGNAL' is obsolete.
configure.in:236: You should run autoupdate.
./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from...
configure.in:236: the top level
configure.in:239: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:239: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:239: the top level
configure.in:240: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:240: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:240: the top level
configure.in:241: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:241: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:241: the top level
configure.in:242: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:242: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:242: the top level
configure.in:243: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:243: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:243: the top level
configure.in:244: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:244: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:244: the top level
configure.in:245: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:245: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:245: the top level
configure.in:246: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:246: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:246: the top level
configure.in:247: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:247: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:247: the top level
configure.in:248: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:248: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:248: the top level
configure.in:249: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:249: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:249: the top level
configure.in:250: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:250: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:250: the top level
configure.in:251: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:251: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:251: the top level
configure.in:255: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:255: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:255: the top level
configure.in:262: warning: The macro `AC_ERROR' is obsolete.
configure.in:262: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
configure.in:262: the top level
configure.in:265: warning: The macro `AC_ERROR' is obsolete.
configure.in:265: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
configure.in:265: the top level
configure.in:278: warning: The macro `AC_ERROR' is obsolete.
configure.in:278: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
configure.in:278: the top level
configure.in:295: warning: The macro `AC_ERROR' is obsolete.
configure.in:295: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
configure.in:295: the top level
configure.in:305: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:305: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:305: the top level
configure.in:317: warning: The macro `AC_ERROR' is obsolete.
configure.in:317: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
configure.in:317: the top level
configure.in:378: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:378: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:378: the top level
configure.in:395: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:395: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:395: the top level
configure.in:396: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:396: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:396: the top level
configure.in:408: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:408: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:408: the top level
configure.in:411: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:411: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:411: the top level
configure.in:436: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:436: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:436: the top level
configure.in:438: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:438: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:438: the top level
configure.in:450: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:450: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:450: the top level
configure.in:452: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:452: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:452: the top level
configure.in:514: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:514: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:514: the top level
configure.in:597: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:597: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:597: the top level
configure.in:655: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:655: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:655: the top level
configure.in:660: warning: The macro `AC_ERROR' is obsolete.
configure.in:660: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
configure.in:660: the top level
configure.in:663: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:663: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:663: the top level
configure.in:664: warning: The macro `AC_HAVE_FUNCS' is obsolete.
configure.in:664: You should run autoupdate.
./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from...
configure.in:664: the top level
configure.in:673: warning: The macro `AC_ERROR' is obsolete.
configure.in:673: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
configure.in:673: the top level
configure.in:677: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:677: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:677: the top level
configure.in:722: warning: AC_OUTPUT should be used without arguments.
configure.in:722: You should run autoupdate.
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot'
autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and
autoheader: WARNING: 'AC_DEFINE' allows one to define a template without
autoheader: WARNING: 'acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function 'main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.in:8: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:78: installing './compile'
Makefile.am: installing './depcomp'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '
+ export FCFLAGS
+ LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-graphics --enable-javascript
configure: WARNING: unrecognized options: --enable-javascript
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for aarch64-mageia-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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking for aarch64-mageia-linux-gnu-g++... no
checking for aarch64-mageia-linux-gnu-c++... no
checking for aarch64-mageia-linux-gnu-gpp... no
checking for aarch64-mageia-linux-gnu-aCC... no
checking for aarch64-mageia-linux-gnu-CC... no
checking for aarch64-mageia-linux-gnu-cxx... no
checking for aarch64-mageia-linux-gnu-cc++... no
checking for aarch64-mageia-linux-gnu-cl.exe... no
checking for aarch64-mageia-linux-gnu-FCC... no
checking for aarch64-mageia-linux-gnu-KCC... no
checking for aarch64-mageia-linux-gnu-RCC... no
checking for aarch64-mageia-linux-gnu-xlC_r... no
checking for aarch64-mageia-linux-gnu-xlC... no
checking for aarch64-mageia-linux-gnu-clang++... no
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... none
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking if compiler flag -Wall works... yes
checking if compiler flag -W works... yes
checking if compiler flag -Wextra works... yes
checking if compiler flag -Wno-unused works... yes
checking if compiler flag -Wno-pointer-sign works... yes
checking for EMX... no
checking for typeof... yes
checking for long long... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... (cached) yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for math.h... yes
checking for ieee.h... no
checking for endian.h... yes
checking for values.h... yes
checking for sigaction.h... no
checking for netinet/in_systm.h... yes
checking for netinet/in_system.h... no
checking for netinet/ip.h... yes
checking for netinet/dhcp.h... no
checking for sys/select.h... yes
checking for sys/resource.h... yes
checking for sys/utsname.h... yes
checking for sys/un.h... yes
checking for sys/fmutex.h... no
checking for sys/cygwin.h... no
checking for io.h... no
checking for setjmp.h... yes
checking for langinfo.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for socklen_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of short... 2
checking size of unsigned short... 2
checking size of int... 4
checking size of unsigned... 4
checking size of long... 8
checking size of unsigned long... 8
checking for big endian... no
checking for little endian... yes
checking if rename can replace existing files... yes
checking for working memcmp... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for vprintf... yes
checking for calloc... yes
checking for snprintf... yes
checking for memmove... yes
checking for raise... yes
checking for gettimeofday... yes
checking for mkdir... yes
checking for select... yes
checking for strcspn... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoq... yes
checking for strtoll... yes
checking for chmod... yes
checking for getpid... yes
checking for setpgid... yes
checking for popen... yes
checking for uname... yes
checking for getpagesize... yes
checking for tempnam... yes
checking for strptime... yes
checking for setlocale... yes
checking for nl_langinfo... yes
checking for sigsetjmp/siglongjmp... yes
checking for atan in -lm... yes
checking for socket... yes
checking for setsockopt... yes
checking for gethostbyname... yes
checking for gethostbyaddr... yes
checking for dhcp_option... no
checking for herror... yes
checking for cfmakeraw... yes
checking for cygwin_conv_to_full_win32_path... no
checking for requested debug level... 0
checking if you want to use graphics... yes
checking for Gpm_Open in -lgpm... yes
checking for gpm.h... yes
checking for OS/2 threads... no
checking for atheos/threads.h... no
checking for spawn_thread... no
checking for resume_thread... no
checking for MouOpen... no
checking for _read_kbd... no
checking for XFree for OS/2... no
checking for dlopen in -ldl... yes
checking for aarch64-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENSSL... yes
checking for OpenSSL... yes
checking for zlib.h... yes
checking for inflate in -lz... yes
checking for bzlib.h... yes
checking for BZ2_bzDecompress in -lbz2... yes
checking for svgalib... no
checking for linux/fb.h... yes
checking for linux/kd.h... yes
checking for linux/vt.h... yes
checking for sys/mman.h... yes
checking for directfb-config... no
checking for X... libraries , headers
checking for pmshell... no
checking for gui/view.h... no
checking for gui/window.h... no
checking for gui/desktop.h... no
checking for gui/bitmap.h... no
checking for util/locker.h... no
checking for util/application.h... no
checking for inflate in -lz... (cached) yes
checking for LIBPNG... yes
checking for png.h... yes
checking for libpng/png.h... no
checking for png_create_info_struct... yes
checking for png_set_rgb_to_gray... yes
checking for png_get_image_width... yes
checking for png_get_image_height... yes
checking for png_get_gAMA... yes
checking for png_get_color_type... yes
checking for png_get_bit_depth... yes
checking for png_set_strip_alpha... yes
checking for png_get_valid... yes
checking for png_get_sRGB... yes
checking if you can include both setjmp.h and png.h... yes
checking for jpeglib.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for tiffio.h... yes
checking for TIFFClientOpen in -ltiff... yes
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
configure: WARNING: unrecognized options: --enable-javascript
---------------------------------------------------------
Configuration results:
GPM support: YES
SSL support: YES
Supported compression: ZLIB BZIP2
Graphics enabled: YES
Graphics drivers: FB X
Image formats: GIF PNG XBM JPEG TIFF
---------------------------------------------------------
+ /usr/bin/make -O -j8 V=1 VERBOSE=1
/usr/bin/make all-am
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o beos.o beos.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o af_unix.o af_unix.c
af_unix.c: In function 'bind_to_af_unix':
af_unix.c:113:43: warning: passing argument 2 to 'restrict'-qualified parameter aliases with arguments 3, 4 [-Wrestrict]
113 | select(0, &dummy, &dummy, &dummy, &tv);
| ^~~~~~ ~~~~~~ ~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o connect.o connect.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o auth.o auth.c
In file included from auth.c:1:
auth.c: In function 'add_auth':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
auth.c:215:9: note: in expansion of macro 'add_to_list'
215 | add_to_list(auth, a);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
auth.c:215:9: note: in expansion of macro 'add_to_list'
215 | add_to_list(auth, a);
| ^~~~~~~~~~~
auth.c: In function 'find_auth':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
auth.c:233:17: note: in expansion of macro 'add_to_list'
233 | add_to_list(auth, a);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
auth.c:233:17: note: in expansion of macro 'add_to_list'
233 | add_to_list(auth, a);
| ^~~~~~~~~~~
auth.c: In function 'add_auth':
links.h:718:67: warning: array subscript 'struct http_auth[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
auth.c:215:9: note: in expansion of macro 'add_to_list'
215 | add_to_list(auth, a);
| ^~~~~~~~~~~
auth.c:3:18: note: while referencing 'auth'
3 | struct list_head auth = {&auth, &auth};
| ^~~~
In file included from auth.c:1:
links.h:718:93: warning: array subscript 'struct http_auth[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
auth.c:215:9: note: in expansion of macro 'add_to_list'
215 | add_to_list(auth, a);
| ^~~~~~~~~~~
auth.c:3:18: note: while referencing 'auth'
3 | struct list_head auth = {&auth, &auth};
| ^~~~
In file included from auth.c:1:
auth.c: In function 'find_auth':
links.h:718:67: warning: array subscript 'struct http_auth[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
auth.c:233:17: note: in expansion of macro 'add_to_list'
233 | add_to_list(auth, a);
| ^~~~~~~~~~~
auth.c:3:18: note: while referencing 'auth'
3 | struct list_head auth = {&auth, &auth};
| ^~~~
In file included from auth.c:1:
links.h:718:93: warning: array subscript 'struct http_auth[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
auth.c:233:17: note: in expansion of macro 'add_to_list'
233 | add_to_list(auth, a);
| ^~~~~~~~~~~
auth.c:3:18: note: while referencing 'auth'
3 | struct list_head auth = {&auth, &auth};
| ^~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o cache.o cache.c
In file included from cache.c:6:
cache.c: In function 'defrag_entry':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
cache.c:206:9: note: in expansion of macro 'add_to_list'
206 | add_to_list(e->frag, n);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
cache.c:206:9: note: in expansion of macro 'add_to_list'
206 | add_to_list(e->frag, n);
| ^~~~~~~~~~~
cache.c: In function 'find_in_cache':
links.h:718:67: warning: array subscript 'struct cache_entry[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
cache.c:57:17: note: in expansion of macro 'add_to_list'
57 | add_to_list(cache, e);
| ^~~~~~~~~~~
cache.c:8:18: note: while referencing 'cache'
8 | struct list_head cache = {&cache, &cache};
| ^~~~~
In file included from cache.c:6:
links.h:718:93: warning: array subscript 'struct cache_entry[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
cache.c:57:17: note: in expansion of macro 'add_to_list'
57 | add_to_list(cache, e);
| ^~~~~~~~~~~
cache.c:8:18: note: while referencing 'cache'
8 | struct list_head cache = {&cache, &cache};
| ^~~~~
In file included from cache.c:6:
cache.c: In function 'get_cache_entry':
links.h:718:67: warning: array subscript 'struct cache_entry[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
cache.c:83:9: note: in expansion of macro 'add_to_list'
83 | add_to_list(cache, e);
| ^~~~~~~~~~~
cache.c:8:18: note: while referencing 'cache'
8 | struct list_head cache = {&cache, &cache};
| ^~~~~
In file included from cache.c:6:
links.h:718:93: warning: array subscript 'struct cache_entry[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
cache.c:83:9: note: in expansion of macro 'add_to_list'
83 | add_to_list(cache, e);
| ^~~~~~~~~~~
cache.c:8:18: note: while referencing 'cache'
8 | struct list_head cache = {&cache, &cache};
| ^~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o block.o block.c
block.c: In function 'block_add_URL':
block.c:309:131: warning: cast between incompatible function types from 'void * (*)(void *, unsigned char *)' to 'void (*)(void *, unsigned char *)' [-Wcast-function-type]
309 | input_field(ses->term, NULL, TEXT(T_BLOCK_URL) , TEXT(T_BLOCK_ADD), ses, 0, MAX_INPUT_URL_LEN, u, 0, 0, NULL, TEXT(T_OK), (void (*)(void *, unsigned char *)) block_add_URL_fn, TEXT(T_CANCEL), NULL, NULL);
| ^
In file included from block.c:1:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'block_type_item' at block.c:89:6:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from block.c:1:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'block_type_item' at block.c:89:6:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
block.c: In function 'block_type_item':
block.c:94:39: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
94 | txt1=convert_string(table,txt,strlen(txt),NULL);
| ^~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o directfb.o directfb.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o charsets.o charsets.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o bookmarks.o bookmarks.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o dns.o dns.c
In file included from dns.c:6:
dns.c: In function 'find_in_dns_cache':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
dns.c:157:25: note: in expansion of macro 'add_to_list'
157 | add_to_list(dns_cache, e);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
dns.c:157:25: note: in expansion of macro 'add_to_list'
157 | add_to_list(dns_cache, e);
| ^~~~~~~~~~~
dns.c: In function 'end_dns_lookup':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
dns.c:194:9: note: in expansion of macro 'add_to_list'
194 | add_to_list(dns_cache, dnsentry);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
dns.c:194:9: note: in expansion of macro 'add_to_list'
194 | add_to_list(dns_cache, dnsentry);
| ^~~~~~~~~~~
dns.c: In function 'lookup_fn':
dns.c:89:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
89 | write(h, &host, sizeof(ip__address));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from dns.c:6:
dns.c: In function 'find_in_dns_cache':
links.h:718:67: warning: array subscript 'struct dnsentry[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
dns.c:157:25: note: in expansion of macro 'add_to_list'
157 | add_to_list(dns_cache, e);
| ^~~~~~~~~~~
dns.c:35:18: note: while referencing 'dns_cache'
35 | struct list_head dns_cache = {&dns_cache, &dns_cache};
| ^~~~~~~~~
In file included from dns.c:6:
links.h:718:93: warning: array subscript 'struct dnsentry[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
dns.c:157:25: note: in expansion of macro 'add_to_list'
157 | add_to_list(dns_cache, e);
| ^~~~~~~~~~~
dns.c:35:18: note: while referencing 'dns_cache'
35 | struct list_head dns_cache = {&dns_cache, &dns_cache};
| ^~~~~~~~~
In file included from dns.c:6:
dns.c: In function 'end_dns_lookup':
links.h:718:67: warning: array subscript 'struct dnsentry[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ~~~^~~~~~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
dns.c:194:9: note: in expansion of macro 'add_to_list'
194 | add_to_list(dns_cache, dnsentry);
| ^~~~~~~~~~~
dns.c:35:18: note: while referencing 'dns_cache'
35 | struct list_head dns_cache = {&dns_cache, &dns_cache};
| ^~~~~~~~~
In file included from dns.c:6:
links.h:718:99: warning: array subscript 'struct dnsentry[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ~~~~~~~~~^~~~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
dns.c:194:9: note: in expansion of macro 'add_to_list'
194 | add_to_list(dns_cache, dnsentry);
| ^~~~~~~~~~~
dns.c:35:18: note: while referencing 'dns_cache'
35 | struct list_head dns_cache = {&dns_cache, &dns_cache};
| ^~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o cookies.o cookies.c
In file included from cookies.c:7:
cookies.c: In function 'add_cookie_block':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
cookies.c:57:9: note: in expansion of macro 'add_to_list'
57 | add_to_list(cookie_blocks, cb);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
cookies.c:57:9: note: in expansion of macro 'add_to_list'
57 | add_to_list(cookie_blocks, cb);
| ^~~~~~~~~~~
cookies.c: In function 'load_cookies':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
cookies.c:117:25: note: in expansion of macro 'add_to_list'
117 | add_to_list(cookies, c);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
cookies.c:117:25: note: in expansion of macro 'add_to_list'
117 | add_to_list(cookies, c);
| ^~~~~~~~~~~
cookies.c: In function 'accept_cookie':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
cookies.c:256:9: note: in expansion of macro 'add_to_list'
256 | add_to_list(cookies, c);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
cookies.c:256:9: note: in expansion of macro 'add_to_list'
256 | add_to_list(cookies, c);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
cookies.c:260:9: note: in expansion of macro 'add_to_list'
260 | add_to_list(c_domains, cd);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
cookies.c:260:9: note: in expansion of macro 'add_to_list'
260 | add_to_list(c_domains, cd);
| ^~~~~~~~~~~
cookies.c: In function 'cookie_default':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
cookies.c:302:9: note: in expansion of macro 'add_to_list'
302 | add_to_list(c_servers, s);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
cookies.c:302:9: note: in expansion of macro 'add_to_list'
302 | add_to_list(c_servers, s);
| ^~~~~~~~~~~
cookies.c: In function 'add_cookie_block':
links.h:718:67: warning: array subscript 'struct cookie_block[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
cookies.c:57:9: note: in expansion of macro 'add_to_list'
57 | add_to_list(cookie_blocks, cb);
| ^~~~~~~~~~~
cookies.c:20:18: note: while referencing 'cookie_blocks'
20 | struct list_head cookie_blocks = { &cookie_blocks, &cookie_blocks };
| ^~~~~~~~~~~~~
In file included from cookies.c:7:
links.h:718:93: warning: array subscript 'struct cookie_block[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
cookies.c:57:9: note: in expansion of macro 'add_to_list'
57 | add_to_list(cookie_blocks, cb);
| ^~~~~~~~~~~
cookies.c:20:18: note: while referencing 'cookie_blocks'
20 | struct list_head cookie_blocks = { &cookie_blocks, &cookie_blocks };
| ^~~~~~~~~~~~~
In file included from cookies.c:7:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'save_cookies' at cookies.c:75:28:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from cookies.c:7:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'save_cookies' at cookies.c:75:28:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from cookies.c:7:
In function 'add_to_strn',
inlined from 'save_cookies' at cookies.c:76:2:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In file included from cookies.c:7:
cookies.c: In function 'load_cookies':
links.h:718:67: warning: array subscript 'struct cookie[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
cookies.c:117:25: note: in expansion of macro 'add_to_list'
117 | add_to_list(cookies, c);
| ^~~~~~~~~~~
cookies.c:17:18: note: while referencing 'cookies'
17 | struct list_head cookies = { &cookies, &cookies };
| ^~~~~~~
In file included from cookies.c:7:
links.h:718:93: warning: array subscript 'struct cookie[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
cookies.c:117:25: note: in expansion of macro 'add_to_list'
117 | add_to_list(cookies, c);
| ^~~~~~~~~~~
cookies.c:17:18: note: while referencing 'cookies'
17 | struct list_head cookies = { &cookies, &cookies };
| ^~~~~~~
In file included from cookies.c:7:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'load_cookies' at cookies.c:99:28:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from cookies.c:7:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'load_cookies' at cookies.c:99:28:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from cookies.c:7:
In function 'add_to_strn',
inlined from 'load_cookies' at cookies.c:100:2:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In file included from cookies.c:7:
cookies.c: In function 'accept_cookie':
links.h:718:67: warning: array subscript 'struct cookie[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
cookies.c:256:9: note: in expansion of macro 'add_to_list'
256 | add_to_list(cookies, c);
| ^~~~~~~~~~~
cookies.c:17:18: note: while referencing 'cookies'
17 | struct list_head cookies = { &cookies, &cookies };
| ^~~~~~~
In file included from cookies.c:7:
links.h:718:93: warning: array subscript 'struct cookie[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
cookies.c:256:9: note: in expansion of macro 'add_to_list'
256 | add_to_list(cookies, c);
| ^~~~~~~~~~~
cookies.c:17:18: note: while referencing 'cookies'
17 | struct list_head cookies = { &cookies, &cookies };
| ^~~~~~~
In file included from cookies.c:7:
links.h:718:67: warning: array subscript 'struct c_domain[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
cookies.c:260:9: note: in expansion of macro 'add_to_list'
260 | add_to_list(c_domains, cd);
| ^~~~~~~~~~~
cookies.c:19:18: note: while referencing 'c_domains'
19 | struct list_head c_domains = { &c_domains, &c_domains };
| ^~~~~~~~~
In file included from cookies.c:7:
links.h:718:93: warning: array subscript 'struct c_domain[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
cookies.c:260:9: note: in expansion of macro 'add_to_list'
260 | add_to_list(c_domains, cd);
| ^~~~~~~~~~~
cookies.c:19:18: note: while referencing 'c_domains'
19 | struct list_head c_domains = { &c_domains, &c_domains };
| ^~~~~~~~~
In file included from cookies.c:7:
cookies.c: In function 'cookie_default':
links.h:718:67: warning: array subscript 'struct c_server[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
cookies.c:302:9: note: in expansion of macro 'add_to_list'
302 | add_to_list(c_servers, s);
| ^~~~~~~~~~~
cookies.c:29:18: note: while referencing 'c_servers'
29 | struct list_head c_servers = { &c_servers, &c_servers };
| ^~~~~~~~~
In file included from cookies.c:7:
links.h:718:93: warning: array subscript 'struct c_server[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
cookies.c:302:9: note: in expansion of macro 'add_to_list'
302 | add_to_list(c_servers, s);
| ^~~~~~~~~~~
cookies.c:29:18: note: while referencing 'c_servers'
29 | struct list_head c_servers = { &c_servers, &c_servers };
| ^~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o error.o error.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o drivers.o drivers.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o finger.o finger.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o font_include.o font_include.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o file.o file.c
In file included from file.c:6:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'file_func' at file.c:266:18:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'file_func' at file.c:319:24:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'file_func' at file.c:345:24:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'file_func' at file.c:293:8:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from file.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'file_func' at file.c:293:8:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'file_func' at file.c:345:24:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'file_func' at file.c:319:24:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'file_func' at file.c:266:18:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from file.c:6:
In function 'add_to_strn',
inlined from 'file_func' at file.c:294:4:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In function 'add_to_strn',
inlined from 'file_func' at file.c:346:5:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In function 'add_to_strn',
inlined from 'file_func' at file.c:320:5:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In function 'add_to_strn',
inlined from 'file_func' at file.c:268:4:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o dither.o dither.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o dip.o dip.c
dip.c: In function 'load_char':
dip.c:1442:39: warning: cast between incompatible function types from 'void (*)(png_struct *, png_byte *, png_uint_32)' {aka 'void (*)(struct png_struct_def *, unsigned char *, unsigned int)'} to 'void (*)(png_struct *, png_byte *, size_t)' {aka 'void (*)(struct png_struct_def *, unsigned char *, long unsigned int)'} [-Wcast-function-type]
1442 | png_set_read_fn(png_ptr,&work,(png_rw_ptr)&read_stored_data);
| ^
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o default.o default.c
In file included from default.c:8:
default.c: In function 'get_driver_param':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
default.c:986:9: note: in expansion of macro 'add_to_list'
986 | add_to_list(driver_params, dp);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
default.c:986:9: note: in expansion of macro 'add_to_list'
986 | add_to_list(driver_params, dp);
| ^~~~~~~~~~~
In file included from default.c:8:
In function 'memacpy',
inlined from 'parse_config_file' at default.c:220:24:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from default.c:8:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'parse_config_file' at default.c:220:24:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from default.c:8:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_home' at default.c:330:10:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_home' at default.c:321:20:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_home' at default.c:355:17:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_home' at default.c:374:15:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from default.c:8:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_home' at default.c:321:20:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_home' at default.c:330:10:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_home' at default.c:374:15:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_home' at default.c:355:17:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from default.c:8:
In function 'add_to_strn',
inlined from 'get_home' at default.c:375:2:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In function 'add_to_strn',
inlined from 'get_home' at default.c:356:4:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'load_config_file' at default.c:418:16:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'load_config_file' at default.c:423:16:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from default.c:8:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'load_config_file' at default.c:418:16:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'load_config_file' at default.c:423:16:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from default.c:8:
In function 'add_to_strn',
inlined from 'load_config_file' at default.c:420:2:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In function 'add_to_strn',
inlined from 'load_config_file' at default.c:425:2:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'write_config_data' at default.c:454:16:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from default.c:8:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'write_config_data' at default.c:454:16:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from default.c:8:
In function 'add_to_strn',
inlined from 'write_config_data' at default.c:459:2:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In file included from default.c:8:
default.c: In function 'get_driver_param':
links.h:718:67: warning: array subscript 'struct driver_param[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ~~~^~~~~~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
default.c:986:9: note: in expansion of macro 'add_to_list'
986 | add_to_list(driver_params, dp);
| ^~~~~~~~~~~
default.c:975:18: note: while referencing 'driver_params'
975 | struct list_head driver_params = { &driver_params, &driver_params };
| ^~~~~~~~~~~~~
In file included from default.c:8:
links.h:718:99: warning: array subscript 'struct driver_param[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ~~~~~~~~~^~~~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
default.c:986:9: note: in expansion of macro 'add_to_list'
986 | add_to_list(driver_params, dp);
| ^~~~~~~~~~~
default.c:975:18: note: while referencing 'driver_params'
975 | struct list_head driver_params = { &driver_params, &driver_params };
| ^~~~~~~~~~~~~
In file included from default.c:8:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'load_url_history' at default.c:1733:17:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'load_url_history' at default.c:1741:9:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from default.c:8:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'load_url_history' at default.c:1741:9:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'load_url_history' at default.c:1733:17:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from default.c:8:
In function 'add_to_strn',
inlined from 'load_url_history' at default.c:1734:2:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'save_url_history' at default.c:1761:17:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from default.c:8:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'save_url_history' at default.c:1761:17:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from default.c:8:
In function 'add_to_strn',
inlined from 'save_url_history' at default.c:1762:2:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o gif.o gif.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o framebuffer.o framebuffer.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o ftp.o ftp.c
In file included from ftp.c:7:
In function 'memacpy',
inlined from 'ftp_process_dirlist' at ftp.c:589:23:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from ftp.c:7:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'ftp_process_dirlist' at ftp.c:589:23:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
ftp.c: In function 'ftp_process_dirlist':
ftp.c:590:29: warning: 'strstr' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
590 | if (strstr(p, "
")) dir = 1;
| ^~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o https.o https.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o bfu.o bfu.c
In file included from bfu.c:6:
bfu.c: In function 'menu_func':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
bfu.c:528:33: note: in expansion of macro 'add_to_list'
528 | add_to_list(menu->deleted_items, di);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
bfu.c:528:33: note: in expansion of macro 'add_to_list'
528 | add_to_list(menu->deleted_items, di);
| ^~~~~~~~~~~
bfu.c: In function 'dialog_func':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
bfu.c:1307:57: note: in expansion of macro 'add_to_list'
1307 | add_to_list(di->history, hi);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
bfu.c:1307:57: note: in expansion of macro 'add_to_list'
1307 | add_to_list(di->history, hi);
| ^~~~~~~~~~~
bfu.c: In function 'add_to_history':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
bfu.c:2276:9: note: in expansion of macro 'add_to_list'
2276 | add_to_list(h->items, hi);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
bfu.c:2276:9: note: in expansion of macro 'add_to_list'
2276 | add_to_list(h->items, hi);
| ^~~~~~~~~~~
bfu.c: In function 'mainmenu_func':
bfu.c:790:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
790 | if (F) set_window_pos(win, 0, 0, win->term->x, G_BFU_FONT_SIZE);
| ^
bfu.c:792:17: note: here
792 | case EV_REDRAW:
| ^~~~
bfu.c: In function 'dialog_func':
bfu.c:1313:39: warning: this statement may fall through [-Wimplicit-fallthrough=]
1313 | dlg->selected = 0;
| ~~~~~~~~~~~~~~^~~
bfu.c:1314:17: note: here
1314 | case EV_RESIZE:
| ^~~~
bfu.c:1316:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
1316 | draw_to_window(dlg->win, (void (*)(struct terminal *, void *))redraw_dialog, dlg);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bfu.c:1317:17: note: here
1317 | case EV_REDRAW:
| ^~~~
In file included from bfu.c:6:
In function 'memacpy',
inlined from 'display_dlg_item' at bfu.c:989:18:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'display_dlg_item' at bfu.c:992:14:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from bfu.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'display_dlg_item' at bfu.c:989:18:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'display_dlg_item' at bfu.c:992:14:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from bfu.c:6:
In function 'memacpy',
inlined from 'dlg_format_text' at bfu.c:1874:10:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from bfu.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'dlg_format_text' at bfu.c:1874:10:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o imgcache.o imgcache.c
In file included from imgcache.c:11:
imgcache.c: In function 'find_cached_image':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
imgcache.c:52:9: note: in expansion of macro 'add_to_list'
52 | add_to_list(image_cache, i);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
imgcache.c:52:9: note: in expansion of macro 'add_to_list'
52 | add_to_list(image_cache, i);
| ^~~~~~~~~~~
imgcache.c: In function 'add_image_to_cache':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
imgcache.c:58:9: note: in expansion of macro 'add_to_list'
58 | add_to_list(image_cache, ci);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
imgcache.c:58:9: note: in expansion of macro 'add_to_list'
58 | add_to_list(image_cache, ci);
| ^~~~~~~~~~~
imgcache.c: In function 'find_cached_image':
links.h:718:67: warning: array subscript 'struct cached_image[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
imgcache.c:52:9: note: in expansion of macro 'add_to_list'
52 | add_to_list(image_cache, i);
| ^~~~~~~~~~~
imgcache.c:13:18: note: while referencing 'image_cache'
13 | struct list_head image_cache = { &image_cache, &image_cache };
| ^~~~~~~~~~~
In file included from imgcache.c:11:
links.h:718:93: warning: array subscript 'struct cached_image[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
imgcache.c:52:9: note: in expansion of macro 'add_to_list'
52 | add_to_list(image_cache, i);
| ^~~~~~~~~~~
imgcache.c:13:18: note: while referencing 'image_cache'
13 | struct list_head image_cache = { &image_cache, &image_cache };
| ^~~~~~~~~~~
In file included from imgcache.c:11:
imgcache.c: In function 'add_image_to_cache':
links.h:718:67: warning: array subscript 'struct cached_image[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
imgcache.c:58:9: note: in expansion of macro 'add_to_list'
58 | add_to_list(image_cache, ci);
| ^~~~~~~~~~~
imgcache.c:13:18: note: while referencing 'image_cache'
13 | struct list_head image_cache = { &image_cache, &image_cache };
| ^~~~~~~~~~~
In file included from imgcache.c:11:
links.h:718:93: warning: array subscript 'struct cached_image[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
imgcache.c:58:9: note: in expansion of macro 'add_to_list'
58 | add_to_list(image_cache, ci);
| ^~~~~~~~~~~
imgcache.c:13:18: note: while referencing 'image_cache'
13 | struct list_head image_cache = { &image_cache, &image_cache };
| ^~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o html_gr.o html_gr.c
In file included from html_gr.c:13:
html_gr.c: In function 'g_html_form_control':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_gr.c:473:17: note: in expansion of macro 'add_to_list'
473 | add_to_list(p->uf, fc);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_gr.c:473:17: note: in expansion of macro 'add_to_list'
473 | add_to_list(p->uf, fc);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_gr.c:497:9: note: in expansion of macro 'add_to_list'
497 | add_to_list(p->data->forms, fc);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_gr.c:497:9: note: in expansion of macro 'add_to_list'
497 | add_to_list(p->data->forms, fc);
| ^~~~~~~~~~~
html_gr.c: In function 'g_format_html_part':
links.h:718:67: warning: array subscript 'struct g_table_cache_entry[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
html_gr.c:1069:17: note: in expansion of macro 'add_to_list'
1069 | add_to_list(g_table_cache, tce);
| ^~~~~~~~~~~
html_gr.c:953:18: note: while referencing 'g_table_cache'
953 | struct list_head g_table_cache = { &g_table_cache, &g_table_cache };
| ^~~~~~~~~~~~~
In file included from html_gr.c:13:
links.h:718:93: warning: array subscript 'struct g_table_cache_entry[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
html_gr.c:1069:17: note: in expansion of macro 'add_to_list'
1069 | add_to_list(g_table_cache, tce);
| ^~~~~~~~~~~
html_gr.c:953:18: note: while referencing 'g_table_cache'
953 | struct list_head g_table_cache = { &g_table_cache, &g_table_cache };
| ^~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o jpeg.o jpeg.c
jpeg.c: In function 'jpeg_restart':
jpeg.c:239:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
239 | deco->state=1;
| ~~~~~~~~~~~^~
jpeg.c:241:17: note: here
241 | case 1:
| ^~~~
jpeg.c:314:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
314 | deco->state=2;
| ~~~~~~~~~~~^~
jpeg.c:316:17: note: here
316 | case 2:
| ^~~~
jpeg.c:355:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
355 | deco->state=4;
| ~~~~~~~~~~~^~
jpeg.c:357:17: note: here
357 | case 4:
| ^~~~
jpeg.c:369:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
369 | deco->state=5;
| ~~~~~~~~~~~^~
jpeg.c:371:17: note: here
371 | case 5:
| ^~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o jsint.o jsint.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o links_icon.o links_icon.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o http.o http.c
http.c: In function 'http_got_header':
http.c:712:46: warning: passing argument 3 of 'add_to_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
712 | add_to_str(&e->ssl_info, &l, SSL_get_cipher_version(c->ssl));
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from http.c:7:
links.h:528:73: note: expected 'unsigned char *' but argument is of type 'const char *'
528 | static inline void add_to_str(unsigned char **s, int *l, unsigned char *a)
| ~~~~~~~~~~~~~~~^
http.c: In function 'http_send_header':
http.c:295:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
295 | {
| ^
http.c:308:17: note: here
308 | case REFERER_REAL:
| ^~~~
In file included from http.c:7:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'http_send_header' at http.c:315:10:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from http.c:7:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'http_send_header' at http.c:315:10:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o img.o img.c
In file included from img.c:16:
img.c: In function 'insert_image':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
img.c:1284:37: note: in expansion of macro 'add_to_list'
1284 | if (im->insert_flag)add_to_list(current_f_data->images,&image->image_list);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
img.c:1284:37: note: in expansion of macro 'add_to_list'
1284 | if (im->insert_flag)add_to_list(current_f_data->images,&image->image_list);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
img.c:1305:29: note: in expansion of macro 'add_to_list'
1305 | if (im->insert_flag)add_to_list(current_f_data->images,&image->image_list);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
img.c:1305:29: note: in expansion of macro 'add_to_list'
1305 | if (im->insert_flag)add_to_list(current_f_data->images,&image->image_list);
| ^~~~~~~~~~~
img.c: In function 'img_destruct_cached_image':
img.c:167:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
167 | if (cimg->strip_optimized){
| ^
img.c:172:17: note: here
172 | case 8:
| ^~~~
img.c: In function 'img_end':
img.c:719:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
719 | if (cimg->gamma_table) mem_free(cimg->gamma_table);
| ^
img.c:720:17: note: here
720 | case 8:
| ^~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o language.o language.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o lru.o lru.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o kbd.o kbd.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o mailto.o mailto.c
In file included from mailto.c:7:
In function 'memacpy',
inlined from 'tn_func' at mailto.c:56:13:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'tn_func' at mailto.c:57:19:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from mailto.c:7:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'tn_func' at mailto.c:56:13:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'tn_func' at mailto.c:57:19:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o html_r.o html_r.c
In file included from html_r.c:6:
html_r.c: In function 'html_tag':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_r.c:587:9: note: in expansion of macro 'add_to_list'
587 | add_to_list(f->tags, tag);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_r.c:587:9: note: in expansion of macro 'add_to_list'
587 | add_to_list(f->tags, tag);
| ^~~~~~~~~~~
html_r.c: In function 'html_form_control':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_r.c:860:17: note: in expansion of macro 'add_to_list'
860 | add_to_list(p->uf, fc);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_r.c:860:17: note: in expansion of macro 'add_to_list'
860 | add_to_list(p->uf, fc);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_r.c:884:9: note: in expansion of macro 'add_to_list'
884 | add_to_list(p->data->forms, fc);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_r.c:884:9: note: in expansion of macro 'add_to_list'
884 | add_to_list(p->data->forms, fc);
| ^~~~~~~~~~~
html_r.c: In function 'format_html_part':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_r.c:1088:17: note: in expansion of macro 'add_to_list'
1088 | add_to_list(data->nodes, n);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_r.c:1088:17: note: in expansion of macro 'add_to_list'
1088 | add_to_list(data->nodes, n);
| ^~~~~~~~~~~
html_r.c: In function 'push_base_format':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_r.c:1192:9: note: in expansion of macro 'add_to_list'
1192 | add_to_list(html_stack, e);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_r.c:1192:9: note: in expansion of macro 'add_to_list'
1192 | add_to_list(html_stack, e);
| ^~~~~~~~~~~
html_r.c: In function 'format_html_part':
links.h:718:67: warning: array subscript 'struct table_cache_entry[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
html_r.c:1171:17: note: in expansion of macro 'add_to_list'
1171 | add_to_list(table_cache, tce);
| ^~~~~~~~~~~
html_r.c:1040:18: note: while referencing 'table_cache'
1040 | struct list_head table_cache = { &table_cache, &table_cache };
| ^~~~~~~~~~~
In file included from html_r.c:6:
links.h:718:93: warning: array subscript 'struct table_cache_entry[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
html_r.c:1171:17: note: in expansion of macro 'add_to_list'
1171 | add_to_list(table_cache, tce);
| ^~~~~~~~~~~
html_r.c:1040:18: note: while referencing 'table_cache'
1040 | struct list_head table_cache = { &table_cache, &table_cache };
| ^~~~~~~~~~~
In file included from html_r.c:6:
html_r.c: In function 'push_base_format':
links.h:718:67: warning: array subscript 'struct html_element[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
html_r.c:1192:9: note: in expansion of macro 'add_to_list'
1192 | add_to_list(html_stack, e);
| ^~~~~~~~~~~
In file included from html_r.c:6:
links.h:4082:25: note: while referencing 'html_stack'
4082 | extern struct list_head html_stack;
| ^~~~~~~~~~
In file included from html_r.c:6:
links.h:718:93: warning: array subscript 'struct html_element[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
html_r.c:1192:9: note: in expansion of macro 'add_to_list'
1192 | add_to_list(html_stack, e);
| ^~~~~~~~~~~
In file included from html_r.c:6:
links.h:4082:25: note: while referencing 'html_stack'
4082 | extern struct list_head html_stack;
| ^~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o memory.o memory.c
In file included from memory.c:6:
memory.c: In function 'register_cache_upcall':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
memory.c:31:9: note: in expansion of macro 'add_to_list'
31 | add_to_list(cache_upcalls, c);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
memory.c:31:9: note: in expansion of macro 'add_to_list'
31 | add_to_list(cache_upcalls, c);
| ^~~~~~~~~~~
links.h:718:67: warning: array subscript 'struct cache_upcall[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
memory.c:31:9: note: in expansion of macro 'add_to_list'
31 | add_to_list(cache_upcalls, c);
| ^~~~~~~~~~~
memory.c:15:18: note: while referencing 'cache_upcalls'
15 | struct list_head cache_upcalls = { &cache_upcalls, &cache_upcalls }; /* cache_upcall */
| ^~~~~~~~~~~~~
In file included from memory.c:6:
links.h:718:93: warning: array subscript 'struct cache_upcall[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
memory.c:31:9: note: in expansion of macro 'add_to_list'
31 | add_to_list(cache_upcalls, c);
| ^~~~~~~~~~~
memory.c:15:18: note: while referencing 'cache_upcalls'
15 | struct list_head cache_upcalls = { &cache_upcalls, &cache_upcalls }; /* cache_upcall */
| ^~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o pmshell.o pmshell.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o main.o main.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o html_tbl.o html_tbl.c
In file included from html_tbl.c:7:
html_tbl.c: In function 'format_table':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_tbl.c:1525:9: note: in expansion of macro 'add_to_list'
1525 | add_to_list(p->data->nodes, nn);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html_tbl.c:1525:9: note: in expansion of macro 'add_to_list'
1525 | add_to_list(p->data->nodes, nn);
| ^~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o objreq.o objreq.c
In file included from objreq.c:7:
objreq.c: In function 'request_object':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
objreq.c:208:9: note: in expansion of macro 'add_to_list'
208 | add_to_list(requests, rq);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
objreq.c:208:9: note: in expansion of macro 'add_to_list'
208 | add_to_list(requests, rq);
| ^~~~~~~~~~~
links.h:718:67: warning: array subscript 'struct object_request[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
objreq.c:208:9: note: in expansion of macro 'add_to_list'
208 | add_to_list(requests, rq);
| ^~~~~~~~~~~
objreq.c:17:18: note: while referencing 'requests'
17 | struct list_head requests = {&requests, &requests};
| ^~~~~~~~
In file included from objreq.c:7:
links.h:718:93: warning: array subscript 'struct object_request[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
objreq.c:208:9: note: in expansion of macro 'add_to_list'
208 | add_to_list(requests, rq);
| ^~~~~~~~~~~
objreq.c:17:18: note: while referencing 'requests'
17 | struct list_head requests = {&requests, &requests};
| ^~~~~~~~
In file included from objreq.c:7:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'request_object' at objreq.c:194:17:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from objreq.c:7:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'request_object' at objreq.c:194:17:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o png.o png.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o os_dep.o os_dep.c
os_dep.c: In function 'start_thread':
os_dep.c:1541:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
1541 | write(p[1], "x", 1);
| ^~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o svgalib.o svgalib.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o select.o select.c
In file included from select.c:7:
select.c: In function 'register_bottom_half':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
select.c:94:9: note: in expansion of macro 'add_to_list'
94 | add_to_list(bottom_halves, bh);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
select.c:94:9: note: in expansion of macro 'add_to_list'
94 | add_to_list(bottom_halves, bh);
| ^~~~~~~~~~~
select.c: In function 'signal_break':
select.c:265:42: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
265 | while (can_read(signal_pipe[0])) read(signal_pipe[0], &c, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
select.c: In function 'got_signal':
select.c:283:40: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
283 | if (can_write(signal_pipe[1])) write(signal_pipe[1], "x", 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
select.c: In function 'select_loop':
select.c:361:47: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
361 | if (stat(".", &st) && getenv("HOME")) chdir(getenv("HOME"));
| ^~~~~~~~~~~~~~~~~~~~~
In file included from select.c:7:
select.c: In function 'register_bottom_half':
links.h:718:67: warning: array subscript 'struct bottom_half[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
select.c:94:9: note: in expansion of macro 'add_to_list'
94 | add_to_list(bottom_halves, bh);
| ^~~~~~~~~~~
select.c:85:18: note: while referencing 'bottom_halves'
85 | struct list_head bottom_halves = { &bottom_halves, &bottom_halves };
| ^~~~~~~~~~~~~
In file included from select.c:7:
links.h:718:93: warning: array subscript 'struct bottom_half[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
select.c:94:9: note: in expansion of macro 'add_to_list'
94 | add_to_list(bottom_halves, bh);
| ^~~~~~~~~~~
select.c:85:18: note: while referencing 'bottom_halves'
85 | struct list_head bottom_halves = { &bottom_halves, &bottom_halves };
| ^~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o listedit.o listedit.c
listedit.c: In function 'draw_bfu_element':
listedit.c:311:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
311 | drv->fill_area(dev,x+2+BFU_GRX_WIDTH,y+1+.5*BFU_GRX_HEIGHT,x+1.5*BFU_GRX_WIDTH,y-3+BFU_GRX_HEIGHT,b);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
listedit.c:313:25: note: here
313 | case BFU_ELEMENT_OPEN:
| ^~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o sched.o sched.c
In file included from sched.c:7:
sched.c: In function 'add_keepalive_socket':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
sched.c:282:9: note: in expansion of macro 'add_to_list'
282 | add_to_list(keepalive_connections, k);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
sched.c:282:9: note: in expansion of macro 'add_to_list'
282 | add_to_list(keepalive_connections, k);
| ^~~~~~~~~~~
sched.c: In function 'run_connection':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
sched.c:435:17: note: in expansion of macro 'add_to_list'
435 | add_to_list(h_conns, hc);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
sched.c:435:17: note: in expansion of macro 'add_to_list'
435 | add_to_list(h_conns, hc);
| ^~~~~~~~~~~
sched.c: In function 'load_url':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
sched.c:641:25: note: in expansion of macro 'add_to_list'
641 | add_to_list(c->statuss, stat);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
sched.c:641:25: note: in expansion of macro 'add_to_list'
641 | add_to_list(c->statuss, stat);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
sched.c:675:17: note: in expansion of macro 'add_to_list'
675 | add_to_list(c->statuss, stat);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
sched.c:675:17: note: in expansion of macro 'add_to_list'
675 | add_to_list(c->statuss, stat);
| ^~~~~~~~~~~
sched.c: In function 'change_connection':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
sched.c:717:17: note: in expansion of macro 'add_to_list'
717 | add_to_list(c->statuss, newstat);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
sched.c:717:17: note: in expansion of macro 'add_to_list'
717 | add_to_list(c->statuss, newstat);
| ^~~~~~~~~~~
sched.c: In function 'add_blacklist_entry':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
sched.c:833:9: note: in expansion of macro 'add_to_list'
833 | add_to_list(blacklist, b);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
sched.c:833:9: note: in expansion of macro 'add_to_list'
833 | add_to_list(blacklist, b);
| ^~~~~~~~~~~
sched.c: In function 'add_keepalive_socket':
links.h:718:67: warning: array subscript 'struct k_conn[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
sched.c:282:9: note: in expansion of macro 'add_to_list'
282 | add_to_list(keepalive_connections, k);
| ^~~~~~~~~~~
sched.c:24:18: note: while referencing 'keepalive_connections'
24 | struct list_head keepalive_connections = {&keepalive_connections, &keepalive_connections};
| ^~~~~~~~~~~~~~~~~~~~~
In file included from sched.c:7:
links.h:718:93: warning: array subscript 'struct k_conn[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
sched.c:282:9: note: in expansion of macro 'add_to_list'
282 | add_to_list(keepalive_connections, k);
| ^~~~~~~~~~~
sched.c:24:18: note: while referencing 'keepalive_connections'
24 | struct list_head keepalive_connections = {&keepalive_connections, &keepalive_connections};
| ^~~~~~~~~~~~~~~~~~~~~
In file included from sched.c:7:
sched.c: In function 'run_connection':
links.h:718:67: warning: array subscript 'struct h_conn[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ~~~^~~~~~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
sched.c:435:17: note: in expansion of macro 'add_to_list'
435 | add_to_list(h_conns, hc);
| ^~~~~~~~~~~
sched.c:22:18: note: while referencing 'h_conns'
22 | struct list_head h_conns = {&h_conns, &h_conns};
| ^~~~~~~
In file included from sched.c:7:
links.h:718:99: warning: array subscript 'struct h_conn[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ~~~~~~~~~^~~~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
sched.c:435:17: note: in expansion of macro 'add_to_list'
435 | add_to_list(h_conns, hc);
| ^~~~~~~~~~~
sched.c:22:18: note: while referencing 'h_conns'
22 | struct list_head h_conns = {&h_conns, &h_conns};
| ^~~~~~~
In file included from sched.c:7:
sched.c: In function 'add_blacklist_entry':
links.h:718:67: warning: array subscript 'struct blacklist_entry[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
sched.c:833:9: note: in expansion of macro 'add_to_list'
833 | add_to_list(blacklist, b);
| ^~~~~~~~~~~
sched.c:821:18: note: while referencing 'blacklist'
821 | struct list_head blacklist = { &blacklist, &blacklist };
| ^~~~~~~~~
In file included from sched.c:7:
links.h:718:93: warning: array subscript 'struct blacklist_entry[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
sched.c:833:9: note: in expansion of macro 'add_to_list'
833 | add_to_list(blacklist, b);
| ^~~~~~~~~~~
sched.c:821:18: note: while referencing 'blacklist'
821 | struct list_head blacklist = { &blacklist, &blacklist };
| ^~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o tiff.o tiff.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o html.o html.c
In file included from html.c:6:
html.c: In function 'html_stack_dup':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html.c:661:9: note: in expansion of macro 'add_to_list'
661 | add_to_list(html_stack, e);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
html.c:661:9: note: in expansion of macro 'add_to_list'
661 | add_to_list(html_stack, e);
| ^~~~~~~~~~~
links.h:718:67: warning: array subscript 'struct html_element[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
html.c:661:9: note: in expansion of macro 'add_to_list'
661 | add_to_list(html_stack, e);
| ^~~~~~~~~~~
html.c:10:18: note: while referencing 'html_stack'
10 | struct list_head html_stack = {&html_stack, &html_stack};
| ^~~~~~~~~~
In file included from html.c:6:
links.h:718:93: warning: array subscript 'struct html_element[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
html.c:661:9: note: in expansion of macro 'add_to_list'
661 | add_to_list(html_stack, e);
| ^~~~~~~~~~~
html.c:10:18: note: while referencing 'html_stack'
10 | struct list_head html_stack = {&html_stack, &html_stack};
| ^~~~~~~~~~
In file included from html.c:6:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'html_img' at html.c:1097:8:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'html_img' at html.c:1060:9:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from html.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'html_img' at html.c:1060:9:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'html_img' at html.c:1097:8:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from html.c:6:
In function 'add_to_strn',
inlined from 'html_img' at html.c:1061:5:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In function 'add_to_strn',
inlined from 'html_img' at html.c:1098:4:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'menu_labels' at html.c:1951:14:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'menu_labels' at html.c:1944:14:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from html.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'menu_labels' at html.c:1944:14:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'menu_labels' at html.c:1951:14:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from html.c:6:
In function 'add_to_strn',
inlined from 'menu_labels' at html.c:1945:5:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In function 'add_to_strn',
inlined from 'menu_labels' at html.c:1951:67:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2944:49:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2972:22:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2974:22:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2977:22:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2979:22:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2981:22:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2983:22:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2985:22:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2987:22:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from html.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2944:49:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2972:22:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2974:22:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2977:22:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2979:22:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2981:22:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2983:22:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2985:22:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'get_image_map' at html.c:2987:22:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o smb.o smb.c
In file included from smb.c:1:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'end_smb_connection' at smb.c:466:9:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from smb.c:1:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'end_smb_connection' at smb.c:466:9:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
smb.c: In function 'end_smb_connection':
smb.c:468:50: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
468 | add_conv_str(&t, &l, ud, strlen(ud), -1);
| ^~~~~~~~~~
smb.c:467:29: warning: 'strchr' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
467 | if (strchr(ud, POST_CHAR)) *strchr(ud, POST_CHAR) = 0;
| ^~~~~~~~~~~~~~~~~~~~~
smb.c:468:50: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
468 | add_conv_str(&t, &l, ud, strlen(ud), -1);
| ^~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o menu.o menu.c
In file included from menu.c:6:
menu.c: In function 'add_open_with':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
menu.c:456:9: note: in expansion of macro 'add_to_list'
456 | add_to_list(open_withs, ow);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
menu.c:456:9: note: in expansion of macro 'add_to_list'
456 | add_to_list(open_withs, ow);
| ^~~~~~~~~~~
In file included from menu.c:6:
menu.c: At top level:
links.h:3355:19: warning: cast between incompatible function types from 'void (*)(struct terminal *)' to 'void (*)(struct terminal *, void *, void *)' [-Wcast-function-type]
3355 | #define MENU_FUNC (void (*)(struct terminal *, void *, void *))
| ^
menu.c:2443:62: note: in expansion of macro 'MENU_FUNC'
2443 | { TEXT(T_SAVE_OPTIONS), "", TEXT(T_HK_SAVE_OPTIONS), MENU_FUNC write_config, NULL, 0, 0, NULL },
| ^~~~~~~~~
links.h:3355:19: warning: cast between incompatible function types from 'void (*)(struct terminal *)' to 'void (*)(struct terminal *, void *, void *)' [-Wcast-function-type]
3355 | #define MENU_FUNC (void (*)(struct terminal *, void *, void *))
| ^
menu.c:2475:62: note: in expansion of macro 'MENU_FUNC'
2475 | { TEXT(T_SAVE_OPTIONS), "", TEXT(T_HK_SAVE_OPTIONS), MENU_FUNC write_config, NULL, 0, 0, NULL },
| ^~~~~~~~~
menu.c: In function 'dlg_resize_terminal':
menu.c:2165:25: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=]
2165 | sprintf(x_str, "%d", x);
| ^~
menu.c:2165:24: note: directive argument in the range [-2147483648, 999]
2165 | sprintf(x_str, "%d", x);
| ^~~~
In file included from /usr/include/stdio.h:888,
from links.h:49,
from menu.c:6:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 12 bytes into a destination of size 4
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
menu.c:2166:25: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=]
2166 | sprintf(y_str, "%d", y);
| ^~
menu.c:2166:24: note: directive argument in the range [-2147483648, 999]
2166 | sprintf(y_str, "%d", y);
| ^~~~
In file included from /usr/include/stdio.h:888,
from links.h:49,
from menu.c:6:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 12 bytes into a destination of size 4
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
menu.c: In function 'history_menu':
menu.c:445:14: warning: 'cur_loc' may be used uninitialized in this function [-Wmaybe-uninitialized]
445 | else do_menu_selected(term, mi, ses, cur_loc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:519,
from links.h:55,
from menu.c:6:
In function 'strncpy',
inlined from 'miscelaneous_options' at menu.c:2009:2:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
In file included from menu.c:6:
menu.c: In function 'add_open_with':
links.h:718:67: warning: array subscript 'struct open_with[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
menu.c:456:9: note: in expansion of macro 'add_to_list'
456 | add_to_list(open_withs, ow);
| ^~~~~~~~~~~
menu.c:448:18: note: while referencing 'open_withs'
448 | struct list_head open_withs = {&open_withs, &open_withs};
| ^~~~~~~~~~
In file included from menu.c:6:
links.h:718:93: warning: array subscript 'struct open_with[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
menu.c:456:9: note: in expansion of macro 'add_to_list'
456 | add_to_list(open_withs, ow);
| ^~~~~~~~~~~
menu.c:448:18: note: while referencing 'open_withs'
448 | struct list_head open_withs = {&open_withs, &open_withs};
| ^~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o url.o url.c
In file included from url.c:6:
url.c: In function 'add_shortcut_proto':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
url.c:50:9: note: in expansion of macro 'add_to_list'
50 | add_to_list(sprotos, sp);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
url.c:50:9: note: in expansion of macro 'add_to_list'
50 | add_to_list(sprotos, sp);
| ^~~~~~~~~~~
links.h:718:67: warning: array subscript 'struct shortcut_protocol[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
url.c:50:9: note: in expansion of macro 'add_to_list'
50 | add_to_list(sprotos, sp);
| ^~~~~~~~~~~
url.c:38:18: note: while referencing 'sprotos'
38 | struct list_head sprotos = {&sprotos, &sprotos};
| ^~~~~~~
In file included from url.c:6:
links.h:718:93: warning: array subscript 'struct shortcut_protocol[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
url.c:50:9: note: in expansion of macro 'add_to_list'
50 | add_to_list(sprotos, sp);
| ^~~~~~~~~~~
url.c:38:18: note: while referencing 'sprotos'
38 | struct list_head sprotos = {&sprotos, &sprotos};
| ^~~~~~~
In file included from url.c:6:
In function 'memacpy',
inlined from 'handle_shortcut_protocols' at url.c:77:11:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from url.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'handle_shortcut_protocols' at url.c:77:11:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from url.c:6:
In function 'add_to_strn',
inlined from 'handle_shortcut_protocols' at url.c:78:2:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
url.c: In function 'url_bypasses_socks':
url.c:279:16: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
279 | return ret;
| ^~~
In file included from url.c:6:
In function 'memacpy',
inlined from 'join_urls' at url.c:398:7:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'join_urls' at url.c:409:7:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'join_urls' at url.c:383:7:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from url.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'join_urls' at url.c:383:7:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'join_urls' at url.c:398:7:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'join_urls' at url.c:409:7:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from url.c:6:
In function 'add_to_strn',
inlined from 'join_urls' at url.c:384:3:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In function 'add_to_strn',
inlined from 'join_urls' at url.c:399:3:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In function 'extend_str',
inlined from 'join_urls' at url.c:410:3:
links.h:510:20: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
510 | size_t l = strlen((char *)*s);
| ^~~~~~~~~~~~~~~~~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'translate_url' at url.c:453:8:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'translate_url' at url.c:469:8:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In function 'memacpy',
inlined from 'translate_url' at url.c:523:13:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from url.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'translate_url' at url.c:453:8:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'translate_url' at url.c:469:8:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from url.c:6:
In function 'add_to_strn',
inlined from 'translate_url' at url.c:524:2:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In function 'extend_str',
inlined from 'translate_url' at url.c:470:3:
links.h:510:20: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
510 | size_t l = strlen((char *)*s);
| ^~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o xbm.o xbm.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o types.o types.c
In file included from types.c:6:
types.c: In function 'update_assoc':
links.h:718:67: warning: array subscript 'struct assoc[0]' is partly outside array bounds of 'struct list_dirty_workaround_for_name_clash_in_stl_with_class_list[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
types.c:414:9: note: in expansion of macro 'add_to_list'
414 | add_to_list(assoc, repl);
| ^~~~~~~~~~~
types.c:32:13: note: while referencing 'assoc'
32 | struct list assoc={&assoc,&assoc,0,-1,NULL};
| ^~~~~
In file included from types.c:6:
links.h:718:93: warning: array subscript 'struct assoc[0]' is partly outside array bounds of 'struct list_dirty_workaround_for_name_clash_in_stl_with_class_list[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
types.c:414:9: note: in expansion of macro 'add_to_list'
414 | add_to_list(assoc, repl);
| ^~~~~~~~~~~
types.c:32:13: note: while referencing 'assoc'
32 | struct list assoc={&assoc,&assoc,0,-1,NULL};
| ^~~~~
In file included from types.c:6:
links.h:718:67: warning: array subscript 'struct assoc[0]' is partly outside array bounds of 'struct list_dirty_workaround_for_name_clash_in_stl_with_class_list[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
types.c:410:17: note: in expansion of macro 'add_to_list'
410 | add_to_list(assoc, repl);
| ^~~~~~~~~~~
types.c:32:13: note: while referencing 'assoc'
32 | struct list assoc={&assoc,&assoc,0,-1,NULL};
| ^~~~~
In file included from types.c:6:
links.h:718:93: warning: array subscript 'struct assoc[0]' is partly outside array bounds of 'struct list_dirty_workaround_for_name_clash_in_stl_with_class_list[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
types.c:410:17: note: in expansion of macro 'add_to_list'
410 | add_to_list(assoc, repl);
| ^~~~~~~~~~~
types.c:32:13: note: while referencing 'assoc'
32 | struct list assoc={&assoc,&assoc,0,-1,NULL};
| ^~~~~
In file included from types.c:6:
types.c: In function 'update_ext':
links.h:718:67: warning: array subscript 'struct extension[0]' is partly outside array bounds of 'struct list_dirty_workaround_for_name_clash_in_stl_with_class_list[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
types.c:726:9: note: in expansion of macro 'add_to_list'
726 | add_to_list(extensions, repl);
| ^~~~~~~~~~~
types.c:440:13: note: while referencing 'extensions'
440 | struct list extensions = { &extensions, &extensions, 0, -1, NULL };
| ^~~~~~~~~~
In file included from types.c:6:
links.h:718:93: warning: array subscript 'struct extension[0]' is partly outside array bounds of 'struct list_dirty_workaround_for_name_clash_in_stl_with_class_list[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
types.c:726:9: note: in expansion of macro 'add_to_list'
726 | add_to_list(extensions, repl);
| ^~~~~~~~~~~
types.c:440:13: note: while referencing 'extensions'
440 | struct list extensions = { &extensions, &extensions, 0, -1, NULL };
| ^~~~~~~~~~
In file included from types.c:6:
links.h:718:67: warning: array subscript 'struct extension[0]' is partly outside array bounds of 'struct list_dirty_workaround_for_name_clash_in_stl_with_class_list[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
types.c:722:17: note: in expansion of macro 'add_to_list'
722 | add_to_list(extensions, repl);
| ^~~~~~~~~~~
types.c:440:13: note: while referencing 'extensions'
440 | struct list extensions = { &extensions, &extensions, 0, -1, NULL };
| ^~~~~~~~~~
In file included from types.c:6:
links.h:718:93: warning: array subscript 'struct extension[0]' is partly outside array bounds of 'struct list_dirty_workaround_for_name_clash_in_stl_with_class_list[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
types.c:722:17: note: in expansion of macro 'add_to_list'
722 | add_to_list(extensions, repl);
| ^~~~~~~~~~~
types.c:440:13: note: while referencing 'extensions'
440 | struct list extensions = { &extensions, &extensions, 0, -1, NULL };
| ^~~~~~~~~~
In file included from /usr/include/string.h:519,
from links.h:55,
from types.c:6:
In function 'strncpy',
inlined from 'update_prog' at types.c:1031:2:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o terminal.o terminal.c
In file included from terminal.c:6:
terminal.c: In function 'open_in_new_tab':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
terminal.c:542:9: note: in expansion of macro 'add_to_list'
542 | add_to_list(tb->windows, win);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
terminal.c:542:9: note: in expansion of macro 'add_to_list'
542 | add_to_list(tb->windows, win);
| ^~~~~~~~~~~
terminal.c: In function 'new_term_spec':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
terminal.c:711:9: note: in expansion of macro 'add_to_list'
711 | add_to_list(term_specs, t);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
terminal.c:711:9: note: in expansion of macro 'add_to_list'
711 | add_to_list(term_specs, t);
| ^~~~~~~~~~~
terminal.c: In function 'init_term':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
terminal.c:758:9: note: in expansion of macro 'add_to_list'
758 | add_to_list(tb->windows, win);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
terminal.c:758:9: note: in expansion of macro 'add_to_list'
758 | add_to_list(tb->windows, win);
| ^~~~~~~~~~~
terminal.c: In function 'init_gfx_term':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
terminal.c:821:9: note: in expansion of macro 'add_to_list'
821 | add_to_list(tb->windows, win);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
terminal.c:821:9: note: in expansion of macro 'add_to_list'
821 | add_to_list(tb->windows, win);
| ^~~~~~~~~~~
terminal.c: In function 't_kbd':
terminal.c:884:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
884 | if (ev.x == KBD_CTRL_C || ev.x == KBD_CLOSE) ((struct window *)(void *)&term->active_tab->windows)->prev->handler(term->active_tab->windows.prev, &ev, 0);
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
terminal.c:885:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
885 | else ((struct window *)(void *)&term->active_tab->windows)->next->handler(term->active_tab->windows.next, &ev, 0);
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
terminal.c: In function 't_mouse':
terminal.c:898:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
898 | ((struct window *)(void *)&term->active_tab->windows)->next->handler(term->active_tab->windows.next, &ev, 0);
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
terminal.c: In function 'in_term':
terminal.c:961:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
961 | else if (ev->ev == EV_KBD && ev->x == KBD_CTRL_C) ((struct window *)(void *)&term->active_tab->windows)->prev->handler(term->active_tab->windows.prev, ev, 0);
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
terminal.c:962:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
962 | else ((struct window *)(void *)&term->active_tab->windows)->next->handler(term->active_tab->windows.next, ev, 0);
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
terminal.c: In function 'read_string':
terminal.c:1285:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
1285 | fscanf(FIN, "%d:", &len);
| ^~~~~~~~~~~~~~~~~~~~~~~~
terminal.c:1289:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
1289 | fread(str, 1, len, FIN);
| ^~~~~~~~~~~~~~~~~~~~~~~
terminal.c: In function 'read_int':
terminal.c:1300:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
1300 | fscanf(FIN, "%d:", &n);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from terminal.c:6:
terminal.c: In function 'new_term_spec':
links.h:718:67: warning: array subscript 'struct term_spec[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
terminal.c:711:9: note: in expansion of macro 'add_to_list'
711 | add_to_list(term_specs, t);
| ^~~~~~~~~~~
terminal.c:691:18: note: while referencing 'term_specs'
691 | struct list_head term_specs = {&term_specs, &term_specs};
| ^~~~~~~~~~
In file included from terminal.c:6:
links.h:718:93: warning: array subscript 'struct term_spec[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
terminal.c:711:9: note: in expansion of macro 'add_to_list'
711 | add_to_list(term_specs, t);
| ^~~~~~~~~~~
terminal.c:691:18: note: while referencing 'term_specs'
691 | struct list_head term_specs = {&term_specs, &term_specs};
| ^~~~~~~~~~
In file included from terminal.c:6:
terminal.c: In function 'init_term':
links.h:718:67: warning: array subscript 'struct terminal[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
terminal.c:763:9: note: in expansion of macro 'add_to_list'
763 | add_to_list(terminals, term);
| ^~~~~~~~~~~
terminal.c:73:18: note: while referencing 'terminals'
73 | struct list_head terminals = {&terminals, &terminals};
| ^~~~~~~~~
In file included from terminal.c:6:
links.h:718:93: warning: array subscript 'struct terminal[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
terminal.c:763:9: note: in expansion of macro 'add_to_list'
763 | add_to_list(terminals, term);
| ^~~~~~~~~~~
terminal.c:73:18: note: while referencing 'terminals'
73 | struct list_head terminals = {&terminals, &terminals};
| ^~~~~~~~~
In file included from terminal.c:6:
terminal.c: In function 'init_gfx_term':
links.h:718:67: warning: array subscript 'struct terminal[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
terminal.c:822:9: note: in expansion of macro 'add_to_list'
822 | add_to_list(terminals, term);
| ^~~~~~~~~~~
terminal.c:73:18: note: while referencing 'terminals'
73 | struct list_head terminals = {&terminals, &terminals};
| ^~~~~~~~~
In file included from terminal.c:6:
links.h:718:93: warning: array subscript 'struct terminal[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
terminal.c:822:9: note: in expansion of macro 'add_to_list'
822 | add_to_list(terminals, term);
| ^~~~~~~~~~~
terminal.c:73:18: note: while referencing 'terminals'
73 | struct list_head terminals = {&terminals, &terminals};
| ^~~~~~~~~
In file included from /usr/include/string.h:519,
from links.h:55,
from terminal.c:6:
In function 'strncpy',
inlined from 'safe_strncpy' at links.h:641:2,
inlined from 'init_gfx_term' at terminal.c:801:3:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o view_gr.o view_gr.c
view_gr.c: In function 'g_frame_ev':
view_gr.c:1022:60: warning: implicit declaration of function 'back' [-Wimplicit-function-declaration]
1022 | if ((ev->b & BM_BUTT) == B_BACK) { back(ses, NULL, 0); return 0; }
| ^~~~
view_gr.c:1023:63: warning: implicit declaration of function 'forward'; did you mean 'go_forward'? [-Wimplicit-function-declaration]
1023 | if ((ev->b & BM_BUTT) == B_FORWARD) { forward(ses, NULL, 0); return 0; }
| ^~~~~~~
| go_forward
view_gr.c:1098:45: warning: absolute value function 'abs' given an argument of type 'long int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
1098 | if (abs(ev->x - fd->f_data->start_highlight_x) < 8 && abs(ev->y - fd->f_data->start_highlight_y) < 8) goto skip_hl;
| ^~~
view_gr.c:1098:95: warning: absolute value function 'abs' given an argument of type 'long int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
1098 | if (abs(ev->x - fd->f_data->start_highlight_x) < 8 && abs(ev->y - fd->f_data->start_highlight_y) < 8) goto skip_hl;
| ^~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o x.o x.c
x.c: In function 'x_process_events':
x.c:965:41: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]
965 | memset(&m, sizeof(m), 0);
| ^~~~~~
x.c:1025:49: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]
1025 | memset(&m, sizeof(m), 0);
| ^~~~~~
x.c:1303:33: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]
1303 | memset(&m, sizeof(m), 0);
| ^~~~~~
x.c:1379:47: warning: 'last_event.xmotion.state' may be used uninitialized in this function [-Wmaybe-uninitialized]
1379 | if ((last_event.xmotion.state)&Button3Mask)
| ^
x.c:726:16: warning: '*&last_event' may be used uninitialized in this function [-Wmaybe-uninitialized]
726 | XEvent last_event;
| ^~~~~~~~~~
x.c:726:16: warning: '*&last_event' may be used uninitialized in this function [-Wmaybe-uninitialized]
x.c:1359:20: warning: '((Window *)&last_event)[4]' may be used uninitialized in this function [-Wmaybe-uninitialized]
1359 | gd=x_find_gd(&(last_event.xmotion.window));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o session.o session.c
In file included from session.c:6:
session.c: In function 'get_err_msg':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
session.c:110:9: note: in expansion of macro 'add_to_list'
110 | add_to_list(strerror_buf, s);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
session.c:110:9: note: in expansion of macro 'add_to_list'
110 | add_to_list(strerror_buf, s);
| ^~~~~~~~~~~
session.c: In function 'start_download':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
session.c:971:9: note: in expansion of macro 'add_to_list'
971 | add_to_list(downloads, down);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
session.c:971:9: note: in expansion of macro 'add_to_list'
971 | add_to_list(downloads, down);
| ^~~~~~~~~~~
session.c: In function 'request_additional_file':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
session.c:1444:9: note: in expansion of macro 'add_to_list'
1444 | add_to_list(f->af->af, af);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
session.c:1444:9: note: in expansion of macro 'add_to_list'
1444 | add_to_list(f->af->af, af);
| ^~~~~~~~~~~
session.c: In function 'image_timer':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
session.c:1463:25: note: in expansion of macro 'add_to_list'
1463 | add_to_list(new, ir);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
session.c:1463:25: note: in expansion of macro 'add_to_list'
1463 | add_to_list(new, ir);
| ^~~~~~~~~~~
session.c: In function 'refresh_image':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
session.c:1486:9: note: in expansion of macro 'add_to_list'
1486 | add_to_list(fd->f_data->image_refresh, ir);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
session.c:1486:9: note: in expansion of macro 'add_to_list'
1486 | add_to_list(fd->f_data->image_refresh, ir);
| ^~~~~~~~~~~
session.c: In function 'continue_download':
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:65: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
session.c:2290:9: note: in expansion of macro 'add_to_list'
2290 | add_to_list(downloads, down);
| ^~~~~~~~~~~
links.h:719:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^
links.h:718:91: note: in definition of macro 'add_at_pos'
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^
session.c:2290:9: note: in expansion of macro 'add_to_list'
2290 | add_to_list(downloads, down);
| ^~~~~~~~~~~
session.c: In function 'access_key_handler':
session.c:3029:31: warning: this statement may fall through [-Wimplicit-fallthrough=]
3029 | ev->x = -1;
| ~~~~~~^~~~
session.c:3030:17: note: here
3030 | case EV_KBD: ;
| ^~~~
session.c: In function 'win_func':
session.c:3278:70: warning: this statement may fall through [-Wimplicit-fallthrough=]
3278 | if (!(ses = win->data = create_session(win)) || read_session_info(ses, (char *)ev->b + sizeof(int), *(int *)ev->b)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
session.c:3282:17: note: here
3282 | case EV_RESIZE:
| ^~~~
In file included from session.c:6:
session.c: In function 'image_timer':
links.h:718:67: warning: array subscript 'struct image_refresh[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
session.c:1463:25: note: in expansion of macro 'add_to_list'
1463 | add_to_list(new, ir);
| ^~~~~~~~~~~
session.c:1454:26: note: while referencing 'new'
1454 | struct list_head new;
| ^~~
In file included from session.c:6:
links.h:718:93: warning: array subscript 'struct image_refresh[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
session.c:1463:25: note: in expansion of macro 'add_to_list'
1463 | add_to_list(new, ir);
| ^~~~~~~~~~~
session.c:1454:26: note: while referencing 'new'
1454 | struct list_head new;
| ^~~
In file included from session.c:6:
session.c: In function 'get_err_msg':
links.h:718:67: warning: array subscript 'struct strerror_val[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
session.c:110:9: note: in expansion of macro 'add_to_list'
110 | add_to_list(strerror_buf, s);
| ^~~~~~~~~~~
session.c:88:18: note: while referencing 'strerror_buf'
88 | struct list_head strerror_buf = { &strerror_buf, &strerror_buf };
| ^~~~~~~~~~~~
In file included from session.c:6:
links.h:718:93: warning: array subscript 'struct strerror_val[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
session.c:110:9: note: in expansion of macro 'add_to_list'
110 | add_to_list(strerror_buf, s);
| ^~~~~~~~~~~
session.c:88:18: note: while referencing 'strerror_buf'
88 | struct list_head strerror_buf = { &strerror_buf, &strerror_buf };
| ^~~~~~~~~~~~
In file included from session.c:6:
session.c: In function 'continue_download':
links.h:718:67: warning: array subscript 'struct download[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
session.c:2290:9: note: in expansion of macro 'add_to_list'
2290 | add_to_list(downloads, down);
| ^~~~~~~~~~~
session.c:8:18: note: while referencing 'downloads'
8 | struct list_head downloads = {&downloads, &downloads};
| ^~~~~~~~~
In file included from session.c:6:
links.h:718:93: warning: array subscript 'struct download[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
session.c:2290:9: note: in expansion of macro 'add_to_list'
2290 | add_to_list(downloads, down);
| ^~~~~~~~~~~
session.c:8:18: note: while referencing 'downloads'
8 | struct list_head downloads = {&downloads, &downloads};
| ^~~~~~~~~
In file included from session.c:6:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'continue_download' at session.c:2268:20:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from session.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'continue_download' at session.c:2268:20:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from session.c:6:
session.c: In function 'start_download':
links.h:718:67: warning: array subscript 'struct download[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
session.c:971:9: note: in expansion of macro 'add_to_list'
971 | add_to_list(downloads, down);
| ^~~~~~~~~~~
session.c:8:18: note: while referencing 'downloads'
8 | struct list_head downloads = {&downloads, &downloads};
| ^~~~~~~~~
In file included from session.c:6:
links.h:718:93: warning: array subscript 'struct download[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
session.c:971:9: note: in expansion of macro 'add_to_list'
971 | add_to_list(downloads, down);
| ^~~~~~~~~~~
session.c:8:18: note: while referencing 'downloads'
8 | struct list_head downloads = {&downloads, &downloads};
| ^~~~~~~~~
In file included from session.c:6:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'start_download' at session.c:966:20:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from session.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'start_download' at session.c:966:20:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from session.c:6:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'vysad_okno' at session.c:2454:22:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from session.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'vysad_okno' at session.c:2454:22:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from session.c:6:
In function 'add_to_strn',
inlined from 'vysad_okno' at session.c:2455:3:
links.h:501:21: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
501 | size_t l1 = strlen((char *)*s), l2 = strlen((char *)a);
| ^~~~~~~~~~~~~~~~~~
In file included from session.c:6:
session.c: In function 'create_session':
links.h:718:67: warning: array subscript 'struct session[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
session.c:2800:9: note: in expansion of macro 'add_to_list'
2800 | add_to_list(sessions, ses);
| ^~~~~~~~~~~
session.c:80:18: note: while referencing 'sessions'
80 | struct list_head sessions = {&sessions, &sessions};
| ^~~~~~~~
In file included from session.c:6:
links.h:718:93: warning: array subscript 'struct session[0]' is partly outside array bounds of 'struct list_head[1]' [-Warray-bounds]
718 | #define add_at_pos(p,x) do {do_not_optimize_here(p); (x)->next=(p)->next; (x)->prev=(p); (p)->next=(x); (x)->next->prev=(x);do_not_optimize_here(p);} while(0)
| ^~
links.h:719:26: note: in expansion of macro 'add_at_pos'
719 | #define add_to_list(l,x) add_at_pos((typeof(x))(void *)&(l),(x))
| ^~~~~~~~~~
session.c:2800:9: note: in expansion of macro 'add_to_list'
2800 | add_to_list(sessions, ses);
| ^~~~~~~~~~~
session.c:80:18: note: while referencing 'sessions'
80 | struct list_head sessions = {&sessions, &sessions};
| ^~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -c -o view.o view.c
view.c: In function 'draw_link':
view.c:587:80: warning: overflow in conversion from 'unsigned int' to 'int' changes value from '(scr->link_bg + (sizetype)((long unsigned int)i * 12))->c = 4294967295' to '-1' [-Woverflow]
587 | } else scr->link_bg[i].x = scr->link_bg[i].y = scr->link_bg[i].c = -1;
| ^~~
view.c: In function 'encode_multipart':
view.c:2174:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
2174 | for (j = BL - 1; j >= 0; j--)
| ^~~
view.c:2176:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
2176 | if (bound[j]++ >= '9') bound[j] = '0';
| ^~
view.c: In function 'draw_subtabs':
view.c:1076:25: warning: 'semiactive_style' may be used uninitialized in this function [-Wmaybe-uninitialized]
1076 | g_print_text(term->dev->drv, term->dev, x1 + 5, y1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1077 | is_active ? active_style :
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
1078 | semiactive ? semiactive_style : bfu_style_bw, msg, &xr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
view.c:1076:25: warning: 'active_style' may be used uninitialized in this function [-Wmaybe-uninitialized]
view.c:1075:71: warning: 'semiactive_color' may be used uninitialized in this function [-Wmaybe-uninitialized]
1075 | semiactive ? semiactive_color : bfu_bg_color);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
view.c:1073:25: warning: 'active_color' may be used uninitialized in this function [-Wmaybe-uninitialized]
1073 | term->dev->drv->fill_area(term->dev, x1, y1, x1 + 5, y2,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1074 | is_active ? active_color :
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
1075 | semiactive ? semiactive_color : bfu_bg_color);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from view.c:6:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'encode_controls' at view.c:2074:13:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from view.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'encode_controls' at view.c:2074:13:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from view.c:6:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'encode_multipart' at view.c:2134:13:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from view.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'encode_multipart' at view.c:2134:13:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from view.c:6:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'frm_download_image' at view.c:3901:21:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from view.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'frm_download_image' at view.c:3901:21:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from view.c:6:
In function 'memacpy',
inlined from 'stracpy' at links.h:441:15,
inlined from 'copy_url_location' at view.c:3979:50:
links.h:435:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
435 | m[len] = 0;
| ~~~~~~~^~~
view.c: In function 'copy_url_location':
view.c:3980:69: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
3980 | if (strchr(url, POST_CHAR)) *strchr(url, POST_CHAR) = 0;
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from /usr/include/string.h:519,
from links.h:55,
from view.c:6:
In function 'memcpy',
inlined from 'memacpy' at links.h:434:2,
inlined from 'stracpy' at links.h:441:15,
inlined from 'copy_url_location' at view.c:3979:50:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
view.c: In function 'copy_url_location':
view.c:3980:21: warning: 'strchr' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
3980 | if (strchr(url, POST_CHAR)) *strchr(url, POST_CHAR) = 0;
| ^~~~~~~~~~~~~~~~~~~~~~
view.c: In function 'print_current_linkx':
view.c:4345:16: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
4345 | return m;
| ^
view.c:4237:24: note: 'm' declared here
4237 | unsigned char *m;
| ^
view.c: In function 'print_current_linkx_plus':
view.c:4480:16: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
4480 | return m;
| ^
view.c:4355:24: note: 'm' declared here
4355 | unsigned char *m;
| ^
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wextra -Wno-unused -Wno-pointer-sign -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o links af_unix.o auth.o beos.o bfu.o block.o bookmarks.o cache.o charsets.o connect.o cookies.o default.o dip.o directfb.o dither.o dns.o drivers.o error.o file.o finger.o font_include.o framebuffer.o ftp.o gif.o html.o html_gr.o html_r.o html_tbl.o http.o https.o img.o imgcache.o jpeg.o jsint.o kbd.o language.o links_icon.o listedit.o lru.o mailto.o main.o menu.o memory.o objreq.o os_dep.o pmshell.o png.o sched.o select.o session.o smb.o svgalib.o terminal.o tiff.o types.o url.o view.o view_gr.o x.o xbm.o -ltiff -ljpeg -lpng16 -lz -lz -lX11 -lbz2 -lz -lssl -lcrypto -ldl -lgpm -lm
/usr/bin/ld: session.o: in function `get_temp_name':
/home/iurt/rpmbuild/BUILD/linkx/linkx/session.c:893: warning: the use of `tempnam' is dangerous, better use `mkstemp'
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.W2jmNJ
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64 '!=' / ']'
+ rm -rf /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64
++ dirname /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT
+ mkdir /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64
+ cd linkx/linkx
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64 'INSTALL=/usr/bin/install -p'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
/usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/bin'
/usr/bin/install -p links '/home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/bin'
/usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/share/man/man1'
/usr/bin/install -p -m 644 links.1 '/home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/share/man/man1'
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/linkx/linkx'
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/share/applications
+ cat
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/share/pixmaps
+ install -m 0644 links_32x32.xpm /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/share/pixmaps/linkx.xpm
+ mv /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/bin/links /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/bin/linkx
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.2-25.mga9 --unique-debug-suffix -2.2-25.mga9.aarch64 --unique-debug-src-base linkx-2.2-25.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/linkx/linkx
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/bin/linkx
dwz: ./usr/bin/linkx-2.2-25.mga9.aarch64.debug: Unknown debugging section .debug_line_str
original debug info size: 3572kB, size after compression: 3572kB
/usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match.
15279 blocks
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: linkx-2.2-25.mga9.aarch64
Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.TbvbsX
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd linkx/linkx
+ DOCDIR=/home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/share/doc/linkx
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/share/doc/linkx
+ cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/share/doc/linkx
+ cp -pr BUGS /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/share/doc/linkx
+ cp -pr ChangeLog /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/share/doc/linkx
+ cp -pr README /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/share/doc/linkx
+ cp -pr SITES /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/share/doc/linkx
+ cp -pr TODO /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64/usr/share/doc/linkx
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: application() application(mageia-linkx.desktop) linkx = 2.2-25.mga9 linkx(aarch-64) = 2.2-25.mga9 webclient
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libX11.so.6()(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgpm.so.2()(64bit) libjpeg.so.8()(64bit) libjpeg.so.8(LIBJPEG_8.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libtiff.so.5()(64bit) libtiff.so.5(LIBTIFF_4.0)(64bit) libz.so.1()(64bit)
Processing files: linkx-debugsource-2.2-25.mga9.aarch64
Provides: linkx-debugsource = 2.2-25.mga9 linkx-debugsource(aarch-64) = 2.2-25.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: linkx-debuginfo-2.2-25.mga9.aarch64
Provides: debuginfo(build-id) = eb42068ea51b67be3188f5c7194d44ecdc8fce22 linkx-debuginfo = 2.2-25.mga9 linkx-debuginfo(aarch-64) = 2.2-25.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: linkx-debugsource(aarch-64) = 2.2-25.mga9
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/linkx-2.2-25.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/linkx-debuginfo-2.2-25.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/linkx-debugsource-2.2-25.mga9.aarch64.rpm
Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.TN1L9w
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd linkx/linkx
+ /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/linkx-2.2-25.mga9.aarch64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.gb00Ry
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf linkx/linkx
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!