>>> lighttpd 1.4.60 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-0/output-1/build/.lighttpd-1.4.60.tar.xz.eYbDKJ/output' 'http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.60.tar.xz' --2021-10-28 16:24:56-- http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.60.tar.xz Resolving download.lighttpd.net (download.lighttpd.net)... 5.9.70.195, 2a01:4f8:161:80c9::2 Connecting to download.lighttpd.net (download.lighttpd.net)|5.9.70.195|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1008548 (985K) [application/x-xz] Saving to: '/tmp/instance-0/output-1/build/.lighttpd-1.4.60.tar.xz.eYbDKJ/output' 0K .......... .......... .......... .......... .......... 5% 165K 6s 50K .......... .......... .......... .......... .......... 10% 320K 4s 100K .......... .......... .......... .......... .......... 15% 608K 3s 150K .......... .......... .......... .......... .......... 20% 680K 2s 200K .......... .......... .......... .......... .......... 25% 1.06M 2s 250K .......... .......... .......... .......... .......... 30% 1.31M 2s 300K .......... .......... .......... .......... .......... 35% 1.44M 1s 350K .......... .......... .......... .......... .......... 40% 1.66M 1s 400K .......... .......... .......... .......... .......... 45% 1.89M 1s 450K .......... .......... .......... .......... .......... 50% 2.17M 1s 500K .......... .......... .......... .......... .......... 55% 2.31M 1s 550K .......... .......... .......... .......... .......... 60% 2.61M 1s 600K .......... .......... .......... .......... .......... 65% 2.85M 0s 650K .......... .......... .......... .......... .......... 71% 3.25M 0s 700K .......... .......... .......... .......... .......... 76% 3.32M 0s 750K .......... .......... .......... .......... .......... 81% 3.60M 0s 800K .......... .......... .......... .......... .......... 86% 3.96M 0s 850K .......... .......... .......... .......... .......... 91% 4.25M 0s 900K .......... .......... .......... .......... .......... 96% 4.16M 0s 950K .......... .......... .......... .... 100% 4.84M=1.0s 2021-10-28 16:24:58 (1.01 MB/s) - '/tmp/instance-0/output-1/build/.lighttpd-1.4.60.tar.xz.eYbDKJ/output' saved [1008548/1008548] lighttpd-1.4.60.tar.xz: OK (sha256: 4bb1dd859e541a3131e5be101557d2e1195b4129d3a849a3a6fbd21fe1c946f0) >>> lighttpd 1.4.60 Extracting xzcat /tmp/instance-0/dl/lighttpd/lighttpd-1.4.60.tar.xz | tar --strip-components=1 -C /tmp/instance-0/output-1/build/lighttpd-1.4.60 -xf - >>> lighttpd 1.4.60 Patching Applying 0001-Fix-default-config-file.patch using patch: patching file doc/config/conf.d/access_log.conf patching file doc/config/lighttpd.conf >>> lighttpd 1.4.60 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-0/output-1/build/lighttpd-1.4.60 -name $file); do cp support/gnuconfig/$file $i; done; done >>> lighttpd 1.4.60 Patching libtool patching file /tmp/instance-0/output-1/build/lighttpd-1.4.60/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8142 (offset 30 lines). Hunk #8 succeeded at 10771 (offset 61 lines). >>> lighttpd 1.4.60 Configuring (cd /tmp/instance-0/output-1/build/lighttpd-1.4.60/ && rm -rf config.cache && PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ar" AS="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-as" LD="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ld" NM="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-nm" CC="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc" GCC="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc" CPP="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-cpp" CXX="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++" FC="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gfortran" F77="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gfortran" RANLIB="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ranlib" READELF="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-readelf" STRIP="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-strip" OBJCOPY="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-objcopy" OBJDUMP="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/tmp/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-0/output-1/host/lib -Wl,-rpath,/tmp/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-as" DEFAULT_LINKER="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/tmp/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-linux-gnueabi --host=arm-buildroot-linux-gnueabi --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --without-wolfssl --libdir=/usr/lib/lighttpd --libexecdir=/usr/lib --without-openssl --without-pam --without-zlib --without-bzip2 --without-pcre --without-webdav-props --without-webdav-locks --without-lua ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-nls checking build system type... x86_64-pc-linux-gnu checking host system type... arm-buildroot-linux-gnueabi checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-buildroot-linux-gnueabi-strip... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '1002' is supported by ustar format... yes checking whether GID '1002' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking for arm-buildroot-linux-gnueabi-gcc... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc accepts -g... yes checking for /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc option to accept ISO C89... none needed checking whether /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc... none checking how to run the C preprocessor... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-cpp checking for x86_64-pc-linux-gnu-gcc... /usr/bin/gcc checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking whether /usr/bin/gcc understands -c and -o together... yes checking dependency style of /usr/bin/gcc... none 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 how to run the C preprocessor... /usr/bin/gcc -E checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking how to print strings... printf checking for ld used by /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ld checking if the linker (/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ld) is GNU ld... yes checking how to run the C preprocessor... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-cpp checking whether make sets $(MAKE)... (cached) yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for arm-buildroot-linux-gnueabi-ar... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ar checking the archiver (/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ar) interface... ar checking for inline... inline checking for C/C++ restrict keyword... __restrict checking for BSD- or MS-compatible name lister (nm)... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-nm checking the name lister (/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to arm-buildroot-linux-gnueabi format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ld option to reload object files... -r checking for arm-buildroot-linux-gnueabi-objdump... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-objdump checking how to recognize dependent libraries... pass_all checking for arm-buildroot-linux-gnueabi-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-buildroot-linux-gnueabi-ar... (cached) /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ar checking for archiver @FILE support... @ checking for arm-buildroot-linux-gnueabi-strip... (cached) /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-strip checking for arm-buildroot-linux-gnueabi-ranlib... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ranlib checking command to parse /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-nm output from /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for arm-buildroot-linux-gnueabi-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no checking for /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC checking if /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc static flag -static works... yes checking if /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc supports -c -o file.o... yes checking if /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc supports -c -o file.o... (cached) yes checking whether the /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc linker (/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... cross checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for sys/wait.h that is POSIX.1 compatible... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for inttypes.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking port.h usability... no checking port.h presence... no checking for port.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for stdlib.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking sys/devpoll.h usability... no checking sys/devpoll.h presence... no checking for sys/devpoll.h... no checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sendfile.h usability... yes checking sys/sendfile.h presence... yes checking for sys/sendfile.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking for an ANSI C-conforming const... yes checking for inline... (cached) inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for struct tm.tm_gmtoff... yes checking for socklen_t... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking for library containing accept... none required checking for library containing clock_gettime... none required checking for library containing elftc_copyfile... no checking for library containing dlopen... -ldl checking for dlfcn.h... (cached) yes checking pkg-config is at least version 0.9.0... yes configure: ---------------------------------------- checking for libev support... no configure: ---------------------------------------- checking for MySQL support... no configure: ---------------------------------------- checking for PgSQL support... no configure: ---------------------------------------- checking for LibDBI support... no configure: ---------------------------------------- checking for LibSASL support... no configure: ---------------------------------------- checking for LDAP support... no configure: ---------------------------------------- checking for PAM support... no configure: ---------------------------------------- checking for extended attributes support... no configure: ---------------------------------------- checking for valgrind... no configure: ---------------------------------------- checking for libunwind... no configure: ---------------------------------------- checking for kerberos5... no checking custom include directory for kerberos5... no checking custom lib directory for kerberos5... no configure: ---------------------------------------- checking for OpenSSL... no checking custom include directory for openssl... no checking custom lib directory for openssl... no configure: ---------------------------------------- checking for wolfSSL... no configure: ---------------------------------------- checking for mbedTLS... no configure: ---------------------------------------- checking for Nettle... no configure: ---------------------------------------- checking for GnuTLS... no configure: ---------------------------------------- checking for NSS... no configure: ---------------------------------------- checking for perl regular expressions support... no configure: ---------------------------------------- checking for zlib support... no configure: ---------------------------------------- checking for zstd support... no configure: ---------------------------------------- checking for bzip2 support... no configure: ---------------------------------------- checking for brotli support... no configure: ---------------------------------------- checking for FAM... no configure: ---------------------------------------- checking for properties in mod_webdav... no configure: ---------------------------------------- checking for locks in mod_webdav... no configure: ---------------------------------------- checking for xxhash support... no configure: ---------------------------------------- checking for gdbm... no configure: ---------------------------------------- checking for GeoIP... no configure: ---------------------------------------- checking for maxminddb... no configure: ---------------------------------------- checking for memcached... no configure: ---------------------------------------- checking if lua-support is requested... no configure: ---------------------------------------- checking for library containing crypt_r... -lcrypt checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking crypt_r/crypt support... crypt_r configure: ---------------------------------------- checking for library containing sendfilev... no checking solaris sendfilev present... no configure: ---------------------------------------- checking for arc4random_buf... no checking for chroot... yes checking for clock_gettime... yes checking for copy_file_range... no checking for epoll_ctl... yes checking for explicit_bzero... no checking for explicit_memset... no checking for fork... yes checking for getloadavg... yes checking for getrlimit... yes checking for getuid... yes checking for gmtime_r... yes checking for inet_aton... yes checking for inet_pton... yes checking for issetugid... no checking for jrand48... yes checking for kqueue... no checking for localtime_r... yes checking for lstat... yes checking for madvise... yes checking for malloc_trim... yes checking for mallopt... yes checking for memcpy... yes checking for mempcpy... yes checking for memset... yes checking for memset_s... no checking for mkostemp... yes checking for mmap... yes checking for pathconf... yes checking for pipe2... yes checking for poll... yes checking for port_create... no checking for pread... yes checking for pwrite... yes checking for select... yes checking for send_file... no checking for sendfile... yes checking for sendfile64... yes checking for sigaction... yes checking for signal... yes checking for splice... yes checking for srandom... yes checking for strerror_r... yes checking for timegm... yes checking for writev... yes checking sys/random.h usability... no checking sys/random.h presence... no checking for sys/random.h... no checking linux/random.h usability... yes checking linux/random.h presence... yes checking for linux/random.h... yes checking for getrandom... no configure: ---------------------------------------- checking if weak symbols are supported... yes configure: ---------------------------------------- checking for Large File System support... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no configure: ---------------------------------------- checking if sendfile works... configure: ---------------------------------------- checking for IPv6 support... yes configure: ---------------------------------------- checking use mmap if available... false configure: ---------------------------------------- checking if /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc supports -pipe -Wall -W -Wshadow -pedantic... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating distribute.sh config.status: creating doc/config/conf.d/Makefile config.status: creating doc/config/Makefile config.status: creating doc/config/vhosts.d/Makefile config.status: creating doc/Makefile config.status: creating doc/outdated/Makefile config.status: creating doc/scripts/Makefile config.status: creating doc/systemd/Makefile config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/docroot/Makefile config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-nls Plugins: enabled: mod_access mod_accesslog mod_ajp13 mod_alias mod_auth mod_authn_file mod_cgi mod_deflate mod_dirlisting mod_evhost mod_expire mod_extforward mod_fastcgi mod_flv_streaming mod_indexfile mod_proxy mod_redirect mod_rewrite mod_rrdtool mod_scgi mod_secdownload mod_setenv mod_simple_vhost mod_sockproxy mod_ssi mod_staticfile mod_status mod_userdir mod_usertrack mod_vhostdb mod_webdav mod_wstunnel disabled: mod_authn_dbi mod_authn_gssapi mod_authn_ldap mod_authn_mysql mod_authn_pam mod_cml mod_geoip mod_gnutls mod_magnet mod_maxminddb mod_mbedtls mod_mysql_vhost mod_nss mod_openssl mod_trigger_b4_dl mod_vhostdb_dbi mod_vhostdb_ldap mod_vhostdb_mysql mod_vhostdb_pgsql mod_wolfssl Features: enabled: auth-crypt large-files network-ipv6 stat-cache-inotify disabled: compress-brotli compress-bzip2 compress-deflate compress-gzip dbi geoip kerberos ldap lua maxminddb mysql network-gnutls network-mbedtls network-nss network-openssl network-wolfssl pam postgresql regex-conditionals storage-gdbm storage-memcached webdav-locks webdav-properties >>> lighttpd 1.4.60 Building PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j32 -C /tmp/instance-0/output-1/build/lighttpd-1.4.60/ make[1]: Entering directory '/tmp/instance-0/output-1/build/lighttpd-1.4.60' /usr/bin/make all-recursive Making all in src /usr/bin/gcc -I/tmp/instance-0/output-1/host/include -O2 -I/tmp/instance-0/output-1/host/include -L/tmp/instance-0/output-1/host/lib -Wl,-rpath,/tmp/instance-0/output-1/host/lib -o lemon ./lemon.c rm -f configparser.h rm -f mod_ssi_exprparser.h ../src/lemon -q ./configparser.y ./lempar.c ../src/lemon -q ./mod_ssi_exprparser.y ./lempar.c /usr/bin/make all-am /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o array.o array.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o buffer.o buffer.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o ck.o ck.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o burl.o burl.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o base64.o base64.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o data_config.o data_config.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o http_header.o http_header.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o http_kv.o http_kv.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o vector.o vector.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o log.o log.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o fdlog.o fdlog.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o sock_addr.o sock_addr.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o request.o request.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o fdevent.o fdevent.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o http_etag.o http_etag.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o stat_cache.o stat_cache.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o algo_splaytree.o algo_splaytree.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o t/test_mod_simple_vhost.o t/test_mod_simple_vhost.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o t/test_mod_staticfile.o t/test_mod_staticfile.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o chunk.o chunk.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o http-header-glue.o http-header-glue.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o http_cgi.o http_cgi.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o http_chunk.o http_chunk.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o http_date.o http_date.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o t/test_mod_userdir.o t/test_mod_userdir.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o t/test_request.o t/test_request.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o lighttpd-server.o `test -f 'server.c' || echo './'`server.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o lighttpd-response.o `test -f 'response.c' || echo './'`response.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o lighttpd-connections.o `test -f 'connections.c' || echo './'`connections.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o lighttpd-h2.o `test -f 'h2.c' || echo './'`h2.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o lighttpd-reqpool.o `test -f 'reqpool.c' || echo './'`reqpool.c /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wall -W -Wshadow -pedantic -c -o lighttpd-sock_addr_cache.o `test -f 'sock_addr_cache.c' || echo './'`sock_addr_cache.c In file included from base64.c:3:0: base64.h:9:12: warning: comma at end of enumerator list [-Wpedantic] BASE64_URL, ^ In file included from fdlog.c:2:0: fdlog.h:13:3: warning: redefinition of typedef 'fdlog_st' [-Wpedantic] } fdlog_st; ^ In file included from fdlog.h:5:0, from fdlog.c:2: base_decls.h:28:25: note: previous declaration of 'fdlog_st' was here typedef struct fdlog_st fdlog_st; ^ base64.c: In function 'li_base64_enc': base64.c:101:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default] force_assert(in_length <= 3221225469); /* (3221225469+2) / 3 * 4 < UINT32_MAX */ ^ In file included from algo_splaytree.h:17:0, from algo_splaytree.c:51: algo_md.h: In function 'djbhash': algo_md.h:23:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < len; ++i) hash = ((hash << 5) + hash) ^ s[i]; ^ algo_md.h:23:5: note: use option -std=c99 or -std=gnu99 to compile your code algo_md.h: In function 'dekhash': algo_md.h:38:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < len; ++i) hash = (hash << 5) ^ (hash >> 27) ^ s[i]; ^ In file included from stat_cache.h:6:0, from stat_cache.c:3: sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] In file included from burl.c:13:0: base64.h:9:12: warning: comma at end of enumerator list [-Wpedantic] BASE64_URL, ^ In file included from log.c:11:0: sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] In file included from configfile.h:9:0, from data_config.c:4: configfile.h: In function 'vector_config_weak_clear': vector.h:39:16: error: 'for' loop initial declarations are only allowed in C99 mode if (release) for (size_t i = 0; i < v->used; ++i) release(v->data[i]); \ ^ vector.h:68:2: note: in expansion of macro 'DEFINE_TYPED_VECTOR' DEFINE_TYPED_VECTOR(name, entry, ((void(*)(entry)) NULL)) \ ^ configfile.h:21:1: note: in expansion of macro 'DEFINE_TYPED_VECTOR_NO_RELEASE' DEFINE_TYPED_VECTOR_NO_RELEASE(config_weak, data_config*); ^ vector.h:39:16: note: use option -std=c99 or -std=gnu99 to compile your code if (release) for (size_t i = 0; i < v->used; ++i) release(v->data[i]); \ ^ vector.h:68:2: note: in expansion of macro 'DEFINE_TYPED_VECTOR' DEFINE_TYPED_VECTOR(name, entry, ((void(*)(entry)) NULL)) \ ^ configfile.h:21:1: note: in expansion of macro 'DEFINE_TYPED_VECTOR_NO_RELEASE' DEFINE_TYPED_VECTOR_NO_RELEASE(config_weak, data_config*); ^ burl.c: In function 'burl_normalize_basic_unreserved': burl.c:105:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < used; ++i) { ^ burl.c:105:5: note: use option -std=c99 or -std=gnu99 to compile your code In file included from request.h:5:0, from request.c:10: sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] burl.c: In function 'burl_normalize_basic_required': burl.c:180:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < used; ++i) { ^ In file included from chunk.c:9:0: chunk.h:17:22: warning: redefinition of typedef 'fdlog_st' [-Wpedantic] #define log_error_st fdlog_st ^ base_decls.h:29:25: note: in expansion of macro 'log_error_st' typedef struct fdlog_st log_error_st; ^ In file included from fdevent.h:5:0, from chunk.c:10: base_decls.h:28:25: note: previous declaration of 'fdlog_st' was here typedef struct fdlog_st fdlog_st; ^ http_kv.c: In function 'get_http_method_key': http_kv.c:190:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const buffer *kv = http_methods; ^ http_kv.c:193:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint_fast32_t i = kv - http_methods; ^ burl.c: In function 'burl_contains_ctrls': In file included from algo_splaytree.h:17:0, from stat_cache.c:7: algo_md.h: In function 'djbhash': burl.c:212:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < used; ++i) { ^ algo_md.h:23:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < len; ++i) hash = ((hash << 5) + hash) ^ s[i]; ^ http_kv.c: In function 'http_status_append': algo_md.h:23:5: note: use option -std=c99 or -std=gnu99 to compile your code http_kv.c:209:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const keyvalue * const kv = keyvalue_from_key(http_status, status); ^ algo_md.h: In function 'dekhash': algo_md.h:38:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < len; ++i) hash = (hash << 5) ^ (hash >> 27) ^ s[i]; ^ In file included from http-header-glue.c:3:0: sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] burl.c: In function 'burl_normalize_2F_to_slash': burl.c:278:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < used; ++i) { ^ burl.c: In function 'burl_normalize_path': burl.c:294:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0, len = qs < 0 ? used : qs; i < len; ++i) { ^ burl.c: In function 'burl_append_encode_nde': burl.c:379:5: error: 'for' loop initial declarations are only allowed in C99 mode for (unsigned int i = 0; i < len; ++i, ++j) { ^ In file included from request.h:5:0, from http_header.c:15: sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] burl.c: In function 'burl_append_encode_psnde': burl.c:413:5: error: 'for' loop initial declarations are only allowed in C99 mode for (unsigned int i = 0; i < len; ++i, ++j) { ^ In file included from buffer.c:7:0: sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] burl.c: In function 'burl_append_encode_all': burl.c:446:5: error: 'for' loop initial declarations are only allowed in C99 mode for (unsigned int i = 0; i < len; ++i, ++j) { ^ burl.c: In function 'burl_offset_tolower': burl.c:463:5: error: 'for' loop initial declarations are only allowed in C99 mode for (char *p = b->ptr+off; p[0]; ++p) { ^ buffer.c: In function 'buffer_alloc_replace': buffer.c:90:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const size_t bsize2x = (b->size & ~1uL) << 1; ^ burl.c: In function 'burl_offset_toupper': burl.c:474:5: error: 'for' loop initial declarations are only allowed in C99 mode for (char *p = b->ptr+off; p[0]; ++p) { ^ array.c: In function 'array_free_data': buffer.c: In function 'buffer_string_prepare_append_resize': array.c:138:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] data_unset ** const data = a->data; ^ buffer.c:117:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const size_t bsize2x = (b->size & ~1uL) << 1; ^ array.c:140:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < sz; ++i) { ^ array.c:140:2: note: use option -std=c99 or -std=gnu99 to compile your code array.c: In function 'array_copy_array': array.c:155:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < src->used; ++i) { ^ array.c: In function 'array_reset_data_strings': array.c:169:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] data_string ** const data = (data_string **)a->data; ^ array.c:172:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < used; ++i) { ^ array.c: In function 'array_caseless_compare': buffer.c: In function 'buffer_copy_string_len': array.c:197:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < len; ++i) { ^ buffer.c:179:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char * const restrict d = (len < b->size) ^ buffer.c: In function 'buffer_append_iovec': buffer.c:228:5: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0; i < n; ++i) ^ buffer.c:228:5: note: use option -std=c99 or -std=gnu99 to compile your code buffer.c:230:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char *s = buffer_extend(b, len); ^ In file included from http_etag.c:14:0: algo_md.h: In function 'djbhash': algo_md.h:23:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < len; ++i) hash = ((hash << 5) + hash) ^ s[i]; ^ algo_md.h:23:5: note: use option -std=c99 or -std=gnu99 to compile your code buffer.c:231:17: error: redefinition of 'i' for (size_t i = 0; i < n; ++i) { ^ buffer.c:228:17: note: previous definition of 'i' was here for (size_t i = 0; i < n; ++i) ^ algo_md.h: In function 'dekhash': buffer.c:231:5: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0; i < n; ++i) { ^ algo_md.h:38:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < len; ++i) hash = (hash << 5) ^ (hash >> 27) ^ s[i]; ^ http_etag.c: In function 'http_etag_matches': http_etag.c:23:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint32_t etag_sz = buffer_clen(etag); ^ array.c: In function 'array_extract_element_klen': array.c:308:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] data_unset * const entry = a->sorted[ipos]; ^ buffer.c: In function 'buffer_copy_string_len_lc': buffer.c:279:5: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0; i < len; ++i) ^ http_etag.c: In function 'http_etag_create': array.c: In function 'array_insert_data_at_pos': http_etag.c:70:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint64_t x[4]; ^ array.c:366:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint_fast32_t ndx = a->used++; ^ array.c:371:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] data_unset ** const d = a->sorted + pos; ^ buffer.c: In function 'buffer_append_strftime': array.c: In function 'array_get_buf_ptr_ext': buffer.c:343:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] size_t rv = strftime(buffer_string_prepare_append(b, 63), 64, format, tm); ^ array.c:400:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] data_string * const ds = array_insert_string_at_pos(a, (uint32_t)(-ipos-1)); ^ array.c: In function 'array_get_int_ptr': In file included from http_date.h:11:0, from http_date.c:7: sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] array.c:411:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] data_integer * const di =array_insert_integer_at_pos(a,(uint32_t)(-ipos-1)); ^ http_header.c: In function 'http_header_remove_token': http_header.c:170:5: error: 'for' loop initial declarations are only allowed in C99 mode for (char *s = b->ptr; s; ) { ^ http_header.c:170:5: note: use option -std=c99 or -std=gnu99 to compile your code array.c: In function 'array_get_buf_ptr': array.c:421:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] data_string * const ds = array_insert_string_at_pos(a, (uint32_t)(-ipos-1)); ^ buffer.c: In function 'li_hex2bin': buffer.c:396:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0, ilen = (int)len; i < ilen; i+=2) { ^ array.c: In function 'array_find_or_insert': array.c:445:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int32_t ipos = array_get_index(a, BUF_PTR_LEN(&entry->key)); ^ buffer.c: In function 'buffer_eq_icase_ssn': array.c: In function 'array_replace': make[4]: *** [Makefile:2621: algo_splaytree.o] Error 1 buffer.c:413:5: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0; i < len; ++i) { ^ make[4]: *** Waiting for unfinished jobs.... http_header.c: In function 'http_header_response_set_ptr': array.c:457:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int32_t ipos = array_get_index(a, BUF_PTR_LEN(&entry->key)); ^ http_header.c:232:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const vb = array_get_buf_ptr_ext(&r->resp_headers, id, k, klen); ^ http_header.c: In function 'http_header_response_append': array.c:459:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] data_unset *old = a->sorted[ipos]; ^ buffer.c: In function 'li_tohex_lc': http_header.c:261:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const vb = array_get_buf_ptr_ext(&r->resp_headers, id, k, klen); ^ buffer.c:459:2: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0; i < s_len; ++i) { ^ http_header.c: In function 'http_header_response_insert_addtl': http_header.c:268:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char *h = buffer_string_prepare_append(vb, 2 + klen + vlen + 2); ^ array.c:463:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint32_t i = 0; ^ http_header.c:273:9: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < klen; ++i) { ^ buffer.c: In function 'li_tohex_uc': buffer.c:470:2: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0; i < s_len; ++i) { ^ http_header.c: In function 'http_header_response_insert': http_header.c:282:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const vb = array_get_buf_ptr_ext(&r->resp_headers, id, k, klen); ^ array.c: In function 'array_is_vlist': array.c:484:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < a->used; ++i) { ^ http_header.c: In function 'http_header_request_set_ptr': buffer.c: In function 'buffer_append_string_encoded_hex_lc': http_header.c:299:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const vb = array_get_buf_ptr_ext(&r->rqst_headers, id, k, klen); ^ array.c: In function 'array_is_kvany': buffer.c:500:5: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0; i < len; ++i) { ^ array.c:492:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < a->used; ++i) { ^ buffer.c: In function 'buffer_append_string_encoded_hex_uc': array.c: In function 'array_is_kvarray': array.c:500:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < a->used; ++i) { ^ buffer.c:508:5: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0; i < len; ++i) { ^ http_header.c: In function 'http_header_request_append': array.c: In function 'array_is_kvstring': http_header.c:328:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const vb = array_get_buf_ptr_ext(&r->rqst_headers, id, k, klen); ^ array.c:508:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < a->used; ++i) { ^ array.c: In function 'array_match_key_prefix_klen': http_header.c: In function 'http_header_parse_hoff': http_header.c:365:5: error: 'for' loop initial declarations are only allowed in C99 mode for (const char *b; (n = memchr((b = n),'\n',clen-hlen)); ++n) { ^ array.c:524:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < a->used; ++i) { ^ In file included from stat_cache.h:6:0, from http_chunk.c:12: sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] array.c: In function 'array_match_key_prefix_nc_klen': array.c:536:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < a->used; ++i) { ^ array.c: In function 'array_match_value_prefix': array.c:565:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < a->used; ++i) { ^ array.c: In function 'array_match_value_prefix_nc': make[4]: *** [Makefile:2621: http_etag.o] Error 1 array.c:579:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < a->used; ++i) { ^ array.c: In function 'array_match_key_suffix': array.c:594:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < a->used; ++i) { ^ array.c: In function 'array_match_key_suffix_nc': array.c:609:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < a->used; ++i) { ^ array.c: In function 'array_match_value_suffix': array.c:624:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < a->used; ++i) { ^ array.c: In function 'array_match_value_suffix_nc': array.c:639:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < a->used; ++i) { ^ array.c: In function 'array_match_path_or_ext': array.c:653:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < a->used; ++i) { ^ make[4]: *** [Makefile:2621: burl.o] Error 1 buffer.c: In function 'buffer_urldecode_path': buffer.c:753:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char *dst = src; ^ http_date.c: In function 'http_date_parse_RFC_850': http_date.c:75:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char * const tens = datestrs; ^ buffer.c: In function 'buffer_path_simplify': buffer.c:837:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char *walk = out; ^ In file included from base.h:5:0, from server.c:3: sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] buffer.c: In function 'buffer_to_lower': buffer.c:913:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < b->used; ++i) { ^ http_date.c: In function 'http_date_parse_asctime': In file included from response.h:5:0, from response.c:3: sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ http_date.c:136:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char * const tens = datestrs; ^ sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] buffer.c: In function 'buffer_to_upper': buffer.c:921:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < b->used; ++i) { ^ http_date.c: In function 'http_date_parse_IMF_fixdate': In file included from ./request.h:5:0, from ./mod_simple_vhost.c:5, from t/test_mod_simple_vhost.c:8: ./sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ ./sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] http_date.c:190:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char * const tens = datestrs; ^ http_date.c: In function 'http_date_time_to_str': http_date.c:274:7: warning: ISO C90 does not support the '%T' gnu_strftime format [-Wformat=] ? (uint32_t)strftime(s, sz, fmt, &tm) ^ http_date.c: In function 'http_date_if_modified_since': http_date.c:286:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const time_t ifmtime = timegm(&ifmodtm); ^ In file included from base.h:5:0, from http_cgi.c:14: sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] ck.c: In function 'ck_memset_compat': ck.c:95:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] static volatile sig_atomic_t vzero; ^ In file included from base.h:5:0, from connections.c:3: sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] make[4]: *** [Makefile:2621: http_header.o] Error 1 ck.c: In function 'ck_memclear_s': ck.c:129:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] errno_t rc = 0; ^ In file included from h2.h:5:0, from h2.c:8: sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] make[4]: *** [Makefile:2621: data_config.o] Error 1 ck.c: In function 'ck_strerror_s': ck.c:230:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char buf[1024]; ^ ck.c: In function 'ck_memeq_const_time': ck.c:284:5: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0, j = 0; lim; --lim) { ^ ck.c:284:5: note: use option -std=c99 or -std=gnu99 to compile your code ck.c: In function 'ck_memeq_const_time_fixed_len': ck.c:302:5: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0; i < len; ++i) { ^ In file included from fdevent.c:10:0: sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] In file included from ./request.h:5:0, from ./mod_staticfile.c:8, from t/test_mod_staticfile.c:9: ./sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ ./sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] make[4]: *** [Makefile:2621: array.o] Error 1 In file included from ./request.h:5:0, from ./mod_userdir.c:6, from t/test_mod_userdir.c:7: ./sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ ./sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] make[4]: *** [Makefile:2621: ck.o] Error 1 http_cgi.c: In function 'http_cgi_headers': http_cgi.c:178:13: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const buffer * const bd = (opts->docroot) ^ In file included from ls-hpack/lshpack.h:34:0, from h2.h:10, from h2.c:8: ls-hpack/lsxpack_header.h:34:29: warning: comma at end of enumerator list [-Wpedantic] LSXPACK_NEVER_INDEX = 64, ^ ls-hpack/lsxpack_header.h:59:10: warning: type of bit-field 'flags' is a GCC extension [-Wpedantic] enum lsxpack_flag flags:8; /* combination of lsxpack_flag */ ^ http_cgi.c:223:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const buffer * const m = http_method_buf(r->http_method); ^ http_cgi.c:249:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const connection * const con = r->con; ^ ls-hpack/lsxpack_header.h:168:8: warning: C++ style comments are not allowed in ISO C90 [enabled by default] #endif //LSXPACK_HEADER_H_v206 ^ ls-hpack/lsxpack_header.h:168:8: warning: (this will be reported only once per input file) [enabled by default] request.c: In function 'request_check_hostname': request.c:52:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int label_len = 0; ^ request.c:56:9: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < hlen; ++i) { ^ request.c:56:9: note: use option -std=c99 or -std=gnu99 to compile your code request.c:82:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int cnt = 0; ^ make[4]: *** [Makefile:2621: buffer.o] Error 1 In file included from h2.h:10:0, from h2.c:8: ls-hpack/lshpack.h:267:41: warning: comma at end of enumerator list [-Wpedantic] LSHPACK_ENC_USE_HIST = 1 << 0, ^ request.c: In function 'http_request_parse_duplicate': request.c:308:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char *errmsg; ^ In file included from t/test_mod_simple_vhost.c:8:0: ./mod_simple_vhost.c: In function 'mod_simple_vhost_patch_config': ./mod_simple_vhost.c:65:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 1, used = p->nconfig; i < used; ++i) { ^ ./mod_simple_vhost.c:65:5: note: use option -std=c99 or -std=gnu99 to compile your code ./mod_simple_vhost.c: In function 'mod_simple_vhost_set_defaults': ./mod_simple_vhost.c:97:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = !p->cvlist[0].v.u2[1]; i < p->nconfig; ++i) { ^ stat_cache.c: At top level: stat_cache.c:157:15: warning: comma at end of enumerator list [-Wpedantic] FAMMoved=6, ^ In file included from log.c:24:0: fdlog.h:13:3: warning: redefinition of typedef 'fdlog_st' [-Wpedantic] } fdlog_st; ^ ./mod_simple_vhost.c: In function 'mod_simple_vhost_docroot': In file included from log.h:5:0, from log.c:8: base_decls.h:28:25: note: previous declaration of 'fdlog_st' was here typedef struct fdlog_st fdlog_st; ^ ./mod_simple_vhost.c:184:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const b = r->tmp_buf;/*(tmp_buf cleared before use in call below)*/ ^ stat_cache.c: In function 'fam_dir_tag_refcnt': stat_cache.c:288:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] fam_dir_entry * const fam_dir = t->data; ^ request.c: In function 'http_request_validate_pseudohdrs': log.c: In function 'log_buffer_timestamp': request.c:526:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char * const uri = r->target.ptr; ^ log.c:108:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] struct tm tm; ^ stat_cache.c: In function 'fam_dir_invalidate_tree': log.c:113:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char n[LI_ITOSTRING_LENGTH]; ^ stat_cache.c:344:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] fam_dir_entry * const fam_dir = t->data; ^ request.c:554:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const unsigned int http_header_strict = ^ In file included from base.h:5:0, from reqpool.c:13: sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] log.c:127:31: warning: ISO C90 does not support the '%F' gnu_strftime format [-Wformat=] localtime64_r(&log_tlast, &tm)); ^ log.c:127:31: warning: ISO C90 does not support the '%T' gnu_strftime format [-Wformat=] request.c:561:9: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < ulen; ++i) { ^ log.c: In function 'log_buffer_prefix': log.c:148:6: warning: initializer element is not computable at load time [enabled by default] ,{ filename, strlen(filename) } ^ log.c:148:6: warning: initializer element is not computable at load time [enabled by default] log.c:148:6: warning: initializer element is not computable at load time [enabled by default] stat_cache.c: In function 'stat_cache_handle_fdevent_in': log.c:150:6: warning: initializer element is not computable at load time [enabled by default] ,{ lstr, li_itostrn(lstr, sizeof(lstr), line) } ^ log.c:150:6: warning: initializer element is not computable at load time [enabled by default] log.c:150:6: warning: initializer element is not computable at load time [enabled by default] stat_cache.c:375:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < rd; ) { ^ In file included from t/test_mod_staticfile.c:9:0: ./mod_staticfile.c: In function 'mod_staticfile_patch_config': ./mod_staticfile.c:62:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 1, used = p->nconfig; i < used; ++i) { ^ ./mod_staticfile.c:62:5: note: use option -std=c99 or -std=gnu99 to compile your code log.c: In function 'log_buffer_vsprintf': log.c:196:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] size_t i; ^ In file included from ./request.h:5:0, from ./request.c:10, from t/test_request.c:9: ./sys-time.h:48:64: warning: C++ style comments are not allowed in ISO C90 [enabled by default] int yoe = y - era * 400; // [0, 399] ^ ./sys-time.h:48:64: warning: (this will be reported only once per input file) [enabled by default] stat_cache.c:394:13: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] fam_dir_entry *fam_dir = scf->wds->data; ^ request.c: In function 'http_request_parse_header': log.c:202:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char * const src = (char *)malloc(n); ^ stat_cache.c:400:13: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int code = 0; ^ request.c:701:17: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int status = ^ request.c:709:13: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const unsigned int http_header_strict = ^ In file included from t/test_mod_userdir.c:7:0: ./mod_userdir.c: In function 'mod_userdir_patch_config': ./mod_userdir.c:84:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 1, used = p->nconfig; i < used; ++i) { ^ ./mod_userdir.c:84:5: note: use option -std=c99 or -std=gnu99 to compile your code request.c:713:17: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t j = 0; j < vlen; ++j) { ^ log.c: In function 'log_error_va_list_impl': log.c:263:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const restrict b = log_buffer_prepare(errh, filename, line); ^ ./mod_staticfile.c: In function 'mod_staticfile_subrequest': ./mod_staticfile.c:141:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] plugin_data * const p = p_d; ^ log.c: In function 'log_error_multiline': ./mod_userdir.c: In function 'mod_userdir_set_defaults': ./mod_userdir.c:121:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = !p->cvlist[0].v.u2[1]; i < p->nconfig; ++i) { ^ log.c:310:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int errnum = errno; ^ request.c:741:13: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const enum http_header_e id = (enum http_header_e)hpctx->id; ^ log.c:313:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const restrict b = log_buffer_prepare(errh, filename, line); ^ In file included from t/test_mod_staticfile.c:10:0: ./fdlog.h: At top level: log.c:316:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] va_list ap; ^ ./fdlog.h:13:3: warning: redefinition of typedef 'fdlog_st' [-Wpedantic] } fdlog_st; ^ ./mod_userdir.c: In function 'mod_userdir_in_vlist_nc': In file included from ./log.h:5:0, from ./mod_staticfile.c:3, from t/test_mod_staticfile.c:9: ./base_decls.h:28:25: note: previous declaration of 'fdlog_st' was here typedef struct fdlog_st fdlog_st; ^ ./mod_userdir.c:158:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0, used = a->used; i < used; ++i) { ^ log.c:321:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t prefix_len = buffer_clen(b); ^ request.c: In function 'http_request_parse_reqline': log.c:323:5: error: 'for' loop initial declarations are only allowed in C99 mode for (const char *pos = multiline; pos < end; ++pos) { ^ log.c:323:5: note: use option -std=c99 or -std=gnu99 to compile your code ./mod_userdir.c: In function 'mod_userdir_in_vlist': ./mod_userdir.c:166:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0, used = a->used; i < used; ++i) { ^ log.c:328:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] size_t n = (size_t)(pos - current_line); ^ request.c:811:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] union proto_un { ^ In file included from t/test_mod_userdir.c:7:0: ./mod_userdir.c: In function 'mod_userdir_docroot_construct': ./mod_userdir.c:182:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const b = r->tmp_buf; ^ ./mod_userdir.c:190:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < cache_sz; ++i) { ^ stat_cache.c: In function 'fam_dir_monitor': ./mod_userdir.c:197:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] struct passwd *pwd; ^ stat_cache.c:658:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int fn_is_dir = S_ISDIR(st->st_mode); ^ request.c:837:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] size_t i = 0; ^ ./mod_userdir.c:211:13: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] unix_time64_t cache_ts = p->cache_ts[0]; ^ ./mod_userdir.c:212:22: warning: declaration of 'i' shadows a previous local [-Wshadow] for (int i = 1; i < cache_sz; ++i) { ^ ./mod_userdir.c:190:18: warning: shadowed declaration is here [-Wshadow] for (int i = 0; i < cache_sz; ++i) { ^ request.c:849:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char *uri = ptr + i + 1; ^ stat_cache.c:671:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int dir_ndx = splaytree_djbhash(fn, dirlen); ^ ./mod_userdir.c:212:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 1; i < cache_sz; ++i) { ^ ./mod_userdir.c:233:9: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0; i < ulen; ++i) { ^ stat_cache.c:685:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const unix_time64_t cur_ts = log_monotonic_secs; ^ request.c: In function 'http_request_parse_target': ./mod_userdir.c:241:25: warning: declaration of 'i' shadows a previous local [-Wshadow] for (size_t i = 0; i < ulen; ++i) { ^ ./mod_userdir.c:233:21: warning: shadowed declaration is here [-Wshadow] for (size_t i = 0; i < ulen; ++i) { ^ t/test_mod_staticfile.c: In function 'test_http_response_send_file': ./mod_userdir.c:241:13: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0; i < ulen; ++i) { ^ t/test_mod_staticfile.c:45:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const buffer *vb; ^ request.c:920:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const target = &r->target; ^ chunk.c: In function 'chunk_pop_oversized': chunk.c:132:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunk *c = chunks_oversized; ^ ./mod_userdir.c:274:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char *rel_url; ^ chunk.c: In function 'chunk_push_oversized': request.c:931:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char *qstr; ^ stat_cache.c:706:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int ck_lnk = (NULL == fam_dir); ^ chunk.c:143:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunk **co = &chunks_oversized; ^ ./mod_userdir.c: In function 'mod_userdir_docroot_handler': ./mod_userdir.c:292:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] plugin_data * const p = p_d; ^ ./mod_userdir.c:300:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char * const uptr = r->uri.path.ptr + 2; ^ request.c:969:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char * const pstr = target->ptr; ^ ./mod_userdir.c:310:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const size_t ulen = (size_t)(rel_url - uptr); ^ t/test_mod_staticfile.c:73:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t plen = buffer_clen(&r->physical.path); ^ request.c: In function 'http_request_parse_header_other': chunk.c: In function 'chunk_buffer_yield': request.c:1000:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < klen; ++i) { ^ chunk.c:217:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const cb = chunk_buffer_acquire_sz(chunk_buf_sz); ^ In file included from t/test_mod_userdir.c:8:0: ./fdlog.h: At top level: ./fdlog.h:13:3: warning: redefinition of typedef 'fdlog_st' [-Wpedantic] } fdlog_st; ^ chunk.c: In function 'chunk_buffer_prepare_append': In file included from ./log.h:5:0, from ./mod_userdir.c:5, from t/test_mod_userdir.c:7: ./base_decls.h:28:25: note: previous declaration of 'fdlog_st' was here typedef struct fdlog_st fdlog_st; ^ chunk.c:227:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const cb = chunk_buffer_acquire_sz(sz); ^ t/test_mod_staticfile.c:101:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char lmtime_str[HTTP_DATE_SZ]; ^ request.c: In function 'http_request_parse_headers': chunk.c: In function 'chunk_acquire': make[4]: *** [Makefile:2621: t/test_mod_simple_vhost.o] Error 1 request.c:1048:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 2; i < hoff[0]; ++i) { ^ chunk.c:253:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunk *c = chunk_pop_oversized(sz); ^ t/test_mod_staticfile.c:144:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer *etag = buffer_init(); ^ chunk.c: In function 'chunkqueue_chunk_pool_clear': request.c:1057:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char *v = colon + 1; ^ chunk.c:293:5: error: 'for' loop initial declarations are only allowed in C99 mode for (chunk *next, *c = chunks; c; c = next) { ^ chunk.c:293:5: note: use option -std=c99 or -std=gnu99 to compile your code chunk.c:298:17: error: redeclaration of 'next' with no linkage for (chunk *next, *c = chunks_oversized; c; c = next) { ^ chunk.c:293:17: note: previous declaration of 'next' was here for (chunk *next, *c = chunks; c; c = next) { ^ request.c:1083:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int klen = (int)(colon - k); ^ chunk.c:298:24: error: redefinition of 'c' for (chunk *next, *c = chunks_oversized; c; c = next) { ^ chunk.c:293:24: note: previous definition of 'c' was here for (chunk *next, *c = chunks; c; c = next) { ^ stat_cache.c: In function 'stat_cache_mimetype_by_ext': chunk.c:298:5: error: 'for' loop initial declarations are only allowed in C99 mode for (chunk *next, *c = chunks_oversized; c; c = next) { ^ request.c:1086:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const enum http_header_e id = http_header_hkey_get(k, klen); ^ chunk.c:304:17: error: redeclaration of 'next' with no linkage for (chunk *next, *c = chunks_filechunk; c; c = next) { ^ request.c:1089:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int j = 0; j < klen; ++j) { ^ chunk.c:298:17: note: previous declaration of 'next' was here for (chunk *next, *c = chunks_oversized; c; c = next) { ^ stat_cache.c:948:9: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < used; ++i) { ^ chunk.c:304:24: error: redefinition of 'c' for (chunk *next, *c = chunks_filechunk; c; c = next) { ^ chunk.c:298:24: note: previous definition of 'c' was here for (chunk *next, *c = chunks_oversized; c; c = next) { ^ chunk.c:304:5: error: 'for' loop initial declarations are only allowed in C99 mode for (chunk *next, *c = chunks_filechunk; c; c = next) { ^ chunk.c: In function 'chunkqueue_chunk_pool_free': chunk.c:314:5: error: 'for' loop initial declarations are only allowed in C99 mode for (chunk *next, *c = chunk_buffers; c; c = next) { ^ request.c:1128:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int vlen = (int)(end - v); ^ chunk.c: In function 'chunkqueue_release_chunks': chunk.c:337:5: error: 'for' loop initial declarations are only allowed in C99 mode for (chunk *c; (c = cq->first); ) { ^ request.c:1133:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int j = 0; j < vlen; ++j) { ^ stat_cache.c: In function 'stat_cache_content_type_get_by_ext': t/test_mod_staticfile.c:264:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const rqst_etag = ^ stat_cache.c:1043:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const buffer * const mtype = ^ request.c:1139:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int status = http_request_parse_single_header(r, id, k, (size_t)klen, v, (size_t)vlen); ^ t/test_mod_userdir.c: In function 'test_mod_userdir_docroot_handler': t/test_mod_userdir.c:101:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] array *include_user = array_init(2); ^ request.c: In function 'http_request_parse': request.c:1154:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const unsigned int http_parseopts = r->conf.http_parseopts; ^ make[4]: *** [Makefile:2621: log.o] Error 1 http_chunk.c: In function 'http_chunk_append_read_fd_range': stat_cache.c: In function 'stat_cache_update_entry': http_chunk.c:69:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunkqueue * const cq = &r->write_queue; ^ http_chunk.c:77:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const b = chunkqueue_append_buffer_open_sz(cq, len+2+1); ^ t/test_mod_staticfile.c: In function 'test_mod_staticfile_process': stat_cache.c:1097:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] splay_tree **sptree = &sc.files; ^ t/test_mod_staticfile.c:355:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] array * const a = array_init(1); ^ t/test_mod_userdir.c: In function 'main': http_chunk.c: In function 'http_chunk_append_file_ref_range': t/test_mod_userdir.c:159:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer *basepath = buffer_init_string("/web/u/"); /*(skip getpwnam())*/ ^ http_chunk.c:111:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const buffer * const fn = &sce->name; ^ t/test_mod_userdir.c:164:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] request_st r; ^ stat_cache.c: In function 'stat_cache_delete_entry': stat_cache.c:1131:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] splay_tree **sptree = &sc.files; ^ http_chunk.c: In function 'http_chunk_append_file_fd': http_chunk.c:145:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int rc = (0 != sz) ? http_chunk_append_read_fd_range(r,fn,fd,0,sz) : 0; ^ http_chunk.c: In function 'http_chunk_append_file_ref': stat_cache.c: In function 'stat_cache_invalidate_dir_tree_walk': http_chunk.c:158:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const buffer * const fn = &sce->name; ^ stat_cache.c:1162:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const buffer * const b = &((stat_cache_entry *)t->data)->name; ^ In file included from ls-hpack/lshpack.h:34:0, from h2.h:10, from server.c:9: ls-hpack/lsxpack_header.h:34:29: warning: comma at end of enumerator list [-Wpedantic] LSXPACK_NEVER_INDEX = 64, ^ stat_cache.c: In function 'stat_cache_tag_dir_tree': ls-hpack/lsxpack_header.h:59:10: warning: type of bit-field 'flags' is a GCC extension [-Wpedantic] enum lsxpack_flag flags:8; /* combination of lsxpack_flag */ ^ http_chunk.c: In function 'http_chunk_append_buffer': http_chunk.c:223:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunkqueue * const cq = &r->write_queue; ^ stat_cache.c:1195:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const buffer * const b = &((stat_cache_entry *)t->data)->name; ^ fdevent.c: In function 'fdevent_config': http_chunk.c: In function 'http_chunk_append_mem': fdevent.c:95:3: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; event_handlers[i].name; ++i) { ^ fdevent.c:95:3: note: use option -std=c99 or -std=gnu99 to compile your code http_chunk.c:248:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunkqueue * const cq = &r->write_queue; ^ chunk.c: In function 'chunkqueue_get_append_tempfile': http_chunk.c: In function 'http_chunk_transfer_cqlen': fdevent.c: In function 'fdevent_init': sock_addr_cache.c: In function 'sock_addr_cache_inet_ntop_copy_buffer': chunk.c:706:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int rc = close(c->file.fd); ^ fdevent.c:172:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int fd = socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); ^ http_chunk.c:267:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunkqueue * const cq = &r->write_queue; ^ sock_addr_cache.c:25:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < NTOP_CACHE_MAX; ++i) { ^ sock_addr_cache.c:25:9: note: use option -std=c99 or -std=gnu99 to compile your code sock_addr_cache.c:34:18: error: redefinition of 'i' for (int i = 0; i < NTOP_CACHE_MAX; ++i) { ^ sock_addr_cache.c:25:18: note: previous definition of 'i' was here for (int i = 0; i < NTOP_CACHE_MAX; ++i) { ^ sock_addr_cache.c:34:9: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < NTOP_CACHE_MAX; ++i) { ^ chunk.c: In function 'chunkqueue_append_tempfile_err': stat_cache.c: In function 'stat_cache_get_entry': http_chunk.c: In function 'http_chunk_decode_append_data': chunk.c:722:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int retry = (errnum == ENOSPC && cq->tempdirs ^ fdevent.c: In function 'fdevent_free': http_chunk.c:299:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const h = &r->gw_dechunk->b; ^ fdevent.c:268:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < ev->maxfds; ++i) { ^ stat_cache.c:1276:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const unix_time64_t cur_ts = log_monotonic_secs; ^ chunk.c:734:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int rc = close(c->file.fd); ^ http_chunk.c:343:13: error: 'for' loop initial declarations are only allowed in C99 mode for (unsigned char u; (u=(unsigned char)hex2int(*s))!=0xFF; ++s) { ^ http_chunk.c:343:13: note: use option -std=c99 or -std=gnu99 to compile your code fdevent.c: In function 'fdevent_sched_run': ls-hpack/lsxpack_header.h:168:8: warning: C++ style comments are not allowed in ISO C90 [enabled by default] #endif //LSXPACK_HEADER_H_v206 ^ fdevent.c:332:2: error: 'for' loop initial declarations are only allowed in C99 mode for (fdnode *fdn = ev->pendclose; fdn; ) { ^ ls-hpack/lsxpack_header.h:168:8: warning: (this will be reported only once per input file) [enabled by default] http_chunk.c:344:42: warning: use of C99 long long integer constant [-Wlong-long] if (te_chunked > (off_t)(1uLL<<(8*sizeof(off_t)-5))-1-2) { ^ chunk.c: In function 'chunkqueue_append_mem_to_tempfile': stat_cache.c:1320:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] struct stat st; ^ chunk.c:791:3: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const ssize_t written =pwrite(dst_c->file.fd, mem, len, dst_c->file.length); ^ http_chunk.c:380:17: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint32_t mlen = buffer_clen(h); ^ chunk.c: In function 'chunkqueue_append_splice_pipe_tempfile': chunk.c:860:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] ssize_t total = 0; ^ stat_cache.c: In function 'stat_cache_path_contains_symlink': chunk.c:865:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] loff_t off = c->file.length; ^ http_chunk.c: In function 'http_chunk_decode_append_buffer': stat_cache.c:1433:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char buf[PATH_MAX]; ^ http_chunk.c:482:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int rc = http_chunk_append_buffer(r, mem); /* might append to tmpfile */ ^ In file included from h2.h:10:0, from server.c:9: ls-hpack/lshpack.h:267:41: warning: comma at end of enumerator list [-Wpedantic] LSHPACK_ENC_USE_HIST = 1 << 0, ^ http_chunk.c: In function 'http_chunk_decode_append_mem': http_chunk.c:507:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int rc = http_chunk_append_mem(r, mem, len); /*might append to tmpfile*/ ^ stat_cache.c:1435:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char *s_cur = buf+len; ^ chunk.c: In function 'chunkqueue_append_splice_sock_tempfile': stat_cache.c:1438:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] struct stat st; ^ chunk.c:950:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] ssize_t wr = splice(fd, NULL, pipes[1], NULL, len, ^ In file included from ls-hpack/lshpack.h:34:0, from h2.h:10, from connections.c:10: ls-hpack/lsxpack_header.h:34:29: warning: comma at end of enumerator list [-Wpedantic] LSXPACK_NEVER_INDEX = 64, ^ ls-hpack/lsxpack_header.h:59:10: warning: type of bit-field 'flags' is a GCC extension [-Wpedantic] enum lsxpack_flag flags:8; /* combination of lsxpack_flag */ ^ stat_cache.c: In function 'stat_cache_tag_old_entries': chunk.c: In function 'chunkqueue_append_cq_range': stat_cache.c:1485:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const stat_cache_entry * const sce = t->data; ^ In file included from server.c:11:0: fdlog.h:13:3: warning: redefinition of typedef 'fdlog_st' [-Wpedantic] } fdlog_st; ^ In file included from base.h:7:0, from server.c:3: base_decls.h:28:25: note: previous declaration of 'fdlog_st' was here typedef struct fdlog_st fdlog_st; ^ make[4]: *** [Makefile:3099: lighttpd-sock_addr_cache.o] Error 1 chunk.c:1031:5: error: 'for' loop initial declarations are only allowed in C99 mode for (const chunk *c = src->first; len > 0 && c != NULL; c = c->next) { ^ chunk.c: In function 'chunkqueue_mark_written': chunk.c:1058:5: error: 'for' loop initial declarations are only allowed in C99 mode for (chunk *c; (c = cq->first); ) { ^ chunk.c: In function 'chunkqueue_remove_finished_chunks': chunk.c:1079:5: error: 'for' loop initial declarations are only allowed in C99 mode for (chunk *c; (c = cq->first) && 0 == chunk_remaining_length(c); ){ ^ chunk.c: In function 'chunkqueue_compact_mem_offset': chunk.c:1104:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const restrict b = c->mem; ^ ls-hpack/lsxpack_header.h:168:8: warning: C++ style comments are not allowed in ISO C90 [enabled by default] #endif //LSXPACK_HEADER_H_v206 ^ ls-hpack/lsxpack_header.h:168:8: warning: (this will be reported only once per input file) [enabled by default] chunk.c: In function 'chunkqueue_compact_mem': make[4]: *** [Makefile:2621: t/test_mod_userdir.o] Error 1 h2.c:29:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] [HTTP_HEADER_OTHER] = "" ^ h2.c:30:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ACCEPT] = "accept" ^ h2.c:31:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ACCEPT_ENCODING] = "accept-encoding" ^ h2.c:32:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ACCEPT_LANGUAGE] = "accept-language" ^ chunk.c:1131:5: error: 'for' loop initial declarations are only allowed in C99 mode for (chunk *fc = c; ((clen -= len) && (c = fc->next)); ) { ^ h2.c:33:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ACCEPT_RANGES] = "accept-ranges" ^ h2.c:34:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN]="access-control-allow-origin" ^ h2.c:35:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_AGE] = "age" ^ h2.c:36:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ALLOW] = "allow" ^ h2.c:37:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ALT_SVC] = "alt-svc" ^ h2.c:38:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ALT_USED] = "alt-used" ^ h2.c:39:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_AUTHORIZATION] = "authorization" ^ h2.c:40:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CACHE_CONTROL] = "cache-control" ^ h2.c:41:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CONNECTION] = "connection" ^ h2.c:42:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CONTENT_ENCODING] = "content-encoding" ^ h2.c:43:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CONTENT_LENGTH] = "content-length" ^ h2.c:44:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CONTENT_LOCATION] = "content-location" ^ h2.c:45:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CONTENT_RANGE] = "content-range" ^ h2.c:46:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CONTENT_SECURITY_POLICY] = "content-security-policy" ^ h2.c:47:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CONTENT_TYPE] = "content-type" ^ h2.c:48:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_COOKIE] = "cookie" ^ h2.c:49:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_DATE] = "date" ^ h2.c:50:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_DNT] = "dnt" ^ h2.c:51:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ETAG] = "etag" ^ chunk.c: In function 'chunk_open_file_chunk': h2.c:52:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_EXPECT] = "expect" ^ h2.c:53:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_EXPECT_CT] = "expect-ct" ^ h2.c:54:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_EXPIRES] = "expires" ^ h2.c:55:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_FORWARDED] = "forwarded" ^ h2.c:56:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_HOST] = "host" ^ h2.c:57:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_HTTP2_SETTINGS] = "http2-settings" ^ h2.c:58:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_IF_MATCH] = "if-match" ^ h2.c:59:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_IF_MODIFIED_SINCE] = "if-modified-since" ^ h2.c:60:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_IF_NONE_MATCH] = "if-none-match" ^ h2.c:61:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_IF_RANGE] = "if-range" ^ chunk.c:1162:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] struct stat st; ^ h2.c:62:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_IF_UNMODIFIED_SINCE] = "if-unmodified-since" ^ h2.c:63:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_LAST_MODIFIED] = "last-modified" ^ h2.c:64:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_LINK] = "link" ^ h2.c:65:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_LOCATION] = "location" ^ h2.c:66:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ONION_LOCATION] = "onion-location" ^ h2.c:67:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_P3P] = "p3p" ^ h2.c:68:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_PRAGMA] = "pragma" ^ h2.c:69:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_RANGE] = "range" ^ h2.c:70:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_REFERER] = "referer" ^ h2.c:71:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_REFERRER_POLICY] = "referrer-policy" ^ h2.c:72:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_SERVER] = "server" ^ h2.c:73:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_SET_COOKIE] = "set-cookie" ^ chunk.c:1168:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const off_t offset = c->offset; ^ h2.c:74:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_STATUS] = "status" ^ h2.c:75:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_STRICT_TRANSPORT_SECURITY] = "strict-transport-security" ^ h2.c:76:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_TE] = "te" ^ h2.c:77:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_TRANSFER_ENCODING] = "transfer-encoding" ^ h2.c:78:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_UPGRADE] = "upgrade" ^ In file included from h2.h:10:0, from connections.c:10: ls-hpack/lshpack.h:267:41: warning: comma at end of enumerator list [-Wpedantic] LSHPACK_ENC_USE_HIST = 1 << 0, ^ h2.c:79:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_UPGRADE_INSECURE_REQUESTS] = "upgrade-insecure-requests" ^ h2.c:80:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_USER_AGENT] = "user-agent" ^ h2.c:81:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_VARY] = "vary" ^ h2.c:82:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_WWW_AUTHENTICATE] = "www-authenticate" ^ h2.c:83:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_X_CONTENT_TYPE_OPTIONS] = "x-content-type-options" ^ h2.c:84:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_X_FORWARDED_FOR] = "x-forwarded-for" ^ h2.c:85:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_X_FORWARDED_PROTO] = "x-forwarded-proto" ^ h2.c:86:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_X_FRAME_OPTIONS] = "x-frame-options" ^ h2.c:87:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_X_XSS_PROTECTION] = "x-xss-protection" ^ chunk.c: In function 'chunkqueue_write_chunk_file_intermed': h2.c:101:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] [HTTP_HEADER_OTHER] = LSHPACK_HDR_UNKNOWN ^ h2.c:102:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ACCEPT_ENCODING] = LSHPACK_HDR_ACCEPT_ENCODING ^ h2.c:103:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_AUTHORIZATION] = LSHPACK_HDR_AUTHORIZATION ^ h2.c:104:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CACHE_CONTROL] = LSHPACK_HDR_CACHE_CONTROL ^ h2.c:105:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CONNECTION] = LSHPACK_HDR_UNKNOWN ^ h2.c:106:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CONTENT_ENCODING] = LSHPACK_HDR_CONTENT_ENCODING ^ h2.c:107:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CONTENT_LENGTH] = LSHPACK_HDR_CONTENT_LENGTH ^ chunk.c:1203:5: warning: initializer element is not computable at load time [enabled by default] chunkqueue cq = {c,c,0,0,0,0,0}; /*(fake cq for chunkqueue_peek_data())*/ ^ h2.c:108:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CONTENT_LOCATION] = LSHPACK_HDR_CONTENT_LOCATION ^ chunk.c:1203:5: warning: initializer element is not computable at load time [enabled by default] h2.c:109:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CONTENT_TYPE] = LSHPACK_HDR_CONTENT_TYPE ^ h2.c:110:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_COOKIE] = LSHPACK_HDR_COOKIE ^ h2.c:111:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_DATE] = LSHPACK_HDR_DATE ^ h2.c:112:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ETAG] = LSHPACK_HDR_ETAG ^ h2.c:113:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_EXPECT] = LSHPACK_HDR_EXPECT ^ h2.c:114:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_FORWARDED] = LSHPACK_HDR_UNKNOWN ^ h2.c:115:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_HOST] = LSHPACK_HDR_HOST ^ h2.c:116:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_IF_MODIFIED_SINCE] = LSHPACK_HDR_IF_MODIFIED_SINCE ^ h2.c:117:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_IF_NONE_MATCH] = LSHPACK_HDR_IF_NONE_MATCH ^ h2.c:118:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_LAST_MODIFIED] = LSHPACK_HDR_LAST_MODIFIED ^ h2.c:119:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_LOCATION] = LSHPACK_HDR_LOCATION ^ h2.c:120:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_RANGE] = LSHPACK_HDR_RANGE ^ h2.c:121:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_SERVER] = LSHPACK_HDR_SERVER ^ h2.c:122:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_SET_COOKIE] = LSHPACK_HDR_SET_COOKIE ^ h2.c:123:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_STATUS] = LSHPACK_HDR_UNKNOWN ^ h2.c:124:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_TRANSFER_ENCODING] = LSHPACK_HDR_TRANSFER_ENCODING ^ h2.c:125:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_UPGRADE] = LSHPACK_HDR_UNKNOWN ^ h2.c:126:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_USER_AGENT] = LSHPACK_HDR_USER_AGENT ^ h2.c:127:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_VARY] = LSHPACK_HDR_VARY ^ h2.c:128:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_X_FORWARDED_FOR] = LSHPACK_HDR_UNKNOWN ^ h2.c:129:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_X_FORWARDED_PROTO] = LSHPACK_HDR_UNKNOWN ^ make[4]: *** [Makefile:2621: request.o] Error 1 h2.c:130:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_HTTP2_SETTINGS] = LSHPACK_HDR_UNKNOWN ^ h2.c:131:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ACCEPT] = LSHPACK_HDR_ACCEPT ^ h2.c:132:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ACCEPT_LANGUAGE] = LSHPACK_HDR_ACCEPT_LANGUAGE ^ h2.c:133:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ACCEPT_RANGES] = LSHPACK_HDR_ACCEPT_RANGES ^ h2.c:134:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN]=LSHPACK_HDR_ACCESS_CONTROL_ALLOW_ORIGIN ^ h2.c:135:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_AGE] = LSHPACK_HDR_AGE ^ h2.c:136:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ALLOW] = LSHPACK_HDR_ALLOW ^ h2.c:137:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ALT_SVC] = LSHPACK_HDR_UNKNOWN ^ h2.c:138:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ALT_USED] = LSHPACK_HDR_UNKNOWN ^ h2.c:139:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CONTENT_RANGE] = LSHPACK_HDR_CONTENT_RANGE ^ chunk.c: In function 'chunkqueue_write_chunk_file': h2.c:140:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_CONTENT_SECURITY_POLICY] = LSHPACK_HDR_UNKNOWN ^ h2.c:141:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_DNT] = LSHPACK_HDR_UNKNOWN ^ h2.c:142:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_EXPECT_CT] = LSHPACK_HDR_UNKNOWN ^ h2.c:143:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_EXPIRES] = LSHPACK_HDR_EXPIRES ^ h2.c:144:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_IF_MATCH] = LSHPACK_HDR_IF_MATCH ^ h2.c:145:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_IF_RANGE] = LSHPACK_HDR_IF_RANGE ^ h2.c:146:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_IF_UNMODIFIED_SINCE] = LSHPACK_HDR_IF_UNMODIFIED_SINCE ^ chunk.c:1286:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const off_t count = c->file.length - c->offset; ^ h2.c:147:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_LINK] = LSHPACK_HDR_LINK ^ t/test_mod_staticfile.c: In function 'main': h2.c:148:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_ONION_LOCATION] = LSHPACK_HDR_UNKNOWN ^ h2.c:149:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_P3P] = LSHPACK_HDR_UNKNOWN ^ h2.c:150:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_PRAGMA] = LSHPACK_HDR_UNKNOWN ^ t/test_mod_staticfile.c:384:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] struct stat st; ^ h2.c:151:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_REFERER] = LSHPACK_HDR_REFERER ^ h2.c:152:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_REFERRER_POLICY] = LSHPACK_HDR_UNKNOWN ^ h2.c:153:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_STRICT_TRANSPORT_SECURITY] = LSHPACK_HDR_STRICT_TRANSPORT_SECURITY ^ h2.c:154:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_TE] = LSHPACK_HDR_UNKNOWN ^ h2.c:155:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_UPGRADE_INSECURE_REQUESTS] = LSHPACK_HDR_UNKNOWN ^ chunk.c:1293:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] off_t offset = c->offset; ^ t/test_mod_staticfile.c:390:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] plugin_data * const p = mod_staticfile_init(); ^ h2.c:156:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_WWW_AUTHENTICATE] = LSHPACK_HDR_WWW_AUTHENTICATE ^ h2.c:157:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_X_CONTENT_TYPE_OPTIONS] = LSHPACK_HDR_UNKNOWN ^ h2.c:158:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_X_FRAME_OPTIONS] = LSHPACK_HDR_UNKNOWN ^ h2.c:159:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[HTTP_HEADER_X_XSS_PROTECTION] = LSHPACK_HDR_UNKNOWN ^ h2.c:165:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] [LSHPACK_HDR_UNKNOWN] = HTTP_HEADER_H2_UNKNOWN ^ t/test_mod_staticfile.c:394:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] request_st r; ^ h2.c:166:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_AUTHORITY] = HTTP_HEADER_H2_AUTHORITY ^ h2.c:167:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_METHOD_GET] = HTTP_HEADER_H2_METHOD_GET ^ h2.c:168:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_METHOD_POST] = HTTP_HEADER_H2_METHOD_POST ^ h2.c:169:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_PATH] = HTTP_HEADER_H2_PATH ^ h2.c:170:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_PATH_INDEX_HTML] = HTTP_HEADER_H2_PATH_INDEX_HTML ^ chunk.c:1301:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char * const data = chunkqueue_mmap_chunk_len(c, count); ^ http-header-glue.c: In function 'http_response_redirect_to_directory': h2.c:171:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_SCHEME_HTTP] = HTTP_HEADER_H2_SCHEME_HTTP ^ h2.c:172:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_SCHEME_HTTPS] = HTTP_HEADER_H2_SCHEME_HTTPS ^ http-header-glue.c:113:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer *vb; ^ t/test_mod_staticfile.c:404:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] array * const mimetypes = array_init(1); ^ h2.c:173:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_STATUS_200] = HTTP_HEADER_H2_UNKNOWN ^ h2.c:174:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_STATUS_204] = HTTP_HEADER_H2_UNKNOWN ^ h2.c:175:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_STATUS_206] = HTTP_HEADER_H2_UNKNOWN ^ h2.c:176:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_STATUS_304] = HTTP_HEADER_H2_UNKNOWN ^ h2.c:177:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_STATUS_400] = HTTP_HEADER_H2_UNKNOWN ^ h2.c:178:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_STATUS_404] = HTTP_HEADER_H2_UNKNOWN ^ In file included from t/test_request.c:9:0: ./request.c: In function 'request_check_hostname': h2.c:179:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_STATUS_500] = HTTP_HEADER_H2_UNKNOWN ^ http-header-glue.c: In function 'strftime_cache_reset': make[4]: *** [Makefile:2621: http_chunk.o] Error 1 h2.c:180:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_ACCEPT_CHARSET] = HTTP_HEADER_OTHER ^ ./request.c:52:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int label_len = 0; ^ http-header-glue.c:145:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < MTIME_CACHE_MAX; ++i) { ^ http-header-glue.c:145:5: note: use option -std=c99 or -std=gnu99 to compile your code h2.c:181:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_ACCEPT_ENCODING] = HTTP_HEADER_ACCEPT_ENCODING ^ ./request.c:56:9: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < hlen; ++i) { ^ h2.c:182:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_ACCEPT_LANGUAGE] = HTTP_HEADER_ACCEPT_LANGUAGE ^ ./request.c:56:9: note: use option -std=c99 or -std=gnu99 to compile your code h2.c:183:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_ACCEPT_RANGES] = HTTP_HEADER_ACCEPT_RANGES ^ http-header-glue.c: In function 'strftime_cache_get': h2.c:184:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_ACCEPT] = HTTP_HEADER_ACCEPT ^ http-header-glue.c:159:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int j = 0; j < MTIME_CACHE_MAX; ++j) { ^ chunk.c: In function 'chunkqueue_small_resp_optim': h2.c:185:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_ACCESS_CONTROL_ALLOW_ORIGIN]=HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN ^ h2.c:186:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_AGE] = HTTP_HEADER_AGE ^ http-header-glue.c:166:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int i = mtime_cache_idx; ^ h2.c:187:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_ALLOW] = HTTP_HEADER_ALLOW ^ h2.c:188:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_AUTHORIZATION] = HTTP_HEADER_AUTHORIZATION ^ h2.c:189:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_CACHE_CONTROL] = HTTP_HEADER_CACHE_CONTROL ^ h2.c:190:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_CONTENT_DISPOSITION] = HTTP_HEADER_OTHER ^ ./request.c:82:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int cnt = 0; ^ h2.c:191:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_CONTENT_ENCODING] = HTTP_HEADER_CONTENT_ENCODING ^ http-header-glue.c: In function 'http_response_handle_cachable': chunk.c:1372:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int fd = filec->file.fd; ^ h2.c:192:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_CONTENT_LANGUAGE] = HTTP_HEADER_OTHER ^ http-header-glue.c:190:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const buffer *vb; ^ h2.c:193:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_CONTENT_LENGTH] = HTTP_HEADER_CONTENT_LENGTH ^ h2.c:194:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_CONTENT_LOCATION] = HTTP_HEADER_CONTENT_LOCATION ^ h2.c:195:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_CONTENT_RANGE] = HTTP_HEADER_CONTENT_RANGE ^ h2.c:196:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_CONTENT_TYPE] = HTTP_HEADER_CONTENT_TYPE ^ h2.c:197:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_COOKIE] = HTTP_HEADER_COOKIE ^ h2.c:198:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_DATE] = HTTP_HEADER_DATE ^ chunk.c:1374:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] off_t offset = filec->offset; ^ h2.c:199:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_ETAG] = HTTP_HEADER_ETAG ^ h2.c:200:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_EXPECT] = HTTP_HEADER_EXPECT ^ h2.c:201:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_EXPIRES] = HTTP_HEADER_EXPIRES ^ h2.c:202:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_FROM] = HTTP_HEADER_OTHER ^ h2.c:203:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_HOST] = HTTP_HEADER_HOST ^ h2.c:204:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_IF_MATCH] = HTTP_HEADER_IF_MATCH ^ h2.c:205:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_IF_MODIFIED_SINCE] = HTTP_HEADER_IF_MODIFIED_SINCE ^ h2.c:206:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_IF_NONE_MATCH] = HTTP_HEADER_IF_NONE_MATCH ^ h2.c:207:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_IF_RANGE] = HTTP_HEADER_IF_RANGE ^ h2.c:208:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_IF_UNMODIFIED_SINCE] = HTTP_HEADER_IF_UNMODIFIED_SINCE ^ chunk.c:1391:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char * const ptr = b->ptr + buffer_clen(b); ^ h2.c:209:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_LAST_MODIFIED] = HTTP_HEADER_LAST_MODIFIED ^ h2.c:210:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_LINK] = HTTP_HEADER_LINK ^ h2.c:211:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_LOCATION] = HTTP_HEADER_LOCATION ^ h2.c:212:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_MAX_FORWARDS] = HTTP_HEADER_OTHER ^ h2.c:213:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_PROXY_AUTHENTICATE] = HTTP_HEADER_OTHER ^ h2.c:214:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_PROXY_AUTHORIZATION] = HTTP_HEADER_OTHER ^ chunk.c: In function 'chunkqueue_peek_data': h2.c:215:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_RANGE] = HTTP_HEADER_RANGE ^ h2.c:216:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_REFERER] = HTTP_HEADER_REFERER ^ h2.c:217:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_REFRESH] = HTTP_HEADER_OTHER ^ h2.c:218:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_RETRY_AFTER] = HTTP_HEADER_OTHER ^ h2.c:219:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_SERVER] = HTTP_HEADER_SERVER ^ http-header-glue.c: In function 'http_response_send_file': h2.c:220:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_SET_COOKIE] = HTTP_HEADER_SET_COOKIE ^ h2.c:221:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_STRICT_TRANSPORT_SECURITY] = HTTP_HEADER_STRICT_TRANSPORT_SECURITY ^ chunk.c:1422:5: error: 'for' loop initial declarations are only allowed in C99 mode for (chunk *c = cq->first; c; ) { ^ http-header-glue.c:354:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int allow_caching = (0 == r->http_status || 200 == r->http_status); ^ h2.c:222:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_TRANSFER_ENCODING] = HTTP_HEADER_TRANSFER_ENCODING ^ h2.c:223:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_USER_AGENT] = HTTP_HEADER_USER_AGENT ^ h2.c:224:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_VARY] = HTTP_HEADER_VARY ^ h2.c:225:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_VIA] = HTTP_HEADER_OTHER ^ h2.c:226:3: warning: ISO C90 forbids specifying subobject to initialize [-Wpedantic] ,[LSHPACK_HDR_WWW_AUTHENTICATE] = HTTP_HEADER_WWW_AUTHENTICATE ^ http-header-glue.c:393:3: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const buffer *mtime; ^ chunk.c:1490:17: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] ssize_t rd; ^ h2.c: In function 'h2_send_goaway_rst_stream': h2.c:348:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0, rused = h2c->rused; i < rused; ++i) { ^ h2.c:348:5: note: use option -std=c99 or -std=gnu99 to compile your code h2.c: In function 'h2_send_goaway': h2.c:373:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] h2con * const h2c = con->h2; ^ In file included from t/test_request.c:9:0: ./request.c: In function 'http_request_parse_duplicate': chunk.c: In function 'chunkqueue_read_squash': ./request.c:308:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char *errmsg; ^ h2.c:378:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] union { ^ h2.c: In function 'h2_send_refused_stream': chunk.c:1557:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunk * const c = chunk_acquire((uint32_t)cqlen+1); ^ h2.c:428:9: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0, rused = h2c->rused; i < rused; ++i) { ^ h2.c: In function 'h2_recv_goaway': h2.c:461:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t e = h2_u32(s+13); ^ h2.c:478:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] h2con * const h2c = con->h2; ^ h2.c: In function 'h2_recv_rst_stream': h2.c:493:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t id = h2_u31(s+5); ^ h2.c:498:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] h2con * const h2c = con->h2; ^ h2.c:499:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0, rused = h2c->rused; i < rused; ++i) { ^ h2.c: In function 'h2_recv_priority': http-header-glue.c: In function 'http_response_append_splice': fdevent.c: In function 'fdevent_fork_execve': h2.c:577:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t id = h2_u31(s+5); ^ http-header-glue.c:770:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] ssize_t n = (opts->fdfmt == S_IFSOCK) ^ h2.c:582:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t prio = h2_u31(s+9); ^ fdevent.c:842:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int errnum = errno; ^ h2.c:588:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0, rused = h2c->rused; i < rused; ++i) { ^ h2.c: In function 'h2_recv_window_update': h2.c:616:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t id = h2_u31(s+5); ^ h2.c:623:9: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0, rused = h2c->rused; i < rused; ++i) { ^ http-header-glue.c: In function 'http_response_process_headers': http-header-glue.c:859:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t klen = (uint32_t)(value - k); ^ h2.c: In function 'h2_send_window_update': http-header-glue.c:861:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const enum http_header_e id = http_header_hkey_get(k, klen); ^ h2.c:671:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] union { ^ ./request.c: In function 'http_request_validate_pseudohdrs': ./request.c:526:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char * const uri = r->target.ptr; ^ http-header-glue.c:871:17: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int status = http_header_str_to_code(value); ^ response.c: In function 'http_response_write_header_partial_1xx': h2.c: In function 'h2_parse_frame_settings': response.c:67:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint32_t len = (uint32_t)chunkqueue_length(cq); ^ h2.c:732:17: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0, rused = h2c->rused; i < rused; ++i) { ^ http-header-glue.c:895:17: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int status = http_header_str_to_code(value); ^ ./request.c:554:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const unsigned int http_header_strict = ^ h2.c: In function 'h2_recv_settings': h2.c:784:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] h2con * const h2c = con->h2; ^ ./request.c:561:9: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < ulen; ++i) { ^ http-header-glue.c:932:17: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint32_t vlen = (uint32_t)(err - value); ^ h2.c: In function 'h2_recv_data': h2.c:841:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint32_t alen = len; /* actual data len, minus padding */ ^ h2.c:852:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] request_st * const h2r = &con->request; ^ response.c: In function 'http_response_write_header': h2.c:866:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] request_st *r = NULL; ^ response.c:109:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunkqueue * const cq = &r->write_queue; ^ h2.c:867:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0, rused = h2c->rused; i < rused; ++i) { ^ response.c:123:2: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0, used = r->resp_headers.used; i < used; ++i) { ^ response.c:123:2: note: use option -std=c99 or -std=gnu99 to compile your code h2.c:873:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunkqueue * const cq = con->read_queue; ^ ./request.c: In function 'http_request_parse_header': ./request.c:701:17: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int status = ^ response.c:131:3: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char * restrict s = buffer_extend(b, klen+vlen+4); ^ h2.c:925:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunkqueue * const dst = &r->reqbody_queue; ^ ./request.c:709:13: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const unsigned int http_header_strict = ^ h2.c:940:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunkqueue * const rq = &r->read_queue; ^ ./request.c:713:17: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t j = 0; j < vlen; ++j) { ^ h2.c:944:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint32_t wupd = 0; ^ response.c:171:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] off_t cqlen; ^ make[4]: *** [Makefile:2621: stat_cache.o] Error 1 h2.c:969:25: warning: ISO C90 does not support 'long long' [-Wlong-long] (long long) (dst->bytes_in + (off_t)alen)); ^ response.c: In function 'http_response_physical_path_check': h2.c:969:19: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=] (long long) (dst->bytes_in + (off_t)alen)); ^ response.c:228:3: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char *pathinfo; ^ ./request.c:741:13: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const enum http_header_e id = (enum http_header_e)hpctx->id; ^ response.c:242:3: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t pathused = r->physical.path.used; ^ response.c:243:3: error: 'for' loop initial declarations are only allowed in C99 mode for (char *pprev = pathinfo; pathinfo; pprev = pathinfo, pathinfo = strchr(pathinfo+1, '/')) { ^ h2.c:1006:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const chunk * const c = dst->last; ^ make[4]: *** [Makefile:2621: t/test_mod_staticfile.o] Error 1 response.c:247:4: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] stat_cache_entry * const nsce = stat_cache_get_entry(&r->physical.path); ^ ./request.c: In function 'http_request_parse_reqline': h2.c: In function 'h2_recv_continuation': fdevent.c: In function 'fdevent_load_file': ./request.c:811:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] union proto_un { ^ h2.c:1062:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t flen = h2_u24(s+n); ^ fdevent.c:995:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] struct stat st; ^ response.c: In function 'http_response_config': fdevent.c:1024:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int errnum = errno; ^ response.c:360:55: warning: ISO C90 does not support 'long long' [-Wlong-long] "request-size too long: %lld -> 413", (long long) r->reqbody_length); ^ h2.c: In function 'h2_recv_trailers_r': response.c:360:11: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=] "request-size too long: %lld -> 413", (long long) r->reqbody_length); ^ ./request.c:837:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] size_t i = 0; ^ fdevent.c: In function 'fdevent_load_file_bytes': h2.c:1187:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0, rused = h2c->rused; i < rused; ++i) { ^ fdevent.c:1049:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] ssize_t rd = 0; ^ h2.c: In function 'h2_parse_headers_frame': fdevent.c:1061:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int errnum = errno; ^ h2.c:1228:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int log_request_header = r->conf.log_request_header; ^ ./request.c:849:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char *uri = ptr + i + 1; ^ h2.c:1235:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char * const tbptr = tb->ptr; ^ response.c: In function 'http_response_comeback': response.c:566:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int status = http_request_parse_target(r, r->con->proto_default_port); ^ h2.c:1268:13: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int http_status = http_request_parse_header(r, &hpctx); ^ response.c: In function 'http_response_static_errdoc': ./request.c: In function 'http_request_parse_target': h2.c:1321:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunkqueue * const rq = &r->read_queue; ^ response.c:633:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] stat_cache_entry *sce = ^ h2.c: In function 'h2_recv_headers': ./request.c:920:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const target = &r->target; ^ response.c:647:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const b = chunkqueue_append_buffer_open(&r->write_queue); ^ h2.c:1360:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] request_st * const h2r = &con->request; ^ response.c: In function 'http_response_merge_trailers': ./request.c:931:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char *qstr; ^ response.c:680:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int done = r->gw_dechunk->done; ^ response.c:696:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char *k = strchr(r->gw_dechunk->b.ptr, '\n'); /*(skip final chunk)*/ ^ h2.c:1401:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const unsigned char *psrc = s + 9; ^ ./request.c:969:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char * const pstr = target->ptr; ^ response.c:699:5: error: 'for' loop initial declarations are only allowed in C99 mode for (const char *v, *e; (e = strchr(k, '\n')); k = e+1) { ^ ./request.c: In function 'http_request_parse_header_other': h2.c:1405:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t pad = s[9]; ^ response.c:702:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint32_t klen = (uint32_t)(v - k); ^ ./request.c:1000:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < klen; ++i) { ^ response.c:705:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] enum http_header_e id = http_header_hkey_get(k, klen); ^ h2.c: In function 'h2_parse_frames': ./request.c: In function 'http_request_parse_headers': h2.c:1511:5: error: 'for' loop initial declarations are only allowed in C99 mode for (off_t cqlen = chunkqueue_length(cq); cqlen >= 9; ) { ^ ./request.c:1048:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 2; i < hoff[0]; ++i) { ^ h2.c:1521:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint8_t *s = (uint8_t *)(c->mem->ptr + c->offset); ^ ./request.c:1057:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char *v = colon + 1; ^ response.c: In function 'http_response_write_prepare': response.c:846:25: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const buffer * const hdr = &r->gw_dechunk->b; ^ ./request.c:1083:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int klen = (int)(colon - k); ^ h2.c:1563:13: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int rc = h2_recv_headers(con, s, flen); ^ ./request.c:1086:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const enum http_header_e id = http_header_hkey_get(k, klen); ^ ./request.c:1089:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int j = 0; j < klen; ++j) { ^ h2.c: In function 'h2_want_read': h2.c:1649:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const off_t cqlen = chunkqueue_length(cq); ^ ./request.c:1128:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int vlen = (int)(end - v); ^ h2.c:1651:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunk *c = cq->first; ^ ./request.c:1133:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int j = 0; j < vlen; ++j) { ^ h2.c:1657:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint8_t *s = (uint8_t *)(c->mem->ptr + c->offset); ^ ./request.c:1139:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int status = http_request_parse_single_header(r, id, k, (size_t)klen, v, (size_t)vlen); ^ ./request.c: In function 'http_request_parse': h2.c:1666:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t n = 9+flen; cqlen >= n+9; n += 9+flen) { ^ ./request.c:1154:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const unsigned int http_parseopts = r->conf.http_parseopts; ^ h2.c: In function 'h2_recv_client_connection_preface': h2.c:1699:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] static const char h2preface[] = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n"; ^ h2.c:1704:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint8_t * const s = (uint8_t *)(c->mem->ptr + c->offset); ^ In file included from t/test_request.c:10:0: ./fdlog.h: At top level: ./fdlog.h:13:3: warning: redefinition of typedef 'fdlog_st' [-Wpedantic] } fdlog_st; ^ In file included from ./request.h:7:0, from ./request.c:10, from t/test_request.c:9: ./base_decls.h:28:25: note: previous declaration of 'fdlog_st' was here typedef struct fdlog_st fdlog_st; ^ h2.c: In function 'h2_read_client_connection_preface': t/test_request.c: In function 'run_http_request_parse': t/test_request.c:34:5: error: 'for' loop initial declarations are only allowed in C99 mode for (const char *n=req, *end=req+reqlen; (n=memchr(n,'\n',end-n)); ++n) { ^ h2.c:1724:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int rc = (network_read)(con, cq, max_bytes); ^ t/test_request.c:39:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int proto_default_port = 80; ^ connections.c: In function 'connection_close': connections.c:85:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] server * const srv = con->srv; ^ h2.c: In function 'h2_init_con': connections.c: In function 'connection_handle_shutdown': connections.c:171:3: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] request_st * const r = &con->request; ^ h2.c:1763:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] static const uint8_t h2settings[] = { /*(big-endian numbers)*/ ^ h2.c: In function 'h2_send_hpack': connections.c: In function 'connection_write_chunkqueue': connections.c:272:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] off_t written = cq->bytes_out; ^ h2.c:1831:6: warning: initializer element is not computable at load time [enabled by default] ,0x00, 0x00, 0x00, 0x00 /* stream identifier (fill in below) */ ^ make[4]: *** [Makefile:2621: fdevent.o] Error 1 make[4]: *** [Makefile:2621: chunk.o] Error 1 connections.c:320:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] request_st * const r = &con->request; ^ h2.c:1832:5: warning: initializer element is not computable at load time [enabled by default] } }; ^ connections.c: In function 'connection_send_1xx': h2.c:1846:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const b = ^ connections.c:395:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < r->resp_headers.used; ++i) { ^ connections.c:395:5: note: use option -std=c99 or -std=gnu99 to compile your code connections.c: In function 'connection_write_100_continue': connections.c:422:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunkqueue * const cq = con->write_queue; /*(bypass r->write_queue)*/ ^ connections.c: In function 'connection_handle_write': connections.c:432:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int rc = connection_write_chunkqueue(con, con->write_queue, MAX_WRITE_LIMIT); ^ h2.c: In function 'h2_send_headers': make[4]: *** [Makefile:2621: http-header-glue.o] Error 1 h2.c:1914:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const tb = r->tmp_buf; ^ connections.c: In function 'connection_init': connections.c:511:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] request_st * const r = &con->request; ^ h2.c:1916:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] unsigned char *dst = (unsigned char *)tb->ptr; ^ connections.c: In function 'connections_free': connections.c:550:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] connection *con; ^ connections.c: In function 'connection_read_header_more': h2.c:1959:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] data_string * const * const restrict hdata = ^ connections.c:594:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] request_st * const r = &con->request; ^ h2.c:1961:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0, used = r->resp_headers.used; i < used; ++i) { ^ connections.c: In function 'connection_handle_read_state': h2.c:1983:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char * const v = ^ connections.c:690:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t max_request_field_size = r->conf.max_request_field_size; ^ connections.c:707:17: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int ch = c->mem->ptr[c->offset+header_len]; ^ h2.c:1996:13: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t j = 0; j < klen; ++j) ^ connections.c:753:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char * const hdrs = c->mem->ptr + hoff[1]; ^ h2.c:2000:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint32_t voff = 0; ^ h2.c:2027:13: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] unsigned char * const dst_in = dst; ^ connections.c: In function 'connection_read_cq': h2.c:2051:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const unix_time64_t cur_ts = log_epoch_secs; ^ connections.c:901:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int frd; ^ connections.c: In function 'connection_accepted': h2.c:2060:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] unsigned char * const dst_in = dst; ^ connections.c:937:3: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] request_st * const r = &con->request; ^ make[4]: *** [Makefile:3043: lighttpd-response.o] Error 1 h2.c:2086:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] unsigned char * const dst_in = dst; ^ h2.c:2098:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] chunkqueue * const wq = &r->write_queue; ^ connections.c: In function 'connection_set_fdevent_interest': h2.c:2102:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t dlen = (uint32_t)((char *)dst - tb->ptr); ^ connections.c:1149:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int n = 0; ^ h2.c: In function 'h2_send_headers_block': h2.c:2120:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint32_t rc = http_header_parse_hoff(hdrs, hlen, hoff); ^ connections.c:1176:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int events = fdevent_fdnode_interest(con->fdn); ^ connections.c: In function 'connection_state_machine_h2': h2.c:2134:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] buffer * const tb = r->tmp_buf; ^ connections.c:1234:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int resched = 0; ^ h2.c:2136:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] unsigned char *dst = (unsigned char *)tb->ptr; ^ connections.c:1254:9: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < h2c->rused; ++i) { ^ connections.c:1304:17: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int alive = r->keep_alive; ^ h2.c:2174:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint32_t klen = v - k; ^ connections.c:1324:9: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < h2c->rused; ++i) { ^ h2.c:2184:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint32_t vlen = end - v; ^ connections.c: In function 'connection_check_timeout': h2.c:2192:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] unsigned char * const dst_in = dst; ^ connections.c:1407:13: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < h2c->rused; ++i) { ^ h2.c:2199:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint32_t dlen = (uint32_t)((char *)dst - tb->ptr); ^ h2.c: In function 'h2_send_1xx': connections.c:1447:37: warning: ISO C90 does not support 'long long' [-Wlong-long] (long long)r->write_queue.bytes_out, ^ connections.c:1448:31: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=] (int)r->conf.max_write_idle); ^ h2.c:2218:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < r->resp_headers.used; ++i) { ^ h2.c: In function 'h2_send_end_stream_trailers': connections.c:1531:25: warning: ISO C90 does not support 'long long' [-Wlong-long] (long long)con->bytes_written, (int)r->conf.max_write_idle); ^ h2.c:2270:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] uint32_t rc = http_header_parse_hoff(BUF_PTR_LEN(trailers), hoff); ^ connections.c:1531:19: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=] (long long)con->bytes_written, (int)r->conf.max_write_idle); ^ connections.c: In function 'connection_periodic_maint': h2.c:2278:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char * const ptr = trailers->ptr; ^ connections.c:1562:5: error: 'for' loop initial declarations are only allowed in C99 mode for (connection *con = srv->conns, *tc; con; con = tc) { ^ connections.c: In function 'connection_graceful_shutdown_maint': h2.c:2279:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 1; i < hoff[0]; ++i) { ^ connections.c:1571:5: error: 'for' loop initial declarations are only allowed in C99 mode for (connection *con = srv->conns, *tc; con; con = tc) { ^ connections.c:1573:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int changed = 0; ^ h2.c:2286:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const char * const colon = memchr(k, ':', ptr+hoff[i+1]-k); ^ connections.c: In function 'connection_handle_read_post_cq_compact': h2.c: In function 'h2_send_cqdata': connections.c:1626:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t mlen = buffer_clen(c->mem) - (size_t)c->offset; ^ h2.c:2416:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] request_st * const h2r = &con->request; ^ connections.c: In function 'connection_handle_read_post_chunked': h2.c:2421:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t cqlen = (uint32_t)chunkqueue_length(cq); ^ connections.c:1689:17: error: 'for' loop initial declarations are only allowed in C99 mode for (unsigned char u;(u=(unsigned char)hex2int(*s))!=0xFF;++s) { ^ h2.c:2429:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] h2con * const h2c = con->h2; ^ connections.c:1690:46: warning: use of C99 long long integer constant [-Wlong-long] if (te_chunked > (off_t)(1uLL<<(8*sizeof(off_t)-5))-1-2) { ^ h2.c:2469:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const uint32_t len = dlen < fsize ? dlen : fsize; ^ connections.c:1776:29: warning: ISO C90 does not support 'long long' [-Wlong-long] (long long)(dst_cq->bytes_in + te_chunked)); ^ In file included from h2.c:2537:0: base64.h: At top level: base64.h:9:12: warning: comma at end of enumerator list [-Wpedantic] BASE64_URL, ^ connections.c:1776:23: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=] (long long)(dst_cq->bytes_in + te_chunked)); ^ connections.c: In function 'connection_handle_read_body_unknown': connections.c:1843:55: warning: ISO C90 does not support 'long long' [-Wlong-long] "request-size too long: %lld -> 413", (long long)dst_cq->bytes_in); ^ connections.c:1843:11: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=] "request-size too long: %lld -> 413", (long long)dst_cq->bytes_in); ^ make[4]: *** [Makefile:2621: t/test_request.o] Error 1 connections.c: In function 'connection_check_expect_100': h2.c: In function 'h2_init_stream': connections.c:1858:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const buffer * const vb = ^ h2.c:2551:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] request_st * const r = request_acquire(con); ^ connections.c:1865:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int rc = buffer_eq_icase_slen(vb, CONST_STR_LEN("100-continue")); ^ connections.c: In function 'connection_handle_read_post_state': h2.c:2560:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] server * const srv = con->srv; ^ connections.c:1901:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const off_t max_per_read = ^ h2.c: In function 'h2_retire_stream': h2.c:2607:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] h2con * const h2c = con->h2; ^ h2.c: In function 'h2_retire_con': h2.c:2631:9: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0, rused = h2c->rused; i < rused; ++i) { ^ h2.c:2656:9: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0, rused = h2c->rused; i < rused; ++i) { ^ h2.c: In function 'h2_con_upgrade_h2c': h2.c:2697:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] connection * const con = h2r->con; ^ h2.c:2707:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] request_st * const r = h2_init_stream(h2r, con); ^ server.c: In function 'server_epoch_secs': server.c:258:17: warning: ISO C90 does not support 'long long' [-Wlong-long] (long long)((int64_t)new_ts - (int64_t)cur_ts)); ^ make[4]: *** [Makefile:3057: lighttpd-connections.o] Error 1 server.c:258:11: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=] (long long)((int64_t)new_ts - (int64_t)cur_ts)); ^ server.c:259:9: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int delta = /*(30 mins default)*/ ^ server.c: In function 'server_init': server.c:286:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] unix_timespec64_t ts; ^ server.c: In function 'server_oneshot_getsock': server.c:385:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < srv->srv_sockets.used; ++i) { ^ server.c:385:2: note: use option -std=c99 or -std=gnu99 to compile your code server.c: In function 'server_oneshot_read_cq': server.c:412:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int rc = oneshot_read_cq(con, cq, max_bytes); ^ server.c:418:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int events = fdevent_fdnode_interest(oneshot_fdn); ^ server.c: In function 'server_oneshot_handle_fdevent': server.c:435:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] request_st * const r = &con->request; ^ server.c:446:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] fdnode * const fdn = con->fdn; /* fdn->ctx == con */ ^ server.c: In function 'server_oneshot_init_pipe': server.c:494:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] const int family = ncat && strchr(ncat_local_addr,':') ? AF_INET6 : AF_INET; ^ make[4]: *** [Makefile:3071: lighttpd-h2.o] Error 1 server.c: In function 'show_help': server.c:761:1: warning: string length '615' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings] ; ^ server.c: In function 'server_sockets_save': server.c:768:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < srv->srv_sockets.used; ++i) ^ server.c:770:19: error: redefinition of 'i' for (uint32_t i = 0; i < srv->srv_sockets_inherited.used; ++i) ^ server.c:768:19: note: previous definition of 'i' was here for (uint32_t i = 0; i < srv->srv_sockets.used; ++i) ^ server.c:770:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < srv->srv_sockets_inherited.used; ++i) ^ server.c: In function 'server_sockets_restore': server.c:785:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < srv->srv_sockets.used; ++i) ^ server.c:787:19: error: redefinition of 'i' for (uint32_t i = 0; i < srv->srv_sockets_inherited.used; ++i) ^ server.c:785:19: note: previous definition of 'i' was here for (uint32_t i = 0; i < srv->srv_sockets.used; ++i) ^ server.c:787:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < srv->srv_sockets_inherited.used; ++i) ^ server.c: In function 'server_sockets_set_nb_cloexec': server.c:794:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < srv->srv_sockets.used; ++i) { ^ server.c: In function 'server_sockets_set_event': server.c:806:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < srv->srv_sockets.used; ++i) { ^ server.c: In function 'server_sockets_unregister': server.c:816:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < srv->srv_sockets.used; ++i) ^ server.c: In function 'server_sockets_close': server.c:828:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < srv->srv_sockets.used; ++i) { ^ server.c: In function 'server_graceful_signal_prev_generation': server.c:844:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] pid_t pid = (pid_t)strtol(prev_gen, NULL, 10); ^ server.c: In function 'server_graceful_state_bg': server.c:862:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] data_unset * const du = ^ server.c:873:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] char ** const argv = srv->argv; ^ server.c:926:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] pid_t pid = fork(); ^ server.c:971:13: warning: ISO C90 does not support 'long long' [-Wlong-long] (long long)getpid(), srv->srvconf.max_conns - srv->lim_conns); ^ server.c:971:7: warning: ISO C90 does not support the 'll' gnu_printf length modifier [-Wformat=] (long long)getpid(), srv->srvconf.max_conns - srv->lim_conns); ^ server.c: In function 'server_main_setup': server.c:1196:3: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] struct stat st; ^ server.c:1289:2: error: 'for' loop initial declarations are only allowed in C99 mode for (const char *pname = NULL; i < srv->plugins.used; ++i) { ^ server.c:1588:3: warning: ISO C90 forbids variable length array 'pids' [-Wvla] pid_t pids[num_childs]; ^ server.c:1593:3: error: 'for' loop initial declarations are only allowed in C99 mode for (int n = 0; n < npids; ++n) pids[n] = -1; ^ server.c:1606:15: warning: declaration of 'n' shadows a previous local [-Wshadow] for (int n = 0; n < npids; ++n) { ^ server.c:1593:12: warning: shadowed declaration is here [-Wshadow] for (int n = 0; n < npids; ++n) pids[n] = -1; ^ server.c:1606:6: error: 'for' loop initial declarations are only allowed in C99 mode for (int n = 0; n < npids; ++n) { ^ server.c:1633:15: warning: declaration of 'n' shadows a previous local [-Wshadow] for (int n = 0; n < npids; ++n) { ^ server.c:1593:12: warning: shadowed declaration is here [-Wshadow] for (int n = 0; n < npids; ++n) pids[n] = -1; ^ server.c:1633:6: error: 'for' loop initial declarations are only allowed in C99 mode for (int n = 0; n < npids; ++n) { ^ server.c:1654:17: warning: declaration of 'n' shadows a previous local [-Wshadow] for (int n = 0; n < npids; ++n) { ^ server.c:1593:12: warning: shadowed declaration is here [-Wshadow] for (int n = 0; n < npids; ++n) pids[n] = -1; ^ server.c:1654:8: error: 'for' loop initial declarations are only allowed in C99 mode for (int n = 0; n < npids; ++n) { ^ server.c: In function 'server_run_con_queue': server.c:1915:5: error: 'for' loop initial declarations are only allowed in C99 mode for (connection *con = joblist, *jqnext; con != sentinel; con = jqnext) { ^ server.c: In function 'server_main_loop': server.c:1940:4: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] unix_time64_t mono_ts = server_monotonic_secs(); ^ server.c:1967:3: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] static connection * const sentinel = ^ server.c: In function 'main': server.c:2032:5: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int rc; ^ make[4]: *** [Makefile:3029: lighttpd-server.o] Error 1 make[3]: *** [Makefile:1963: all] Error 2 make[2]: *** [Makefile:470: all-recursive] Error 1 make[1]: *** [Makefile:400: all] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/lighttpd-1.4.60' make: *** [package/pkg-generic.mk:294: /tmp/instance-0/output-1/build/lighttpd-1.4.60/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-0/buildroot'