<86>Sep 11 04:45:11 userdel[2859601]: delete user 'rooter' <86>Sep 11 04:45:11 userdel[2859601]: removed group 'rooter' owned by 'rooter' <86>Sep 11 04:45:11 userdel[2859601]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 11 04:45:11 groupadd[2859606]: group added to /etc/group: name=rooter, GID=624 <86>Sep 11 04:45:11 groupadd[2859606]: group added to /etc/gshadow: name=rooter <86>Sep 11 04:45:11 groupadd[2859606]: new group: name=rooter, GID=624 <86>Sep 11 04:45:11 useradd[2859610]: new user: name=rooter, UID=624, GID=624, home=/root, shell=/bin/bash <86>Sep 11 04:45:12 userdel[2859634]: delete user 'builder' <86>Sep 11 04:45:12 userdel[2859634]: removed group 'builder' owned by 'builder' <86>Sep 11 04:45:12 userdel[2859634]: removed shadow group 'builder' owned by 'builder' <86>Sep 11 04:45:12 groupadd[2859657]: group added to /etc/group: name=builder, GID=625 <86>Sep 11 04:45:12 groupadd[2859657]: new group: name=builder, GID=625 <86>Sep 11 04:45:12 useradd[2859662]: new user: name=builder, UID=625, GID=625, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/kannel-1.5.0-alt1.cvs20091101.4.src.rpm: license not found in '/usr/share/license' directory: Kannel warning: line 39: Deprecated PreReq converted to Requires(pre,postun): PreReq: monit-base <13>Sep 11 04:45:20 rpmi: libjpeg-2:2.0.6-alt4 sisyphus+284191.100.1.1 1630330711 installed <13>Sep 11 04:45:20 rpmi: libpng16-1.6.37-alt1 sisyphus+275734.100.2.1 1624788826 installed <13>Sep 11 04:45:20 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153355 installed <13>Sep 11 04:45:20 rpmi: libwebp7-1.2.1-alt1 sisyphus+282658.100.1.1 1628955702 installed <13>Sep 11 04:45:20 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493868 installed <13>Sep 11 04:45:20 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>Sep 11 04:45:20 rpmi: liblcms2-2.12-alt1 sisyphus+279091.100.1.1 1626376955 installed <13>Sep 11 04:45:20 rpmi: libgomp1-10.3.1-alt3 sisyphus+281519.340.4.1 1627909997 installed <13>Sep 11 04:45:20 rpmi: libltdl7-2.4.6-alt4 sisyphus+284398.100.1.1 1630577601 installed <13>Sep 11 04:45:20 rpmi: libopenjpeg2.0-2.4.0-alt2 sisyphus+270166.100.1.1 1618663536 installed <13>Sep 11 04:45:20 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211284 installed <13>Sep 11 04:45:20 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Sep 11 04:45:20 rpmi: libnettle8-3.7.3-alt1 sisyphus+276723.100.1.2 1625211788 installed <13>Sep 11 04:45:20 rpmi: libjbig-2.1-alt1 sisyphus+276068.100.1.1 1624815400 installed <13>Sep 11 04:45:21 rpmi: libtiff5-4.2.0-alt1 sisyphus+279102.100.1.1 1626378264 installed <13>Sep 11 04:45:21 rpmi: libICE-1.0.10-alt1 sisyphus+278827.100.1.1 1626220279 installed <13>Sep 11 04:45:21 rpmi: libfribidi-1.0.10-alt1 sisyphus+277991.100.1.1 1625932302 installed <13>Sep 11 04:45:21 rpmi: libglvnd-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548117 installed <13>Sep 11 04:45:21 rpmi: libwayland-server-1.19.0-alt1 sisyphus+279023.100.1.1 1626353895 installed <13>Sep 11 04:45:21 rpmi: ilmbase25-common-2.5.6-alt2 sisyphus+279640.100.1.1 1626639160 installed <13>Sep 11 04:45:21 rpmi: libiex25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639160 installed <13>Sep 11 04:45:21 rpmi: libilmthread25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639160 installed <13>Sep 11 04:45:21 rpmi: libimath25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639160 installed <13>Sep 11 04:45:21 rpmi: libhalf25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639160 installed <13>Sep 11 04:45:21 rpmi: libSM-1.2.3-alt1 sisyphus+278820.100.1.1 1626219264 installed <13>Sep 11 04:45:21 rpmi: libhogweed6-3.7.3-alt1 sisyphus+276723.100.1.2 1625211788 installed <13>Sep 11 04:45:21 rpmi: libcom_err-devel-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>Sep 11 04:45:21 rpmi: libverto-devel-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493868 installed <13>Sep 11 04:45:21 rpmi: libflif-0.3-alt3 sisyphus+276388.100.1.1 1624990813 installed <13>Sep 11 04:45:21 rpmi: libjasper-2.0.33-alt1 sisyphus+283821.100.1.1 1629972796 installed <13>Sep 11 04:45:21 rpmi: libraw-0.20.2-alt1.1 sisyphus+283972.100.1.1 1630055048 installed <13>Sep 11 04:45:21 rpmi: libtcl-8.6.11-alt3 sisyphus+284233.40.3.1 1630366241 installed <13>Sep 11 04:45:21 rpmi: libsqlite3-3.35.5-alt1 sisyphus+279365.100.1.1 1626479494 installed <13>Sep 11 04:45:21 rpmi: libpcre16-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Sep 11 04:45:21 rpmi: pcretest-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Sep 11 04:45:21 rpmi: openldap-common-2.4.59-alt1 sisyphus+282933.100.1.1 1629124747 installed <13>Sep 11 04:45:21 rpmi: liblmdb-0.9.23-alt1 sisyphus+275369.100.1.2 1624493869 installed <13>Sep 11 04:45:21 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Sep 11 04:45:21 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 11 04:45:21 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 11 04:45:21 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Sep 11 04:45:21 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 11 04:45:21 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Sep 11 04:45:21 rpmi: libcrypto1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629815887 installed <13>Sep 11 04:45:21 rpmi: libssl1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629815887 installed <86>Sep 11 04:45:21 groupadd[2864833]: group added to /etc/group: name=_keytab, GID=499 <86>Sep 11 04:45:21 groupadd[2864833]: group added to /etc/gshadow: name=_keytab <86>Sep 11 04:45:21 groupadd[2864833]: new group: name=_keytab, GID=499 <13>Sep 11 04:45:21 rpmi: libkrb5-1.19.2-alt2 sisyphus+281652.100.1.1 1627900207 installed <86>Sep 11 04:45:21 groupadd[2864870]: group added to /etc/group: name=sasl, GID=498 <86>Sep 11 04:45:22 groupadd[2864870]: group added to /etc/gshadow: name=sasl <86>Sep 11 04:45:22 groupadd[2864870]: new group: name=sasl, GID=498 <13>Sep 11 04:45:22 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+282040.40.2.1 1628929840 installed <13>Sep 11 04:45:22 rpmi: libldap-2.4.59-alt1 sisyphus+282933.100.1.1 1629124747 installed <13>Sep 11 04:45:22 rpmi: libpq5-13.4-alt2 sisyphus+283796.100.2.1 1630040192 installed <13>Sep 11 04:45:22 rpmi: libecpg6-13.4-alt2 sisyphus+283796.100.2.1 1630040192 installed <13>Sep 11 04:45:22 rpmi: libkrb5-ldap-1.19.2-alt2 sisyphus+281652.100.1.1 1627900207 installed <13>Sep 11 04:45:22 rpmi: libkrb5-devel-1.19.2-alt2 sisyphus+281652.100.1.1 1627900207 installed <13>Sep 11 04:45:22 rpmi: libmysqlclient21-8.0.26-alt2 sisyphus+284731.100.1.1 1631016798 installed <13>Sep 11 04:45:22 rpmi: libImageMagick6-common-6.9.12.19-alt1 sisyphus+281741.100.1.1 1627999014 installed <13>Sep 11 04:45:22 rpmi: libwmflite-0.2.8.4-alt13 sisyphus+275127.100.1.1 1624406837 installed <13>Sep 11 04:45:22 rpmi: liblqr-0.4.2-alt1 sisyphus+276247.100.1.2 1624927461 installed <13>Sep 11 04:45:22 rpmi: djvu-common-3.5.27-alt1 sisyphus+275289.100.1.2 1624473687 installed <13>Sep 11 04:45:22 rpmi: libdjvu-3.5.27-alt1 sisyphus+275289.100.1.2 1624473687 installed <13>Sep 11 04:45:22 rpmi: libgts-0.7.6-alt2.drc20130205.1 sisyphus+275722.100.1.1 1624749869 installed <13>Sep 11 04:45:22 rpmi: libpaper-1.1.28-alt1 sisyphus+278439.100.1.1 1626100422 installed <13>Sep 11 04:45:22 rpmi: libidn2-2.3.2-alt1 sisyphus+281238.100.1.2 1627476321 installed <13>Sep 11 04:45:22 rpmi: libgnutls30-3.6.16-alt1 sisyphus+273086.100.1.1 1622478144 installed <13>Sep 11 04:45:22 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626059441 installed <13>Sep 11 04:45:22 rpmi: libgpg-error-1.42-alt1 sisyphus+275524.40.1.1 1624455807 installed <13>Sep 11 04:45:23 rpmi: libgcrypt20-1.9.3-alt1 sisyphus+275524.100.1.1 1624455938 installed <13>Sep 11 04:45:23 rpmi: libsystemd-1:249.4-alt2 sisyphus+284628.100.1.1 1630859802 installed <13>Sep 11 04:45:23 rpmi: libdbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484261 installed <13>Sep 11 04:45:23 rpmi: libavahi-0.8-alt2 sisyphus+279391.100.1.2 1626530679 installed <13>Sep 11 04:45:23 rpmi: libcups-2.3.3-alt6.op2 sisyphus+274028.100.1.1 1623148995 installed <13>Sep 11 04:45:23 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed <13>Sep 11 04:45:23 rpmi: libgtk+2-locales-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Sep 11 04:45:23 rpmi: libnuma-2.0.14-alt2 sisyphus+278485.100.1.1 1626104244 installed <13>Sep 11 04:45:23 rpmi: libx265-199-3.5-alt1.1 sisyphus+277560.100.1.1 1625697230 installed <13>Sep 11 04:45:24 rpmi: libgdk-pixbuf-locales-2.42.6-alt1 sisyphus+277964.100.1.1 1625927113 installed <13>Sep 11 04:45:24 rpmi: libde265-1.0.7-alt1 sisyphus+275350.100.1.2 1624489754 installed <13>Sep 11 04:45:24 rpmi: libaom3-3.1.2-alt2 sisyphus+284158.100.1.1 1630312716 installed <13>Sep 11 04:45:24 rpmi: libatk-locales-2.36.0-alt1 sisyphus+275092.100.2.1 1624560096 installed <13>Sep 11 04:45:24 rpmi: libatk-2.36.0-alt1 sisyphus+275092.100.2.1 1624560096 installed <13>Sep 11 04:45:24 rpmi: libdatrie-0.2.9-alt1_6 sisyphus+278217.100.1.1 1626078469 installed <13>Sep 11 04:45:24 rpmi: libthai-0.1.28-alt1_1 sisyphus+275403.100.1.2 1624502529 installed <13>Sep 11 04:45:24 rpmi: shared-mime-info-2.1-alt1 sisyphus+278982.100.1.1 1626350317 installed <13>Sep 11 04:45:24 rpmi: gsettings-desktop-schemas-data-40.0-alt1 sisyphus+268501.300.4.2 1617041783 installed <13>Sep 11 04:45:24 rpmi: libgio-2.68.4-alt1.1 sisyphus+283807.200.2.1 1629993687 installed <13>Sep 11 04:45:24 rpmi: gsettings-desktop-schemas-40.0-alt1 sisyphus+268501.300.4.2 1617041783 installed <13>Sep 11 04:45:24 rpmi: libgdk-pixbuf-2.42.6-alt1 sisyphus+277964.100.1.1 1625927113 installed <13>Sep 11 04:45:24 rpmi: libheif-1.11.0-alt1 sisyphus+279399.100.1.2 1626532543 installed <13>Sep 11 04:45:24 rpmi: gtk-update-icon-cache-3.24.30-alt1 sisyphus+277720.100.1.1 1625768792 installed <13>Sep 11 04:45:24 rpmi: libpixman-3:0.40.0-alt2 sisyphus+281167.100.1.1 1627444504 installed <13>Sep 11 04:45:24 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Sep 11 04:45:24 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Sep 11 04:45:24 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Sep 11 04:45:25 rpmi: libharfbuzz-2.8.2-alt1 sisyphus+276374.40.4.1 1628747356 installed <13>Sep 11 04:45:25 rpmi: libfreetype-2.11.0-alt1 sisyphus+281294.100.1.1 1627488670 installed <13>Sep 11 04:45:25 rpmi: fontconfig-2.13.1-alt2 sisyphus+283256.100.1.1 1629274953 installed Updating fonts cache: <29>Sep 11 04:45:26 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Sep 11 04:45:29 rpmi: libgs-9.54.0-alt2 sisyphus+284266.100.1.1 1630413414 installed <13>Sep 11 04:45:29 rpmi: libraqm-0.7.1-alt1 sisyphus+279320.100.1.2 1626503395 installed <13>Sep 11 04:45:29 rpmi: libxshmfence-1.3-alt1 sisyphus+278248.100.1.1 1626080762 installed <13>Sep 11 04:45:29 rpmi: libwayland-client-1.19.0-alt1 sisyphus+279023.100.1.1 1626353895 installed <13>Sep 11 04:45:29 rpmi: libpciaccess-1:0.16-alt1 sisyphus+278288.100.1.1 1626084210 installed <13>Sep 11 04:45:29 rpmi: libdrm-1:2.4.107-alt2 sisyphus+283492.100.1.3 1629454692 installed <13>Sep 11 04:45:29 rpmi: libgbm-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455820 installed <13>Sep 11 04:45:29 rpmi: libX11-locales-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 11 04:45:29 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219231 installed <13>Sep 11 04:45:29 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080736 installed <13>Sep 11 04:45:29 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Sep 11 04:45:29 rpmi: libX11-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 11 04:45:29 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262596 installed <13>Sep 11 04:45:29 rpmi: libXrender-0.9.10-alt1 sisyphus+278480.100.1.2 1626227740 installed <13>Sep 11 04:45:29 rpmi: libXfixes-6.0.0-alt1 sisyphus+284644.300.1.1 1630910331 installed <13>Sep 11 04:45:29 rpmi: libXcursor-1.2.0-alt1 sisyphus+278256.100.1.2 1626134578 installed <13>Sep 11 04:45:29 rpmi: libXft-2.3.4-alt1 sisyphus+284644.500.1.1 1630910476 installed <13>Sep 11 04:45:29 rpmi: libXrandr-1.5.2-alt1 sisyphus+275330.100.2.2 1624575558 installed <13>Sep 11 04:45:29 rpmi: libXxf86vm-1.1.4-alt2 sisyphus+275334.100.2.2 1624577011 installed <13>Sep 11 04:45:29 rpmi: libGLX-mesa-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455820 installed <13>Sep 11 04:45:29 rpmi: libEGL-mesa-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455820 installed <13>Sep 11 04:45:29 rpmi: libEGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548117 installed <13>Sep 11 04:45:29 rpmi: libGLX-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548117 installed <13>Sep 11 04:45:29 rpmi: libGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548117 installed <13>Sep 11 04:45:30 rpmi: libcairo-1:1.16.0-alt1 sisyphus+275343.100.2.3 1624578007 installed <13>Sep 11 04:45:30 rpmi: libpango-1.48.9-alt1 sisyphus+283305.300.1.1 1629309200 installed <13>Sep 11 04:45:30 rpmi: liblasi-1.1.3-alt2 sisyphus+275244.100.1.2 1624454873 installed <13>Sep 11 04:45:30 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+275343.100.2.3 1624578007 installed <13>Sep 11 04:45:30 rpmi: librsvg-1:2.50.7-alt1 sisyphus+279625.100.1.2 1626639599 installed <13>Sep 11 04:45:30 rpmi: libXi-1.7.10-alt1 sisyphus+278284.100.1.2 1626151198 installed <13>Sep 11 04:45:30 rpmi: libXinerama-1.1.4-alt1 sisyphus+275328.100.2.2 1624575558 installed <13>Sep 11 04:45:30 rpmi: libXt-1.2.1-alt1 sisyphus+265202.200.1.1 1611565457 installed <13>Sep 11 04:45:30 rpmi: libXpm-3.5.13-alt1 sisyphus+278339.100.1.2 1626171698 installed <13>Sep 11 04:45:30 rpmi: libgd3-2.3.2-alt1 sisyphus+279240.100.1.1 1626460055 installed <13>Sep 11 04:45:30 rpmi: libXcomposite-0.4.5-alt1 sisyphus+275323.100.2.2 1624573269 installed <13>Sep 11 04:45:30 rpmi: libXdamage-1.1.5-alt1 sisyphus+275324.100.2.2 1624573269 installed <13>Sep 11 04:45:31 rpmi: libgtk+2-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Sep 11 04:45:31 rpmi: libgraphviz-2.41.2-alt5 sisyphus+279667.100.1.2 1626656493 installed <13>Sep 11 04:45:31 rpmi: openexr25-common-2.5.6-alt3 sisyphus+277625.100.1.1 1625722208 installed <13>Sep 11 04:45:31 rpmi: libilmimf25-2.5.6-alt3 sisyphus+277625.100.1.1 1625722208 installed <13>Sep 11 04:45:32 rpmi: libImageMagick6.7-6.9.12.19-alt1 sisyphus+281741.100.1.1 1627999014 installed <13>Sep 11 04:45:32 rpmi: rpm-macros-pam0-1.5.2-alt1 sisyphus+284519.100.1.1 1630672115 installed <13>Sep 11 04:45:32 rpmi: libpam0-devel-1.5.2-alt1 sisyphus+284519.100.1.1 1630672115 installed <13>Sep 11 04:45:32 rpmi: ImageMagick-tools-6.9.12.19-alt1 sisyphus+281741.100.1.1 1627999014 installed <13>Sep 11 04:45:32 rpmi: libmysqlclient21-devel-8.0.26-alt2 sisyphus+284731.100.1.1 1631016798 installed <13>Sep 11 04:45:32 rpmi: postgresql-devel-13.4-alt2 sisyphus+283796.100.2.1 1630040192 installed <13>Sep 11 04:45:32 rpmi: openssl-1.1.1l-alt1 sisyphus+283685.100.1.1 1629815887 installed <13>Sep 11 04:45:32 rpmi: openssl-engines-1.1.1l-alt1 sisyphus+283685.100.1.1 1629815887 installed <13>Sep 11 04:45:33 rpmi: libpcre-devel-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Sep 11 04:45:33 rpmi: libsqlite3-devel-3.35.5-alt1 sisyphus+279365.100.1.1 1626479494 installed <13>Sep 11 04:45:33 rpmi: sqlite3-3.35.5-alt1 sisyphus+279365.100.1.1 1626479494 installed <13>Sep 11 04:45:33 rpmi: libxml2-devel-1:2.9.12-alt1 sisyphus+279621.1100.1.1 1626630109 installed <13>Sep 11 04:45:33 rpmi: flex-2.6.4.0.88.9801-alt2 sisyphus+283727.100.1.1 1629851973 installed warning: line 39: Deprecated PreReq converted to Requires(pre,postun): PreReq: monit-base Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/kannel-1.5.0-alt1.cvs20091101.4.nosrc.rpm (w1.gzdio) warning: line 28: Deprecated PreReq converted to Requires(pre,postun): PreReq: monit-base Installing kannel-1.5.0-alt1.cvs20091101.4.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.82673 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf gateway-1.5.0 + echo 'Source #0 (gateway-1.5.0.tar.bz2):' Source #0 (gateway-1.5.0.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/gateway-1.5.0.tar.bz2 + /bin/tar -xf - + cd gateway-1.5.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (kannel-1.4.1-alt-rm_enquire_link.patch):' Patch #0 (kannel-1.4.1-alt-rm_enquire_link.patch): + /usr/bin/patch -p2 patching file gw/smsc/smpp_pdu.c patching file gw/smsc/smsc_smpp.c Hunk #1 succeeded at 969 with fuzz 2. Hunk #2 succeeded at 1924 with fuzz 2. + echo 'Patch #1 (kannel_store_tools.patch):' Patch #1 (kannel_store_tools.patch): + /usr/bin/patch -p0 patching file test/store_tools.c + echo 'Patch #2 (kannel-dlr-retry.patch):' Patch #2 (kannel-dlr-retry.patch): + /usr/bin/patch -p0 patching file gwlib/cfg.def patching file gw/dlr.c Hunk #1 succeeded at 230 (offset 2 lines). Hunk #2 succeeded at 274 (offset 4 lines). Hunk #3 succeeded at 377 (offset 4 lines). Hunk #4 succeeded at 391 (offset 4 lines). patching file gw/dlr_p.h + echo 'Patch #3 (kannel-pam.patch):' Patch #3 (kannel-pam.patch): + /usr/bin/patch -p0 patching file configure.in patching file gw-config.h.in patching file gw/smsbox.c patching file gw/urltrans.c patching file gw/urltrans.h patching file gwlib/cfg.def Hunk #1 succeeded at 492 (offset 3 lines). + echo 'Patch #4 (kannel-fix-aarch64-build.patch):' Patch #4 (kannel-fix-aarch64-build.patch): + /usr/bin/patch -p1 patching file gwlib/log.c + echo 'Patch #5 (kannel-1.5.0-alt-mysql8-transition.patch):' Patch #5 (kannel-1.5.0-alt-mysql8-transition.patch): + /usr/bin/patch -p0 patching file ./gwlib/dbpool_mysql.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.13600 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gateway-1.5.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + readlink -e -- ./configure + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext '--with-cflags=-fPIC -fcommon' --enable-cookies --enable-largefile --disable-docs --disable-drafts --enable-keepalive --disable-mutex-stats --enable-localtime --enable-pam --enable-pcre --enable-sms --enable-ssl --disable-start-stop-daemon --with-defaults=speed --enable-wap --with-mysql --with-pgsql --without-sqlite --with-sqlite3 --with-ssl=/usr/lib64/openssl --disable-ssl-thread-test configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext, --without-sqlite checking cvs checkout date... grep: CVS/Entries: No such file or directory grep: CVS/Entries: No such file or directory Configuring for Kannel gateway version cvs- ... Running system checks ... checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking for x86_64-alt-linux-gcc option to accept ISO C99... none needed checking for a BSD-compatible install... /bin/install -c checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for x86_64-alt-linux-ar... no checking for ar... ar checking for convert... /usr/bin/convert checking for perl... /usr/bin/perl checking for inline... inline checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking for log in -lm... yes checking for accept in -lsocket... no checking for inet_ntoa in -lnsl... no checking for inet_ntop in -lresolv... yes checking for inet_ntop in -lbind... no checking for pthread_exit in -lpthread... yes checking for ANSI C header files... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking zlib.h usability... no checking zlib.h presence... no checking for zlib.h... no checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for stdlib.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for net/if.h... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for getopt_long... yes checking for localtime_r... yes checking for gmtime_r... yes checking for backtrace... yes checking for srandom... yes checking for getopt... yes checking for gethostbyname_r... yes checking for which type of gethostbyname_r... 6 checking for socklen_t in ... yes checking for getopt in ... no checking for getopt in ... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for regcomp... yes Checking for POSIX threads support ... checking for working pthreads... yes checking for pthread_spinlock support... yes checking for pthread_rwlock support... yes checking for sem_init in -lrt... yes checking for semaphore support... yes Checking for libxml2 support ... checking for xml2-config... /usr/bin/xml2-config checking libxml version... 2.9.12 Configuring for PCRE support ... checking whether to compile with PCRE support... searching checking for pcre-config... /usr/bin/pcre-config checking PCRE version... 8.45 checking for POSIX regex provider... PCRE library checking pcreposix.h usability... yes checking pcreposix.h presence... no configure: WARNING: pcreposix.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: pcreposix.h: proceeding with the compiler's result checking for pcreposix.h... yes checking for regcomp in -lpcreposix... yes checking pcre.h usability... yes checking pcre.h presence... no configure: WARNING: pcre.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: pcre.h: proceeding with the compiler's result checking for pcre.h... yes checking for pcre_compile... yes Configuring DocBook support ... checking for jade... no checking for openjade... no checking for jadetex... no checking for pdfjadetex... no checking for dvips... no checking for fig2dev... no checking for convert... /usr/bin/convert checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no checking for /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.*/html/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no checking for /usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no checking for /usr/share/sgml/dsssl/docbook-dsssl-nwalsh/html/docbook.dsl... no checking for /usr/share/dsssl/docbook-dsssl/html/docbook.dsl... no checking for /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no checking for /usr/local/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl-stylesheets-1.*/html/docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no checking for /usr/local/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no checking for /usr/local/share/sgml/dsssl/docbook-dsssl-nwalsh/html/docbook.dsl... no checking for /usr/local/share/dsssl/docbook-dsssl/html/docbook.dsl... no checking for /sw/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no checking for /sw/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no checking for /sw/share/sgml/docbook/dsssl-stylesheets-1.*/html/docbook.dsl... no checking for /sw/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no checking for /sw/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl... no checking for /sw/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no checking for /sw/share/sgml/dsssl/docbook-dsssl-nwalsh/html/docbook.dsl... no checking for /sw/share/dsssl/docbook-dsssl/html/docbook.dsl... no checking for /opt/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no checking for /opt/local/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no checking for /opt/local/share/sgml/docbook/dsssl-stylesheets-1.*/html/docbook.dsl... no checking for /opt/local/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no checking for /opt/local/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl... no checking for /opt/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no checking for /opt/local/share/sgml/dsssl/docbook-dsssl-nwalsh/html/docbook.dsl... no checking for /opt/local/share/dsssl/docbook-dsssl/html/docbook.dsl... no checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no checking for /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.*/print/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no checking for /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no checking for /usr/share/sgml/dsssl/docbook-dsssl-nwalsh/print/docbook.dsl... no checking for /usr/share/dsssl/docbook-dsssl/print/docbook.dsl... no checking for /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no checking for /usr/local/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl-stylesheets-1.*/print/docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no checking for /usr/local/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no checking for /usr/local/share/sgml/dsssl/docbook-dsssl-nwalsh/print/docbook.dsl... no checking for /usr/local/share/dsssl/docbook-dsssl/print/docbook.dsl... no checking for /sw/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no checking for /sw/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no checking for /sw/share/sgml/docbook/dsssl-stylesheets-1.*/print/docbook.dsl... no checking for /sw/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no checking for /sw/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl... no checking for /sw/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no checking for /sw/share/sgml/dsssl/docbook-dsssl-nwalsh/print/docbook.dsl... no checking for /sw/share/dsssl/docbook-dsssl/print/docbook.dsl... no checking for /opt/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no checking for /opt/local/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no checking for /opt/local/share/sgml/docbook/dsssl-stylesheets-1.*/print/docbook.dsl... no checking for /opt/local/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no checking for /opt/local/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl... no checking for /opt/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no checking for /opt/local/share/sgml/dsssl/docbook-dsssl-nwalsh/print/docbook.dsl... no checking for /opt/local/share/dsssl/docbook-dsssl/print/docbook.dsl... no Not building documentation. Configuring parameters ... checking which malloc to use... native malloc disabling assertion checking checking for pam_end in -lpam... yes checking for main in -ldl... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes PAM authentication is enabled. enabling local time enabling cookies enabling HTTP/1.1 keep-alive Configuring OpenSSL support ... checking whether to compile with SSL support... trying /usr/lib64/openssl/lib /usr/lib64/openssl/include checking for openssl... /usr/bin/openssl checking for CRYPTO_lock in -lcrypto... no Configuring DB support ... checking whether to compile with MySQL support... searching checking for mysql_config... /usr/bin/mysql_config checking mysql version... 8.0.26 checking mysql reentrant libs... -L/usr/lib64 -lmysqlclient checking for mysql_init in -lmysqlclient_r... no checking mysql libs... -L/usr/lib64 -lmysqlclient checking for mysql_init in -lmysqlclient... yes checking mysql includes... -I/usr/include/mysql checking mysql/mysql.h usability... yes checking mysql/mysql.h presence... yes checking for mysql/mysql.h... yes checking mysql/mysql_version.h usability... yes checking mysql/mysql_version.h presence... yes checking for mysql/mysql_version.h... yes checking for mysql_stmt_init in -lmysqlclient_r... no checking for mysql_stmt_init in -lmysqlclient... yes checking whether to compile with MySQL support... yes checking whether to compile with LibSDB support... disabled checking whether to compile with SQLite2 support... disabled checking whether to compile with SQLite3 support... searching checking sqlite3.h usability... yes checking sqlite3.h presence... yes checking for sqlite3.h... yes checking for sqlite3_open in -lsqlite3... yes checking for sqlite3... /usr/bin/sqlite3 checking sqlite3 version... 3.35.5 2021-04-19 18:32:05 1b256d97b553a9611efca188a3d995a2fff712759044ba480f9a0c9e98faalt1 checking whether to compile with Oracle support... disabled checking whether to compile with PostgresSQL support... searching checking for pg_config... /usr/bin/pg_config checking PostgreSQL version... PostgreSQL 13.4 checking PostgreSQL libs... /usr/lib64 checking PostgreSQL includes... /usr/include/pgsql checking postgresql/libpq-fe.h usability... yes checking postgresql/libpq-fe.h presence... yes checking for postgresql/libpq-fe.h... yes checking for PQconnectdb in -lpq... yes checking whether to compile with PostgreSQL support... yes checking whether to compile with FreeTDS Ct-Lib support... disabled Generating output files ... configure: creating ./config.status config.status: creating gwlib/gw_uuid_types.h config.status: creating Makefile config.status: creating gw-config.h configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext, --without-sqlite License information ... +--------------------------------------------------------------------+ | License: | | This software is subject to the Kannel Software License, available | | in this distribution in the file LICENSE. By continuing this | | installation process, you are bound by the terms of this license | | agreement. If you do not agree with the terms of this license, you | | must abort the installation process at this point. | | | | The Kannel Group | +--------------------------------------------------------------------+ Thank you for using Kannel. + make make: Entering directory '/usr/src/RPM/BUILD/gateway-1.5.0' for dir in gw gw/smsc gwlib test utils wmlscript checks wap radius; do \ for file in $dir/*.c; do \ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -MM $file -MT $dir/`basename $file .c`.o -MT $dir/`basename $file .c`.i; done; done > .depend x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_alog.o -c gw/bb_alog.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/bb_alog.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_boxc.o -c gw/bb_boxc.c In file included from /usr/include/errno.h:25, from gw/bb_boxc.c:67: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_http.o -c gw/bb_http.c In file included from /usr/include/errno.h:25, from gw/bb_http.c:67: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_smscconn.o -c gw/bb_smscconn.c In file included from /usr/include/errno.h:25, from gw/bb_smscconn.c:71: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_store.o -c gw/bb_store.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/bb_store.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_store_file.o -c gw/bb_store_file.c In file included from /usr/include/errno.h:25, from gw/bb_store_file.c:71: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_store_spool.o -c gw/bb_store_spool.c In file included from /usr/include/unistd.h:25, from gw/bb_store_spool.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_udp.o -c gw/bb_udp.c In file included from /usr/include/errno.h:25, from gw/bb_udp.c:66: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/dlr.o -c gw/dlr.c In file included from /usr/include/ctype.h:25, from gw/dlr.c:82: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/dlr.c: In function 'dlr_find': gw/dlr.c:409:70: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Wformat=] 409 | debug("dlr.dlr", 0, "DLR from SMSC<%s> for DST<%s>. Attempt %d of %d.", | ~^ | | | int | %ld 410 | octstr_get_cstr(smsc), octstr_get_cstr(dst), retry, handles->retry_count); | ~~~~~~~~~~~~~~~~~~~~ | | | long int gw/dlr.c:414:71: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=] 414 | warning(0, "DLR[%s]: DLR from SMSC<%s> for DST<%s> not found after %d attempts.", | ~^ | | | int | %ld 415 | dlr_type(), octstr_get_cstr(smsc), octstr_get_cstr(dst), handles->retry_count); | ~~~~~~~~~~~~~~~~~~~~ | | | long int x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/dlr_mem.o -c gw/dlr_mem.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/dlr_mem.c:68: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/dlr_mssql.o -c gw/dlr_mssql.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/dlr_mssql.c:69: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/dlr_mysql.o -c gw/dlr_mysql.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/dlr_mysql.c:68: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/dlr_oracle.o -c gw/dlr_oracle.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/dlr_oracle.c:67: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/dlr_pgsql.o -c gw/dlr_pgsql.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/dlr_pgsql.c:68: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/dlr_sdb.o -c gw/dlr_sdb.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/dlr_sdb.c:69: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/heartbeat.o -c gw/heartbeat.c In file included from /usr/include/signal.h:25, from gw/heartbeat.c:61: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/html.o -c gw/html.c In file included from /usr/include/ctype.h:25, from gw/html.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/load.o -c gw/load.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/load.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/meta_data.o -c gw/meta_data.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/meta_data.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/mime_decompiler.o -c gw/mime_decompiler.c In file included from /usr/include/time.h:25, from gw/mime_decompiler.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/msg.o -c gw/msg.c In file included from /usr/include/errno.h:25, from gw/msg.c:66: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/numhash.o -c gw/numhash.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from gw/numhash.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/ota_compiler.o -c gw/ota_compiler.c In file included from /usr/include/ctype.h:25, from gw/ota_compiler.c:82: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/ota_prov.o -c gw/ota_prov.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from gw/ota_prov.c:72: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/ota_prov.c: In function 'ota_pack_push_headers': gw/ota_prov.c:177:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 177 | p = ""; | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/shared.o -c gw/shared.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/shared.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/sms.o -c gw/sms.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/msg.h:69, from gw/sms.h:89, from gw/sms.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smscconn.o -c gw/smscconn.c In file included from /usr/include/signal.h:25, from gw/smscconn.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/urltrans.o -c gw/urltrans.c In file included from /usr/include/ctype.h:25, from gw/urltrans.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap-appl.o -c gw/wap-appl.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from gw/wap-appl.c:85: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/wap-appl.c: In function 'main_thread': gw/wap-appl.c:362:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 362 | if (have_ppg && wap_push_ppg_have_push_session_for_sid(sid)) | ^~ gw/wap-appl.c:364:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 364 | wap_event_destroy(ind); | ^~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap-error.o -c gw/wap-error.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/wap-error.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap-maps.o -c gw/wap-maps.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/wap-maps.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap_push_ota.o -c gw/wap_push_ota.c In file included from /usr/include/errno.h:25, from gw/wap_push_ota.c:78: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap_push_pap_compiler.o -c gw/wap_push_pap_compiler.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libxml2/libxml/xmlmemory.h:15, from gw/wap_push_pap_compiler.c:85: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/wap_push_pap_compiler.c: In function 'parse_pap_value': gw/wap_push_pap_compiler.c:944:13: warning: variable 'ros' set but not used [-Wunused-but-set-variable] 944 | Octstr *ros; | ^~~ gw/wap_push_pap_compiler.c: In function 'parse_push_response_value': gw/wap_push_pap_compiler.c:1107:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1107 | int ret; | ^~~ gw/wap_push_pap_compiler.c: In function 'parse_code': gw/wap_push_pap_compiler.c:1326:10: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1326 | len; | ^~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap_push_pap_mime.o -c gw/wap_push_pap_mime.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/wap_push_pap_mime.h:68, from gw/wap_push_pap_mime.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/wap_push_pap_mime.c: In function 'pass_extension_headers': gw/wap_push_pap_mime.c:728:10: warning: variable 'count' set but not used [-Wunused-but-set-variable] 728 | count; | ^~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap_push_ppg.o -c gw/wap_push_ppg.c In file included from /usr/include/time.h:25, from gw/wap_push_ppg.c:76: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/wap_push_ppg.c: In function 'pap_request_thread': gw/wap_push_ppg.c:920:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 920 | if (client == NULL) | ^~ gw/wap_push_ppg.c:922:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 922 | goto not_acceptable; | ^~~~ gw/wap_push_ppg.c: In function 'handle_push_message': gw/wap_push_ppg.c:1069:13: warning: variable 'push_data' set but not used [-Wunused-but-set-variable] 1069 | Octstr *push_data=NULL; | ^~~~~~~~~ gw/wap_push_ppg.c: In function 'select_bearer_network': gw/wap_push_ppg.c:2097:13: warning: variable 'network' set but not used [-Wunused-but-set-variable] 2097 | *network; | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap_push_ppg_pushuser.o -c gw/wap_push_ppg_pushuser.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/wap_push_ppg_pushuser.h:73, from gw/wap_push_ppg_pushuser.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap_push_si_compiler.o -c gw/wap_push_si_compiler.c In file included from /usr/include/ctype.h:25, from gw/wap_push_si_compiler.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap_push_sl_compiler.o -c gw/wap_push_sl_compiler.c In file included from /usr/include/ctype.h:25, from gw/wap_push_sl_compiler.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wml_compiler.o -c gw/wml_compiler.c In file included from /usr/include/time.h:25, from gw/wml_compiler.c:68: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/xml_shared.o -c gw/xml_shared.c In file included from /usr/include/ctype.h:25, from gw/xml_shared.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/xml_shared.c: In function 'find_charset_encoding': gw/xml_shared.c:154:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 154 | if (enc < 0 || enc + 10 > gt) | ^~ gw/xml_shared.c:157:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 157 | temp = octstr_copy(document, enc + 10, gt - (enc + 10)); | ^~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/emimsg.o -c gw/smsc/emimsg.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/smsc/emimsg.h:67, from gw/smsc/emimsg.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smasi_pdu.o -c gw/smsc/smasi_pdu.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from gw/smsc/smasi_pdu.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smpp_pdu.o -c gw/smsc/smpp_pdu.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from gw/smsc/smpp_pdu.c:66: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc.o -c gw/smsc/smsc.c In file included from /usr/include/errno.h:25, from gw/smsc/smsc.c:67: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/smsc/smsc.c: In function 'smscenter_read_into_buffer': gw/smsc/smsc.c:351:14: warning: variable 'result' set but not used [-Wunused-but-set-variable] 351 | int ret, result; | ^~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_at.o -c gw/smsc/smsc_at.c In file included from /usr/include/errno.h:25, from gw/smsc/smsc_at.c:71: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/smsc/smsc_at.c: In function 'at2_scan_for_telnet_escapes': gw/smsc/smsc_at.c:109:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] 109 | int i; | ^ gw/smsc/smsc_at.c: In function 'at2_wait_modem_command': gw/smsc/smsc_at.c:764:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] 764 | int len; | ^~~ gw/smsc/smsc_at.c: In function 'at2_pdu_extract': gw/smsc/smsc_at.c:1702:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 1702 | while (isspace(octstr_get_char(buffer, pos))) | ^~~~~ gw/smsc/smsc_at.c:1705:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 1705 | octstr_truncate(smsc_number,0); | ^~~~~~~~~~~~~~~ gw/smsc/smsc_at.c: In function 'gsm2number': gw/smsc/smsc_at.c:1757:6: warning: variable 'npi' set but not used [-Wunused-but-set-variable] 1757 | int npi; | ^~~ gw/smsc/smsc_at.c: In function 'at2_encode7bituncompressed': gw/smsc/smsc_at.c:2485:9: warning: variable 'posT' set but not used [-Wunused-but-set-variable] 2485 | int posT, posS; | ^~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_cgw.o -c gw/smsc/smsc_cgw.c In file included from /usr/include/sys/types.h:25, from gw/smsc/smsc_cgw.c:107: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/smsc/smsc_cgw.c: In function 'cgw_receiver': gw/smsc/smsc_cgw.c:1032:13: warning: variable 'str' set but not used [-Wunused-but-set-variable] 1032 | Octstr *str = NULL; | ^~~ gw/smsc/smsc_cgw.c: In function 'cgw_handle_op': gw/smsc/smsc_cgw.c:1071:37: warning: variable 'msgtype' set but not used [-Wunused-but-set-variable] 1071 | Octstr *from, *app, *sid, *to, *msgtype, *msgdata; /* for messages */ | ^~~~~~~ gw/smsc/smsc_cgw.c:1071:20: warning: variable 'app' set but not used [-Wunused-but-set-variable] 1071 | Octstr *from, *app, *sid, *to, *msgtype, *msgdata; /* for messages */ | ^~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_cimd.o -c gw/smsc/smsc_cimd.c In file included from /usr/include/errno.h:25, from gw/smsc/smsc_cimd.c:62: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_cimd2.o -c gw/smsc/smsc_cimd2.c In file included from /usr/include/ctype.h:25, from gw/smsc/smsc_cimd2.c:80: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/smsc/smsc_cimd2.c: In function 'packet_check': gw/smsc/smsc_cimd2.c:849:15: warning: variable 'len' set but not used [-Wunused-but-set-variable] 849 | long pos, len, next; | ^~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_emi.o -c gw/smsc/smsc_emi.c In file included from /usr/include/sys/types.h:25, from gw/smsc/smsc_emi.c:75: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/smsc/smsc_emi.c: In function 'msg_to_emimsg': gw/smsc/smsc_emi.c:527:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 527 | if (privdata->alt_charset == EMI_NRC_ISO_21) | ^~ gw/smsc/smsc_emi.c:532:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 532 | if (charset_gsm_truncate(str, 160)) | ^~ gw/smsc/smsc_emi.c: In function 'handle_operation': gw/smsc/smsc_emi.c:617:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 617 | if (privdata->alt_charset == EMI_NRC_ISO_21) | ^~ gw/smsc/smsc_emi.c:620:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 620 | charset_gsm_to_utf8(msg->sms.msgdata); | ^~~~~~~~~~~~~~~~~~~ gw/smsc/smsc_emi.c:765:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 765 | if (privdata->alt_charset == EMI_NRC_ISO_21) | ^~ gw/smsc/smsc_emi.c:768:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 768 | charset_gsm_to_utf8(msg->sms.msgdata); | ^~~~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_emi_x25.o -c gw/smsc/smsc_emi_x25.c In file included from /usr/include/errno.h:25, from gw/smsc/smsc_emi_x25.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/smsc/smsc_emi_x25.c: In function 'memorybuffer_cut_rawmessage': gw/smsc/smsc_emi_x25.c:862:9: warning: variable 'size_of_the_rest' set but not used [-Wunused-but-set-variable] 862 | int size_of_the_rest; | ^~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_fake.o -c gw/smsc/smsc_fake.c In file included from /usr/include/sys/types.h:25, from gw/smsc/smsc_fake.c:66: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_http.o -c gw/smsc/smsc_http.c In file included from /usr/include/sys/types.h:25, from gw/smsc/smsc_http.c:114: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/smsc/smsc_http.c: In function 'kannel_receive_sms': gw/smsc/smsc_http.c:581:13: warning: variable 'dlrurl' set but not used [-Wunused-but-set-variable] 581 | Octstr *dlrurl, *dlrmid; | ^~~~~~ gw/smsc/smsc_http.c: In function 'brunet_receive_sms': gw/smsc/smsc_http.c:1149:52: warning: variable 'type' set but not used [-Wunused-but-set-variable] 1149 | Octstr *user, *from, *to, *text, *udh, *date, *type; | ^~~~ gw/smsc/smsc_http.c:1149:45: warning: variable 'date' set but not used [-Wunused-but-set-variable] 1149 | Octstr *user, *from, *to, *text, *udh, *date, *type; | ^~~~ gw/smsc/smsc_http.c: In function 'generic_receive_sms': gw/smsc/smsc_http.c:1645:9: warning: variable 'mclass' set but not used [-Wunused-but-set-variable] 1645 | int mclass, mwi, coding, validity, deferred, dlrmask; | ^~~~~~ gw/smsc/smsc_http.c:1643:13: warning: variable 'dlrurl' set but not used [-Wunused-but-set-variable] 1643 | Octstr *dlrurl, *dlrmid; | ^~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_loopback.o -c gw/smsc/smsc_loopback.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/smsc/smsc_loopback.c:67: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_ois.o -c gw/smsc/smsc_ois.c In file included from /usr/include/unistd.h:25, from gw/smsc/smsc_ois.c:111: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/smsc/smsc_ois.c: In function 'ois_ignore_protocol_id': gw/smsc/smsc_ois.c:1246:9: warning: variable 'value' set but not used [-Wunused-but-set-variable] 1246 | int value; | ^~~~~ gw/smsc/smsc_ois.c: In function 'ois_deliver_sm_result': gw/smsc/smsc_ois.c:1347:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1347 | int len; | ^~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_oisd.o -c gw/smsc/smsc_oisd.c In file included from /usr/include/ctype.h:25, from gw/smsc/smsc_oisd.c:71: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_sema.o -c gw/smsc/smsc_sema.c In file included from /usr/include/errno.h:25, from gw/smsc/smsc_sema.c:79: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/smsc/smsc_sema.c: In function 'sema_reopen': gw/smsc/smsc_sema.c:176:33: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 176 | memset(smsc->buffer,0,sizeof(smsc->buffer)); | ^ In file included from /usr/include/string.h:532, from gw/smsc/smsc_sema.c:83: In function 'strncpy', inlined from 'pack_continous_byte' at gw/smsc/smsc_sema.c:1901:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pack_continous_byte' at gw/smsc/smsc_sema.c:1899:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_smasi.o -c gw/smsc/smsc_smasi.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/smsc/smsc_smasi.c:82: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/smsc/smsc_smasi.c: In function 'smasi_thread': gw/smsc/smsc_smasi.c:914:10: warning: variable 'len' set but not used [-Wunused-but-set-variable] 914 | long len; | ^~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_smpp.o -c gw/smsc/smsc_smpp.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/smsc/smsc_smpp.c:72: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_soap.o -c gw/smsc/smsc_soap.c In file included from /usr/include/sys/types.h:25, from gw/smsc/smsc_soap.c:114: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_wrapper.o -c gw/smsc/smsc_wrapper.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gw/smsc/smsc_wrapper.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ar rc libgw.a gw/bb_alog.o gw/bb_boxc.o gw/bb_http.o gw/bb_smscconn.o gw/bb_store.o gw/bb_store_file.o gw/bb_store_spool.o gw/bb_udp.o gw/dlr.o gw/dlr_mem.o gw/dlr_mssql.o gw/dlr_mysql.o gw/dlr_oracle.o gw/dlr_pgsql.o gw/dlr_sdb.o gw/heartbeat.o gw/html.o gw/load.o gw/meta_data.o gw/mime_decompiler.o gw/msg.o gw/numhash.o gw/ota_compiler.o gw/ota_prov.o gw/shared.o gw/sms.o gw/smscconn.o gw/urltrans.o gw/wap-appl.o gw/wap-error.o gw/wap-maps.o gw/wap_push_ota.o gw/wap_push_pap_compiler.o gw/wap_push_pap_mime.o gw/wap_push_ppg.o gw/wap_push_ppg_pushuser.o gw/wap_push_si_compiler.o gw/wap_push_sl_compiler.o gw/wml_compiler.o gw/xml_shared.o gw/smsc/emimsg.o gw/smsc/smasi_pdu.o gw/smsc/smpp_pdu.o gw/smsc/smsc.o gw/smsc/smsc_at.o gw/smsc/smsc_cgw.o gw/smsc/smsc_cimd.o gw/smsc/smsc_cimd2.o gw/smsc/smsc_emi.o gw/smsc/smsc_emi_x25.o gw/smsc/smsc_fake.o gw/smsc/smsc_http.o gw/smsc/smsc_loopback.o gw/smsc/smsc_ois.o gw/smsc/smsc_oisd.o gw/smsc/smsc_sema.o gw/smsc/smsc_smasi.o gw/smsc/smsc_smpp.o gw/smsc/smsc_soap.o gw/smsc/smsc_wrapper.o ranlib libgw.a x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wmlsc.o -c wmlscript/wmlsc.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wmlsc.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wmlsdasm.o -c wmlscript/wmlsdasm.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wmlsdasm.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/ws.o -c wmlscript/ws.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/ws.c:71: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsalloc.o -c wmlscript/wsalloc.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wsalloc.c:71: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsasm.o -c wmlscript/wsasm.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wsasm.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsbc.o -c wmlscript/wsbc.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wsbc.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsbuffer.o -c wmlscript/wsbuffer.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wsbuffer.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsencode.o -c wmlscript/wsencode.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wsencode.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wserror.o -c wmlscript/wserror.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wserror.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsfalloc.o -c wmlscript/wsfalloc.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wsfalloc.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsgram.o -c wmlscript/wsgram.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ./wmlscript/wsint.h:76, from wmlscript/wsgram.y:15: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wshash.o -c wmlscript/wshash.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wshash.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsieee754.o -c wmlscript/wsieee754.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wsieee754.c:71: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wslexer.o -c wmlscript/wslexer.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wslexer.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsopt.o -c wmlscript/wsopt.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wsopt.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsstdlib.o -c wmlscript/wsstdlib.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wsstdlib.c:72: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsstream.o -c wmlscript/wsstream.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wsstream.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsstream_data.o -c wmlscript/wsstream_data.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ./wmlscript/wsint.h:76, from wmlscript/wsstream_data.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsstream_file.o -c wmlscript/wsstream_file.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wsstream_file.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsstree.o -c wmlscript/wsstree.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wsstree.c:71: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsutf8.o -c wmlscript/wsutf8.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmlscript/wsint.h:76, from wmlscript/wsutf8.c:72: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ar rc libwmlscript.a wmlscript/wmlsc.o wmlscript/wmlsdasm.o wmlscript/ws.o wmlscript/wsalloc.o wmlscript/wsasm.o wmlscript/wsbc.o wmlscript/wsbuffer.o wmlscript/wsencode.o wmlscript/wserror.o wmlscript/wsfalloc.o wmlscript/wsgram.o wmlscript/wshash.o wmlscript/wsieee754.o wmlscript/wslexer.o wmlscript/wsopt.o wmlscript/wsstdlib.o wmlscript/wsstream.o wmlscript/wsstream_data.o wmlscript/wsstream_file.o wmlscript/wsstree.o wmlscript/wsutf8.o ranlib libwmlscript.a x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/cookies.o -c wap/cookies.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from wap/cookies.c:69: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/timers.o -c wap/timers.c In file included from /usr/include/signal.h:25, from wap/timers.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wap.o -c wap/wap.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from wap/wap.c:61: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wap_addr.o -c wap/wap_addr.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from wap/wap_addr.c:61: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wap_events.o -c wap/wap_events.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from wap/wap_events.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ wap/wap_events.def: In function 'wap_event_assert': wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:79:1: note: in expansion of macro 'WAPEVENT' 79 | WAPEVENT(T_Unitdata_Ind, "T-Unitdata.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:84:1: note: in expansion of macro 'WAPEVENT' 84 | WAPEVENT(SEC_Create_Ind, "SEC-Create.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:88:1: note: in expansion of macro 'WAPEVENT' 88 | WAPEVENT(SEC_Create_Request_Req, "SEC-Create.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:92:1: note: in expansion of macro 'WAPEVENT' 92 | WAPEVENT(SEC_Terminate_Req, "SEC-Terminate.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:98:1: note: in expansion of macro 'WAPEVENT' 98 | WAPEVENT(SEC_Exception_Req, "SEC-Exception.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:104:1: note: in expansion of macro 'WAPEVENT' 104 | WAPEVENT(SEC_Create_Res, "SEC-Create.res", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:113:1: note: in expansion of macro 'WAPEVENT' 113 | WAPEVENT(SEC_Exchange_Req, "SEC-Exchange.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:117:1: note: in expansion of macro 'WAPEVENT' 117 | WAPEVENT(SEC_Commit_Req, "SEC-Commit.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:121:1: note: in expansion of macro 'WAPEVENT' 121 | WAPEVENT(SEC_Unitdata_Req, "SEC-Unidata.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:130:1: note: in expansion of macro 'WAPEVENT' 130 | WAPEVENT(T_DUnitdata_Req, "T-DUnitdata.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:142:1: note: in expansion of macro 'WAPEVENT' 142 | WAPEVENT(T_DUnitdata_Ind, "T-DUnitdata.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:151:1: note: in expansion of macro 'WAPEVENT' 151 | WAPEVENT(TR_Invoke_Req, "TR-Invoke.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:159:1: note: in expansion of macro 'WAPEVENT' 159 | WAPEVENT(TR_Invoke_Ind, "TR-Invoke.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:167:1: note: in expansion of macro 'WAPEVENT' 167 | WAPEVENT(TR_Invoke_Res, "TR-Invoke.res", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:171:1: note: in expansion of macro 'WAPEVENT' 171 | WAPEVENT(TR_Invoke_Cnf, "TR-Invoke.cnf", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:177:1: note: in expansion of macro 'WAPEVENT' 177 | WAPEVENT(TR_Result_Req, "TR-Result.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:182:1: note: in expansion of macro 'WAPEVENT' 182 | WAPEVENT(TR_Result_Cnf, "TR-Result.cnf", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:188:1: note: in expansion of macro 'WAPEVENT' 188 | WAPEVENT(TR_Abort_Req, "TR-Abort.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:194:1: note: in expansion of macro 'WAPEVENT' 194 | WAPEVENT(TR_Abort_Ind, "TR-Abort.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:207:1: note: in expansion of macro 'WAPEVENT' 207 | WAPEVENT(S_Connect_Ind, "S-Connect.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:215:1: note: in expansion of macro 'WAPEVENT' 215 | WAPEVENT(S_Connect_Res, "S-Connect.res", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:222:1: note: in expansion of macro 'WAPEVENT' 222 | WAPEVENT(S_Suspend_Ind, "S-Suspend.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:228:1: note: in expansion of macro 'WAPEVENT' 228 | WAPEVENT(S_Resume_Ind, "S-Resume.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:235:1: note: in expansion of macro 'WAPEVENT' 235 | WAPEVENT(S_Resume_Res, "S-Resume.res", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:245:1: note: in expansion of macro 'WAPEVENT' 245 | WAPEVENT(S_Connect_Req, "S-Connect.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:253:1: note: in expansion of macro 'WAPEVENT' 253 | WAPEVENT(S_Suspend_Req, "S-Suspend.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:258:1: note: in expansion of macro 'WAPEVENT' 258 | WAPEVENT(S_Resume_Req, "S-Resume.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:265:1: note: in expansion of macro 'WAPEVENT' 265 | WAPEVENT(S_Resume_Cnf, "S-Resume.cnf", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:276:1: note: in expansion of macro 'WAPEVENT' 276 | WAPEVENT(S_Disconnect_Req, "S-Disconnect.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:286:1: note: in expansion of macro 'WAPEVENT' 286 | WAPEVENT(S_Disconnect_Ind, "S-Disconnect.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:300:1: note: in expansion of macro 'WAPEVENT' 300 | WAPEVENT(Disconnect_Event, "Disconnect", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:305:1: note: in expansion of macro 'WAPEVENT' 305 | WAPEVENT(Suspend_Event, "Suspend", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:310:1: note: in expansion of macro 'WAPEVENT' 310 | WAPEVENT(Release_Event, "Release", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:315:1: note: in expansion of macro 'WAPEVENT' 315 | WAPEVENT(Abort_Event, "Abort", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:323:1: note: in expansion of macro 'WAPEVENT' 323 | WAPEVENT(S_MethodInvoke_Ind, "S-MethodInvoke.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:336:1: note: in expansion of macro 'WAPEVENT' 336 | WAPEVENT(S_MethodInvoke_Res, "S-MethodInvoke.res", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:342:1: note: in expansion of macro 'WAPEVENT' 342 | WAPEVENT(S_MethodResult_Req, "S-MethodResult.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:351:1: note: in expansion of macro 'WAPEVENT' 351 | WAPEVENT(S_MethodResult_Cnf, "S-MethodResult.cnf", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:361:1: note: in expansion of macro 'WAPEVENT' 361 | WAPEVENT(S_MethodInvoke_Req, "S-MethodInvoke.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:371:1: note: in expansion of macro 'WAPEVENT' 371 | WAPEVENT(S_MethodInvoke_Cnf, "S-MethodInvoke.cnf", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:377:1: note: in expansion of macro 'WAPEVENT' 377 | WAPEVENT(S_MethodResult_Ind, "S-MethodResult.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:386:1: note: in expansion of macro 'WAPEVENT' 386 | WAPEVENT(S_MethodResult_Res, "S-MethodResult.res", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:397:1: note: in expansion of macro 'WAPEVENT' 397 | WAPEVENT(S_MethodAbort_Req, "S-MethodAbort.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:403:1: note: in expansion of macro 'WAPEVENT' 403 | WAPEVENT(S_MethodAbort_Ind, "S-MethodAbort.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:414:1: note: in expansion of macro 'WAPEVENT' 414 | WAPEVENT(S_Push_Req, "S-Push.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:421:1: note: in expansion of macro 'WAPEVENT' 421 | WAPEVENT(S_Push_Ind, "S-Push.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:429:1: note: in expansion of macro 'WAPEVENT' 429 | WAPEVENT(S_ConfirmedPush_Req, "S-ConfirmedPush.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:437:1: note: in expansion of macro 'WAPEVENT' 437 | WAPEVENT(S_ConfirmedPush_Ind, "S-ConfirmedPush.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:445:1: note: in expansion of macro 'WAPEVENT' 445 | WAPEVENT(S_ConfirmedPush_Res, "S-ConfirmedPush.res", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:451:1: note: in expansion of macro 'WAPEVENT' 451 | WAPEVENT(S_ConfirmedPush_Cnf, "S-ConfirmedPush.cnf", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:457:1: note: in expansion of macro 'WAPEVENT' 457 | WAPEVENT(S_PushAbort_Ind, "S-PushAbort.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:472:1: note: in expansion of macro 'WAPEVENT' 472 | WAPEVENT(S_PushAbort_Req, "S-PushAbort.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:479:1: note: in expansion of macro 'WAPEVENT' 479 | WAPEVENT(Push_Abort, "Internal abort", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:488:1: note: in expansion of macro 'WAPEVENT' 488 | WAPEVENT(RcvInvoke, "RcvInvoke", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:502:1: note: in expansion of macro 'WAPEVENT' 502 | WAPEVENT(RcvSegInvoke, "RcvSegInvoke", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:513:1: note: in expansion of macro 'WAPEVENT' 513 | WAPEVENT(RcvResult, "RcvResult", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:522:1: note: in expansion of macro 'WAPEVENT' 522 | WAPEVENT(RcvAbort, "RcvAbort", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:529:1: note: in expansion of macro 'WAPEVENT' 529 | WAPEVENT(RcvAck, "RcvAck", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:537:1: note: in expansion of macro 'WAPEVENT' 537 | WAPEVENT(RcvNegativeAck, "RcvNack", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:549:1: note: in expansion of macro 'WAPEVENT' 549 | WAPEVENT(TimerTO_A, "Timeout-A", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:553:1: note: in expansion of macro 'WAPEVENT' 553 | WAPEVENT(TimerTO_R, "Timeout-R", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:557:1: note: in expansion of macro 'WAPEVENT' 557 | WAPEVENT(TimerTO_W, "Timeout-W", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:561:1: note: in expansion of macro 'WAPEVENT' 561 | WAPEVENT(RcvErrorPDU, "RcvErrorPDU", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:570:1: note: in expansion of macro 'WAPEVENT' 570 | WAPEVENT(S_Unit_MethodInvoke_Req, "S-Unit-MethodInvoke.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:579:1: note: in expansion of macro 'WAPEVENT' 579 | WAPEVENT(S_Unit_MethodInvoke_Ind, "S-Unit_MethodInvoke.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:588:1: note: in expansion of macro 'WAPEVENT' 588 | WAPEVENT(S_Unit_MethodResult_Req, "S-Unit-MethodResult.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:596:1: note: in expansion of macro 'WAPEVENT' 596 | WAPEVENT(S_Unit_MethodResult_Ind, "S-Unit-MethodResult.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:604:1: note: in expansion of macro 'WAPEVENT' 604 | WAPEVENT(S_Unit_Push_Req, "S-Unit-Push.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:618:1: note: in expansion of macro 'WAPEVENT' 618 | WAPEVENT(S_Unit_Push_Ind, "S-Unit-Push.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:629:1: note: in expansion of macro 'WAPEVENT' 629 | WAPEVENT(Pom_SessionRequest_Req, "Pom-SessionRequest.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:642:1: note: in expansion of macro 'WAPEVENT' 642 | WAPEVENT(Pom_Connect_Ind, "Pom-Connect.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:653:1: note: in expansion of macro 'WAPEVENT' 653 | WAPEVENT(Pom_Connect_Res, "Pom-Connect.res", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:659:1: note: in expansion of macro 'WAPEVENT' 659 | WAPEVENT(Pom_Disconnect_Ind, "Pom-Disconnect.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:669:1: note: in expansion of macro 'WAPEVENT' 669 | WAPEVENT(Pom_Suspend_Ind, "Pom-Suspend.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:675:1: note: in expansion of macro 'WAPEVENT' 675 | WAPEVENT(Pom_Resume_Ind, "Pom-Resume.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:683:1: note: in expansion of macro 'WAPEVENT' 683 | WAPEVENT(Po_Push_Req, "Po-Push.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:693:1: note: in expansion of macro 'WAPEVENT' 693 | WAPEVENT(Po_ConfirmedPush_Req, "Po-ConfirmedPush.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:704:1: note: in expansion of macro 'WAPEVENT' 704 | WAPEVENT(Po_ConfirmedPush_Cnf, "Po-ConfirmedPush.Cnf", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:710:1: note: in expansion of macro 'WAPEVENT' 710 | WAPEVENT(Po_Unit_Push_Req, "Po-Unit-Push.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:727:1: note: in expansion of macro 'WAPEVENT' 727 | WAPEVENT(Po_PushAbort_Req, "Po-PushAbort.req", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:734:1: note: in expansion of macro 'WAPEVENT' 734 | WAPEVENT(Po_PushAbort_Ind, "Po-PushAbort.ind", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:754:1: note: in expansion of macro 'WAPEVENT' 754 | WAPEVENT(Push_Message, "push-message", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:784:1: note: in expansion of macro 'WAPEVENT' 784 | WAPEVENT(Push_Response, "push-response", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:798:1: note: in expansion of macro 'WAPEVENT' 798 | WAPEVENT(Progress_Note, "progress-note", | ^~~~~~~~ wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 225 | { struct name *p = &event->u.name; fields; p = NULL; break; } | ^ wap/wap_events.def:808:1: note: in expansion of macro 'WAPEVENT' 808 | WAPEVENT(Bad_Message_Response, "badmessage-response", | ^~~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp.o -c wap/wsp.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from wap/wsp.c:62: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp_caps.o -c wap/wsp_caps.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from wap/wsp_caps.c:62: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp_headers.o -c wap/wsp_headers.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from wap/wsp_headers.c:84: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp_pdu.o -c wap/wsp_pdu.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from wap/wsp_pdu.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ wap/wsp_pdu.def: In function 'wsp_pdu_destroy': wap/wsp_pdu.c:109:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] 109 | struct name *p; p = &pdu->u.name; \ | ^ wap/wsp_pdu.def:83:1: note: in expansion of macro 'PDU' 83 | PDU(Disconnect, "...", | ^~~ wap/wsp_pdu.c:109:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] 109 | struct name *p; p = &pdu->u.name; \ | ^ wap/wsp_pdu.def:128:1: note: in expansion of macro 'PDU' 128 | PDU(Suspend, "...", | ^~~ wap/wsp_pdu.def: In function 'fixup_length_fields': wap/wsp_pdu.c:250:16: warning: variable 'p' set but not used [-Wunused-but-set-variable] 250 | struct name *p; p = &pdu->u.name; \ | ^ wap/wsp_pdu.def:75:1: note: in expansion of macro 'PDU' 75 | PDU(Redirect, "Problem: need REPEAT structure to parse addresses", | ^~~ wap/wsp_pdu.c:250:16: warning: variable 'p' set but not used [-Wunused-but-set-variable] 250 | struct name *p; p = &pdu->u.name; \ | ^ wap/wsp_pdu.def:83:1: note: in expansion of macro 'PDU' 83 | PDU(Disconnect, "...", | ^~~ wap/wsp_pdu.c:250:16: warning: variable 'p' set but not used [-Wunused-but-set-variable] 250 | struct name *p; p = &pdu->u.name; \ | ^ wap/wsp_pdu.def:128:1: note: in expansion of macro 'PDU' 128 | PDU(Suspend, "...", | ^~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp_push_client.o -c wap/wsp_push_client.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from wap/wsp_push_client.h:68, from wap/wsp_push_client.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp_session.o -c wap/wsp_session.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from wap/wsp_session.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ wap/wsp_server_session_states.def: In function 'handle_session_event': wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:183:1: note: in expansion of macro 'ROW' 183 | ROW(CONNECTING, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:198:1: note: in expansion of macro 'ROW' 198 | ROW(CONNECTING, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:260:1: note: in expansion of macro 'ROW' 260 | ROW(TERMINATING, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:269:1: note: in expansion of macro 'ROW' 269 | ROW(TERMINATING, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:278:1: note: in expansion of macro 'ROW' 278 | ROW(TERMINATING, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:286:1: note: in expansion of macro 'ROW' 286 | ROW(TERMINATING, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:296:1: note: in expansion of macro 'ROW' 296 | ROW(CONNECTING_2, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:335:1: note: in expansion of macro 'ROW' 335 | ROW(CONNECTING_2, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:358:1: note: in expansion of macro 'ROW' 358 | ROW(CONNECTING_2, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:375:1: note: in expansion of macro 'ROW' 375 | ROW(CONNECTING_2, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:560:1: note: in expansion of macro 'ROW' 560 | ROW(CONNECTED, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:596:1: note: in expansion of macro 'ROW' 596 | ROW(CONNECTED, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:619:1: note: in expansion of macro 'ROW' 619 | ROW(CONNECTED, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:633:1: note: in expansion of macro 'ROW' 633 | ROW(CONNECTED, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:785:1: note: in expansion of macro 'ROW' 785 | ROW(SUSPENDED, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:836:1: note: in expansion of macro 'ROW' 836 | ROW(RESUMING, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:879:1: note: in expansion of macro 'ROW' 879 | ROW(RESUMING, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:980:1: note: in expansion of macro 'ROW' 980 | ROW(RESUMING_2, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:1019:1: note: in expansion of macro 'ROW' 1019 | ROW(RESUMING_2, | ^~~ wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 418 | struct event *e; \ | ^ wap/wsp_server_session_states.def:1042:1: note: in expansion of macro 'ROW' 1042 | ROW(RESUMING_2, | ^~~ wap/wsp_server_method_states.def: In function 'handle_method_event': wap/wsp_session.c:582:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 582 | struct event *e; \ | ^ wap/wsp_server_method_states.def:162:1: note: in expansion of macro 'ROW' 162 | ROW(HOLDING, | ^~~ wap/wsp_session.c:582:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 582 | struct event *e; \ | ^ wap/wsp_server_method_states.def:227:1: note: in expansion of macro 'ROW' 227 | ROW(REQUESTING, | ^~~ wap/wsp_session.c:582:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 582 | struct event *e; \ | ^ wap/wsp_server_method_states.def:393:1: note: in expansion of macro 'ROW' 393 | ROW(REPLYING, | ^~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp_strings.o -c wap/wsp_strings.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from wap/wsp_strings.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp_unit.o -c wap/wsp_unit.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from wap/wsp_unit.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtls-secmgr.o -c wap/wtls-secmgr.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from wap/wtls-secmgr.c:75: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtls.o -c wap/wtls.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from wap/wtls.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtls_pdu.o -c wap/wtls_pdu.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from wap/wtls_pdu.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtls_pdusupport.o -c wap/wtls_pdusupport.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from wap/wtls_pdusupport.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtls_statesupport.o -c wap/wtls_statesupport.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from wap/wtls_statesupport.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtp.o -c wap/wtp.c In file included from /usr/include/errno.h:25, from wap/wtp.h:65, from wap/wtp.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtp_init.o -c wap/wtp_init.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from wap/wtp_init.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtp_pack.o -c wap/wtp_pack.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from wap/wtp_pack.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtp_pdu.o -c wap/wtp_pdu.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from wap/wtp_pdu.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ wap/wtp_pdu.def: In function 'wtp_pdu_destroy': wap/wtp_pdu.c:111:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] 111 | struct name *p; p = &pdu->u.name; \ | ^ wap/wtp_pdu.def:84:1: note: in expansion of macro 'PDU' 84 | PDU(Ack, "...", | ^~~ wap/wtp_pdu.c:111:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] 111 | struct name *p; p = &pdu->u.name; \ | ^ wap/wtp_pdu.def:94:1: note: in expansion of macro 'PDU' 94 | PDU(Abort, "...", | ^~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtp_resp.o -c wap/wtp_resp.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from wap/wtp_resp.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtp_tid.o -c wap/wtp_tid.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from wap/wtp_tid.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o radius/radius_acct.o -c radius/radius_acct.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from radius/radius_acct.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o radius/radius_pdu.o -c radius/radius_pdu.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from radius/radius_pdu.c:69: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ radius/radius_pdu.c: In function 'radius_pdu_unpack': radius/radius_pdu.c:363:15: warning: variable 'ident' set but not used [-Wunused-but-set-variable] 363 | int type, ident; | ^~~~~ radius/radius_attributes.def: In function 'radius_attr_dump': radius/radius_pdu.c:472:13: warning: variable 'id' set but not used [-Wunused-but-set-variable] 472 | int id; \ | ^~ radius/radius_attributes.def:90:1: note: in expansion of macro 'ATTRIBUTES' 90 | ATTRIBUTES( | ^~~~~~~~~~ ar rc libwap.a wap/cookies.o wap/timers.o wap/wap.o wap/wap_addr.o wap/wap_events.o wap/wsp.o wap/wsp_caps.o wap/wsp_headers.o wap/wsp_pdu.o wap/wsp_push_client.o wap/wsp_session.o wap/wsp_strings.o wap/wsp_unit.o wap/wtls-secmgr.o wap/wtls.o wap/wtls_pdu.o wap/wtls_pdusupport.o wap/wtls_statesupport.o wap/wtp.o wap/wtp_init.o wap/wtp_pack.o wap/wtp_pdu.o wap/wtp_resp.o wap/wtp_tid.o radius/radius_acct.o radius/radius_pdu.o ranlib libwap.a x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/accesslog.o -c gwlib/accesslog.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from gwlib/accesslog.c:66: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/cfg.o -c gwlib/cfg.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gwlib/cfg.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gwlib/cfg.c: In function 'cfg_read': gwlib/cfg.c:449:10: warning: variable 'lineno' set but not used [-Wunused-but-set-variable] 449 | long lineno; | ^~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/charset.o -c gwlib/charset.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gwlib/charset.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/conn.o -c gwlib/conn.c In file included from /usr/include/signal.h:25, from gwlib/conn.c:74: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gwlib/conn.c: In function 'unlocked_read': gwlib/conn.c:343:41: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness [-Wpointer-sign] 343 | octstr_append_data(conn->inbuf, buf, len); | ^~~ | | | unsigned char * In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/conn.c:82: ./gwlib/octstr.h:448:51: note: expected 'const char *' but argument is of type 'unsigned char *' 448 | void octstr_append_data(Octstr *ostr, const char *data, long len); | ~~~~~~~~~~~~^~~~ gwlib/conn.c: In function 'conn_write_data': gwlib/conn.c:1055:38: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness [-Wpointer-sign] 1055 | octstr_append_data(conn->outbuf, data, length); | ^~~~ | | | unsigned char * In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/conn.c:82: ./gwlib/octstr.h:448:51: note: expected 'const char *' but argument is of type 'unsigned char *' 448 | void octstr_append_data(Octstr *ostr, const char *data, long len); | ~~~~~~~~~~~~^~~~ gwlib/conn.c: In function 'conn_write_withlen': gwlib/conn.c:1069:38: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness [-Wpointer-sign] 1069 | octstr_append_data(conn->outbuf, lengthbuf, 4); | ^~~~~~~~~ | | | unsigned char * In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/conn.c:82: ./gwlib/octstr.h:448:51: note: expected 'const char *' but argument is of type 'unsigned char *' 448 | void octstr_append_data(Octstr *ostr, const char *data, long len); | ~~~~~~~~~~~~^~~~ gwlib/conn.c: In function 'conn_read_withlen': gwlib/conn.c:1175:35: warning: pointer targets in passing argument 1 of 'octstr_get_many_chars' differ in signedness [-Wpointer-sign] 1175 | octstr_get_many_chars(lengthbuf, conn->inbuf, conn->inbufpos, 4); | ^~~~~~~~~ | | | unsigned char * In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/conn.c:82: ./gwlib/octstr.h:217:34: note: expected 'char *' but argument is of type 'unsigned char *' 217 | void octstr_get_many_chars(char *buf, Octstr *ostr, long pos, long len); | ~~~~~~^~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/counter.o -c gwlib/counter.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib64/gcc/x86_64-alt-linux/10/include/limits.h:195, from /usr/lib64/gcc/x86_64-alt-linux/10/include/syslimits.h:7, from /usr/lib64/gcc/x86_64-alt-linux/10/include/limits.h:34, from gwlib/counter.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/date.o -c gwlib/date.c In file included from /usr/include/unistd.h:25, from gwlib/date.c:62: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool.o -c gwlib/dbpool.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from gwlib/gwlib.h:70, from gwlib/dbpool.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool_mssql.o -c gwlib/dbpool_mssql.c x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool_mysql.o -c gwlib/dbpool_mysql.c x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool_oracle.o -c gwlib/dbpool_oracle.c x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool_pgsql.o -c gwlib/dbpool_pgsql.c x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool_sdb.o -c gwlib/dbpool_sdb.c x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool_sqlite.o -c gwlib/dbpool_sqlite.c x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool_sqlite3.o -c gwlib/dbpool_sqlite3.c x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dict.o -c gwlib/dict.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from gwlib/gwlib.h:70, from gwlib/dict.c:67: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/fdset.o -c gwlib/fdset.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from gwlib/fdset.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gwlib/fdset.c: In function 'submit_action': gwlib/fdset.c:194:11: warning: variable 'sync' set but not used [-Wunused-but-set-variable] 194 | void *sync; | ^~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gw-prioqueue.o -c gwlib/gw-prioqueue.c In file included from /usr/include/pthread.h:21, from gwlib/gw-prioqueue.c:66: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gw-rwlock.o -c gwlib/gw-rwlock.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from gwlib/gwlib.h:70, from gwlib/gw-rwlock.c:66: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gw_uuid.o -c gwlib/gw_uuid.c In file included from /usr/include/unistd.h:25, from gwlib/gw_uuid.c:23: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gwlib.o -c gwlib/gwlib.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from gwlib/gwlib.h:70, from gwlib/gwlib.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gwmem-check.o -c gwlib/gwmem-check.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from gwlib/gwmem-check.c:93: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gwmem-native.o -c gwlib/gwmem-native.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from gwlib/gwmem-native.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gwpoll.o -c gwlib/gwpoll.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gwlib/gwpoll.c:59: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gwthread-pthread.o -c gwlib/gwthread-pthread.c In file included from /usr/include/unistd.h:25, from gwlib/gwthread-pthread.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gwlib/gwthread-pthread.c: In function 'gwthread_wakeup': gwlib/gwthread-pthread.c:679:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 679 | write(fd, &c, 1); | ^~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/http.o -c gwlib/http.c In file included from /usr/include/ctype.h:25, from gwlib/http.c:76: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/list.o -c gwlib/list.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from gwlib/list.c:90: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/log.o -c gwlib/log.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from gwlib/gwlib.h:70, from gwlib/log.c:61: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ~~~~~~~~~~~~~^~~ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/md5.o -c gwlib/md5.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from gwlib/md5.c:88: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from gwlib/utils.h:68, from gwlib/gwlib.h:79, from gwlib/md5.c:90: gwlib/md5.c: In function 'md5': gwlib/octstr.h:234:6: warning: pointer targets in passing argument 2 of 'md5_update' differ in signedness [-Wpointer-sign] 234 | (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * gwlib/md5.c:397:26: note: in expansion of macro 'octstr_get_cstr' 397 | md5_update(&context, octstr_get_cstr(data), octstr_len(data)); | ^~~~~~~~~~~~~~~ gwlib/md5.c:195:63: note: expected 'const unsigned char *' but argument is of type 'char *' 195 | static void md5_update(md5_ctx *context, const unsigned char *input, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from gwlib/gwlib.h:83, from gwlib/md5.c:90: gwlib/octstr.h:135:57: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness [-Wpointer-sign] 135 | (Octstr*)gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__)) | ^~~~~~ | | | unsigned char * gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/md5.c:400:11: note: in expansion of macro 'octstr_create_from_data' 400 | enc = octstr_create_from_data(digest, 16); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from gwlib/utils.h:68, from gwlib/gwlib.h:79, from gwlib/md5.c:90: gwlib/octstr.h:132:50: note: expected 'const char *' but argument is of type 'unsigned char *' 132 | Octstr *octstr_create_from_data_real(const char *data, long len, const char *file, | ~~~~~~~~~~~~^~~~ gwlib/md5.c: In function 'md5digest': gwlib/octstr.h:234:6: warning: pointer targets in passing argument 2 of 'md5_digest' differ in signedness [-Wpointer-sign] 234 | (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * gwlib/md5.c:416:24: note: in expansion of macro 'octstr_get_cstr' 416 | md5_digest(md5str, octstr_get_cstr(digest)); | ^~~~~~~~~~~~~~~ gwlib/md5.c:102:53: note: expected 'unsigned char *' but argument is of type 'char *' 102 | static void md5_digest(char *md5str, unsigned char *digest) | ~~~~~~~~~~~~~~~^~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/mime.o -c gwlib/mime.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from gwlib/mime.c:69: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/octstr.o -c gwlib/octstr.c In file included from /usr/include/ctype.h:25, from gwlib/octstr.c:66: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gwlib/octstr.c: In function 'urlcode_init': gwlib/octstr.c:208:27: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 208 | unsigned char *safe = " 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gwlib/octstr.c: In function 'octstr_imm': gwlib/octstr.c:309:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 309 | os->len = strlen(data); | ^~~~ | | | unsigned char * In file included from gwlib/octstr.c:70: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from gwlib/gwlib.h:83, from gwlib/octstr.c:76: gwlib/octstr.c: In function 'octstr_copy_real': gwlib/octstr.c:364:53: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness [-Wpointer-sign] 364 | return octstr_create_from_data_trace(ostr->data + from, len, file, | ~~~~~~~~~~~^~~~~~ | | | unsigned char * const gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/octstr.c:364:12: note: in expansion of macro 'octstr_create_from_data_trace' 364 | return octstr_create_from_data_trace(ostr->data + from, len, file, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gwlib/octstr.c:247:50: note: expected 'const char *' but argument is of type 'unsigned char * const' 247 | Octstr *octstr_create_from_data_real(const char *data, long len, const char *file, | ~~~~~~~~~~~~^~~~ In file included from gwlib/gwlib.h:83, from gwlib/octstr.c:76: gwlib/octstr.c: In function 'octstr_duplicate_real': gwlib/octstr.c:376:46: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness [-Wpointer-sign] 376 | return octstr_create_from_data_trace(ostr->data, ostr->len, file, line, func); | ~~~~^~~~~~ | | | unsigned char * const gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/octstr.c:376:12: note: in expansion of macro 'octstr_create_from_data_trace' 376 | return octstr_create_from_data_trace(ostr->data, ostr->len, file, line, func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gwlib/octstr.c:247:50: note: expected 'const char *' but argument is of type 'unsigned char * const' 247 | Octstr *octstr_create_from_data_real(const char *data, long len, const char *file, | ~~~~~~~~~~~~^~~~ gwlib/octstr.c: In function 'octstr_get_cstr_real': gwlib/octstr.c:445:16: warning: pointer targets in returning 'unsigned char * const' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 445 | return ostr->data; | ~~~~^~~~~~ gwlib/octstr.c: In function 'octstr_binary_to_hex': gwlib/octstr.c:473:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 473 | hexits = uppercase ? "0123456789ABCDEF" : "0123456789abcdef"; | ^ gwlib/octstr.c: In function 'octstr_parse_long': gwlib/octstr.c:766:32: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] 766 | number = strtol(ostr->data + pos, &endptr, base); | ~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from gwlib/octstr.c:69: /usr/include/stdlib.h:176:48: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ gwlib/octstr.c:767:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 767 | endpos = endptr; | ^ gwlib/octstr.c: In function 'octstr_parse_double': gwlib/octstr.c:798:32: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness [-Wpointer-sign] 798 | number = strtod(ostr->data + pos, &endptr); | ~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from gwlib/octstr.c:69: /usr/include/stdlib.h:117:46: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 117 | extern double strtod (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ gwlib/octstr.c:799:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 799 | endpos = endptr; | ^ gwlib/octstr.c: In function 'octstr_str_compare': gwlib/octstr.c:980:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 980 | return strcmp(ostr->data, str); | ~~~~^~~~~~ | | | unsigned char * const In file included from gwlib/octstr.c:70: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char * const' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ gwlib/octstr.c: In function 'octstr_str_case_compare': gwlib/octstr.c:993:27: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 993 | return strcasecmp(ostr->data, str); | ~~~~^~~~~~ | | | unsigned char * const In file included from /usr/include/string.h:446, from gwlib/octstr.c:70: /usr/include/strings.h:116:36: note: expected 'const char *' but argument is of type 'unsigned char * const' 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ gwlib/octstr.c: In function 'octstr_str_ncompare': gwlib/octstr.c:1006:24: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 1006 | return strncmp(ostr->data, str, n); | ~~~~^~~~~~ | | | unsigned char * const In file included from gwlib/octstr.c:70: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char * const' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ gwlib/octstr.c: In function 'octstr_append_from_socket': gwlib/octstr.c:1241:30: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness [-Wpointer-sign] 1241 | octstr_append_data(ostr, buf, len); | ^~~ | | | unsigned char * In file included from gwlib/utils.h:68, from gwlib/gwlib.h:79, from gwlib/octstr.c:76: gwlib/octstr.h:448:51: note: expected 'const char *' but argument is of type 'unsigned char *' 448 | void octstr_append_data(Octstr *ostr, const char *data, long len); | ~~~~~~~~~~~~^~~~ gwlib/octstr.c: In function 'octstr_append_char': gwlib/octstr.c:1466:41: warning: pointer targets in passing argument 3 of 'octstr_insert_data' differ in signedness [-Wpointer-sign] 1466 | octstr_insert_data(ostr, ostr->len, &c, 1); | ^~ | | | unsigned char * gwlib/octstr.c:1404:61: note: expected 'const char *' but argument is of type 'unsigned char *' 1404 | void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len) | ~~~~~~~~~~~~^~~~ In file included from gwlib/gwlib.h:83, from gwlib/octstr.c:76: gwlib/octstr.c: In function 'octstr_split_words': gwlib/octstr.c:1574:51: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness [-Wpointer-sign] 1574 | word = octstr_create_from_data(ostr->data + start, gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/octstr.c:1574:16: note: in expansion of macro 'octstr_create_from_data' 1574 | word = octstr_create_from_data(ostr->data + start, | ^~~~~~~~~~~~~~~~~~~~~~~ gwlib/octstr.c:247:50: note: expected 'const char *' but argument is of type 'unsigned char * const' 247 | Octstr *octstr_create_from_data_real(const char *data, long len, const char *file, | ~~~~~~~~~~~~^~~~ gwlib/octstr.c: In function 'octstr_url_encode': gwlib/octstr.c:1649:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1649 | hexits = "0123456789ABCDEF"; | ^ gwlib/octstr.c: In function 'octstr_append_uintvar': gwlib/octstr.c:1890:37: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness [-Wpointer-sign] 1890 | octstr_append_data(ostr, octets + start, 5 - start); | ~~~~~~~^~~~~~~ | | | unsigned char * gwlib/octstr.c:1440:51: note: expected 'const char *' but argument is of type 'unsigned char *' 1440 | void octstr_append_data(Octstr *ostr, const char *data, long len) | ~~~~~~~~~~~~^~~~ gwlib/octstr.c: In function 'octstr_dump_debug': gwlib/octstr.c:1957:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1957 | sprintf(p, "%02x ", c); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from gwlib/octstr.c:66: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ gwlib/octstr.c:1958:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1958 | p = strchr(p, '\0'); | ^ | | | unsigned char * In file included from gwlib/octstr.c:70: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ gwlib/octstr.c:1958:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1958 | p = strchr(p, '\0'); | ^ gwlib/octstr.c: In function 'octstr_dump_real': gwlib/octstr.c:2026:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2026 | sprintf(p, "%02x ", c); \ | ^ | | | unsigned char * gwlib/octstr.c:2069:13: note: in expansion of macro 'octstr_dump_LOGLEVEL' 2069 | octstr_dump_LOGLEVEL(info, ostr, level); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from gwlib/octstr.c:66: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ gwlib/octstr.c:2027:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 2027 | p = strchr(p, '\0'); \ | ^ | | | unsigned char * gwlib/octstr.c:2069:13: note: in expansion of macro 'octstr_dump_LOGLEVEL' 2069 | octstr_dump_LOGLEVEL(info, ostr, level); | ^~~~~~~~~~~~~~~~~~~~ In file included from gwlib/octstr.c:70: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ gwlib/octstr.c:2027:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2027 | p = strchr(p, '\0'); \ | ^ gwlib/octstr.c:2069:13: note: in expansion of macro 'octstr_dump_LOGLEVEL' 2069 | octstr_dump_LOGLEVEL(info, ostr, level); | ^~~~~~~~~~~~~~~~~~~~ gwlib/octstr.c:2026:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2026 | sprintf(p, "%02x ", c); \ | ^ | | | unsigned char * gwlib/octstr.c:2072:13: note: in expansion of macro 'octstr_dump_LOGLEVEL' 2072 | octstr_dump_LOGLEVEL(warning, ostr, level); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from gwlib/octstr.c:66: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ gwlib/octstr.c:2027:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 2027 | p = strchr(p, '\0'); \ | ^ | | | unsigned char * gwlib/octstr.c:2072:13: note: in expansion of macro 'octstr_dump_LOGLEVEL' 2072 | octstr_dump_LOGLEVEL(warning, ostr, level); | ^~~~~~~~~~~~~~~~~~~~ In file included from gwlib/octstr.c:70: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ gwlib/octstr.c:2027:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2027 | p = strchr(p, '\0'); \ | ^ gwlib/octstr.c:2072:13: note: in expansion of macro 'octstr_dump_LOGLEVEL' 2072 | octstr_dump_LOGLEVEL(warning, ostr, level); | ^~~~~~~~~~~~~~~~~~~~ gwlib/octstr.c:2026:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2026 | sprintf(p, "%02x ", c); \ | ^ | | | unsigned char * gwlib/octstr.c:2075:13: note: in expansion of macro 'octstr_dump_LOGLEVEL' 2075 | octstr_dump_LOGLEVEL(error, ostr, level); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from gwlib/octstr.c:66: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ gwlib/octstr.c:2027:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 2027 | p = strchr(p, '\0'); \ | ^ | | | unsigned char * gwlib/octstr.c:2075:13: note: in expansion of macro 'octstr_dump_LOGLEVEL' 2075 | octstr_dump_LOGLEVEL(error, ostr, level); | ^~~~~~~~~~~~~~~~~~~~ In file included from gwlib/octstr.c:70: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ gwlib/octstr.c:2027:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2027 | p = strchr(p, '\0'); \ | ^ gwlib/octstr.c:2075:13: note: in expansion of macro 'octstr_dump_LOGLEVEL' 2075 | octstr_dump_LOGLEVEL(error, ostr, level); | ^~~~~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/parse.o -c gwlib/parse.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gwlib/parse.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/pcre.o -c gwlib/pcre.c In file included from /usr/include/ctype.h:25, from gwlib/pcre.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/pki.o -c gwlib/pki.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from gwlib/pki.c:62: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/protected.o -c gwlib/protected.c In file included from /usr/include/locale.h:25, from gwlib/protected.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/regex.o -c gwlib/regex.c In file included from /usr/include/ctype.h:25, from gwlib/regex.c:70: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/semaphore.o -c gwlib/semaphore.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gwlib/semaphore.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/socket.o -c gwlib/socket.c In file included from /usr/include/ctype.h:25, from gwlib/socket.c:57: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/ssl.o -c gwlib/ssl.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from gwlib/ssl.c:71: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/thread.o -c gwlib/thread.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from gwlib/thread.c:57: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/utils.o -c gwlib/utils.c In file included from /usr/include/ctype.h:25, from gwlib/utils.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gwlib/utils.c: In function 'become_daemon': gwlib/utils.c:219:5: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 219 | dup(fd); /* stdout */ | ^~~~~~~ gwlib/utils.c:220:5: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 220 | dup(fd); /* stderr */ | ^~~~~~~ gwlib/utils.c:222:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 222 | chdir("/"); | ^~~~~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/xmlrpc.o -c gwlib/xmlrpc.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libxml2/libxml/xmlmemory.h:15, from gwlib/xmlrpc.c:68: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./gwlib/gwlib.h:83, from gwlib/xmlrpc.c:73: gwlib/xmlrpc.c: In function 'parse_document': gwlib/xmlrpc.c:1386:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign] 1386 | name = octstr_create(node->name); ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/xmlrpc.c:1386:12: note: in expansion of macro 'octstr_create' 1386 | name = octstr_create(node->name); | ^~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line, | ~~~~~~~~~~~~^~~~ In file included from ./gwlib/gwlib.h:83, from gwlib/xmlrpc.c:73: gwlib/xmlrpc.c: In function 'parse_methodcall_element': gwlib/xmlrpc.c:1492:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign] 1492 | name = octstr_create(node->name); ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/xmlrpc.c:1492:12: note: in expansion of macro 'octstr_create' 1492 | name = octstr_create(node->name); | ^~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line, | ~~~~~~~~~~~~^~~~ In file included from ./gwlib/gwlib.h:83, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:126:47: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign] 126 | (Octstr*)gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__)) | ^~~~~~ | | | xmlChar * {aka unsigned char *} ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/xmlrpc.c:1526:43: note: in expansion of macro 'octstr_create' 1526 | methodcall->method_name = octstr_create(content_buff); | ^~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line, | ~~~~~~~~~~~~^~~~ In file included from ./gwlib/gwlib.h:83, from gwlib/xmlrpc.c:73: gwlib/xmlrpc.c: In function 'parse_methodresponse_element': gwlib/xmlrpc.c:1613:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign] 1613 | name = octstr_create(node->name); ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/xmlrpc.c:1613:12: note: in expansion of macro 'octstr_create' 1613 | name = octstr_create(node->name); | ^~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line, | ~~~~~~~~~~~~^~~~ In file included from ./gwlib/gwlib.h:83, from gwlib/xmlrpc.c:73: gwlib/xmlrpc.c: In function 'parse_params_element': gwlib/xmlrpc.c:1720:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign] 1720 | name = octstr_create(node->name); ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/xmlrpc.c:1720:12: note: in expansion of macro 'octstr_create' 1720 | name = octstr_create(node->name); | ^~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line, | ~~~~~~~~~~~~^~~~ In file included from ./gwlib/gwlib.h:83, from gwlib/xmlrpc.c:73: gwlib/xmlrpc.c: In function 'parse_param_element': gwlib/xmlrpc.c:1822:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign] 1822 | name = octstr_create(node->name); ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/xmlrpc.c:1822:12: note: in expansion of macro 'octstr_create' 1822 | name = octstr_create(node->name); | ^~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line, | ~~~~~~~~~~~~^~~~ In file included from ./gwlib/gwlib.h:83, from gwlib/xmlrpc.c:73: gwlib/xmlrpc.c: In function 'parse_value_element': gwlib/xmlrpc.c:1922:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign] 1922 | name = octstr_create(node->name); ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/xmlrpc.c:1922:12: note: in expansion of macro 'octstr_create' 1922 | name = octstr_create(node->name); | ^~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line, | ~~~~~~~~~~~~^~~~ In file included from ./gwlib/gwlib.h:83, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:126:47: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign] 126 | (Octstr*)gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__)) | ^~~~~~ | | | xmlChar * {aka unsigned char *} ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/xmlrpc.c:1947:17: note: in expansion of macro 'octstr_create' 1947 | value = octstr_create(content_buff); | ^~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line, | ~~~~~~~~~~~~^~~~ In file included from ./gwlib/gwlib.h:83, from gwlib/xmlrpc.c:73: gwlib/xmlrpc.c: In function 'parse_struct_element': gwlib/xmlrpc.c:2123:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign] 2123 | name = octstr_create(node->name); ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/xmlrpc.c:2123:12: note: in expansion of macro 'octstr_create' 2123 | name = octstr_create(node->name); | ^~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line, | ~~~~~~~~~~~~^~~~ In file included from ./gwlib/gwlib.h:83, from gwlib/xmlrpc.c:73: gwlib/xmlrpc.c: In function 'parse_member_element': gwlib/xmlrpc.c:2226:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign] 2226 | name = octstr_create(node->name); ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/xmlrpc.c:2226:12: note: in expansion of macro 'octstr_create' 2226 | name = octstr_create(node->name); | ^~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line, | ~~~~~~~~~~~~^~~~ In file included from ./gwlib/gwlib.h:83, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:126:47: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign] 126 | (Octstr*)gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__)) | ^~~~~~ | | | xmlChar * {aka unsigned char *} ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/xmlrpc.c:2265:28: note: in expansion of macro 'octstr_create' 2265 | member->name = octstr_create(content_buff); | ^~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line, | ~~~~~~~~~~~~^~~~ In file included from ./gwlib/gwlib.h:83, from gwlib/xmlrpc.c:73: gwlib/xmlrpc.c: In function 'parse_array_element': gwlib/xmlrpc.c:2335:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign] 2335 | name = octstr_create(node->name); ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/xmlrpc.c:2335:12: note: in expansion of macro 'octstr_create' 2335 | name = octstr_create(node->name); | ^~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line, | ~~~~~~~~~~~~^~~~ In file included from ./gwlib/gwlib.h:83, from gwlib/xmlrpc.c:73: gwlib/xmlrpc.c: In function 'parse_data_element': gwlib/xmlrpc.c:2429:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign] 2429 | name = octstr_create(node->name); ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/xmlrpc.c:2429:12: note: in expansion of macro 'octstr_create' 2429 | name = octstr_create(node->name); | ^~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line, | ~~~~~~~~~~~~^~~~ In file included from ./gwlib/gwlib.h:83, from gwlib/xmlrpc.c:73: gwlib/xmlrpc.c: In function 'parse_fault_element': gwlib/xmlrpc.c:2527:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign] 2527 | name = octstr_create(node->name); ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ gwlib/xmlrpc.c:2527:12: note: in expansion of macro 'octstr_create' 2527 | name = octstr_create(node->name); | ^~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from gwlib/xmlrpc.c:73: ./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line, | ~~~~~~~~~~~~^~~~ ar rc libgwlib.a gwlib/accesslog.o gwlib/cfg.o gwlib/charset.o gwlib/conn.o gwlib/counter.o gwlib/date.o gwlib/dbpool.o gwlib/dbpool_mssql.o gwlib/dbpool_mysql.o gwlib/dbpool_oracle.o gwlib/dbpool_pgsql.o gwlib/dbpool_sdb.o gwlib/dbpool_sqlite.o gwlib/dbpool_sqlite3.o gwlib/dict.o gwlib/fdset.o gwlib/gw-prioqueue.o gwlib/gw-rwlock.o gwlib/gw_uuid.o gwlib/gwlib.o gwlib/gwmem-check.o gwlib/gwmem-native.o gwlib/gwpoll.o gwlib/gwthread-pthread.o gwlib/http.o gwlib/list.o gwlib/log.o gwlib/md5.o gwlib/mime.o gwlib/octstr.o gwlib/parse.o gwlib/pcre.o gwlib/pki.o gwlib/protected.o gwlib/regex.o gwlib/semaphore.o gwlib/socket.o gwlib/ssl.o gwlib/thread.o gwlib/utils.o gwlib/xmlrpc.o ranlib libgwlib.a x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o utils/seewbmp.o -c utils/seewbmp.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from utils/seewbmp.c:88: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o utils/mtbatch.o -c utils/mtbatch.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from utils/mtbatch.c:72: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o utils/decode_emimsg.o -c utils/decode_emimsg.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from utils/decode_emimsg.c:62: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bearerbox.o -c gw/bearerbox.c In file included from /usr/include/errno.h:25, from gw/bearerbox.c:67: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsbox.o -c gw/smsbox.c In file included from /usr/include/errno.h:25, from gw/smsbox.c:61: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gw/smsbox.c: In function 'obey_request_thread': gw/smsbox.c:1714:17: warning: variable 'converted' set but not used [-Wunused-but-set-variable] 1714 | int converted = 0; | ^~~~~~~~~ gw/smsbox.c: In function 'smsbox_req_handle': gw/smsbox.c:1983:10: warning: variable 'del' set but not used [-Wunused-but-set-variable] 1983 | long del; | ^~~ gw/smsbox.c: In function 'smsbox_xmlrpc_post': gw/smsbox.c:2765:19: warning: variable 'mclass' set but not used [-Wunused-but-set-variable] 2765 | int dlr_mask, mclass, mwi, coding, compress, validity, | ^~~~~~ gw/smsbox.c:2760:13: warning: variable 'from' set but not used [-Wunused-but-set-variable] 2760 | Octstr *from, *to, *udh, *smsc, *charset, *dlr_url, *account, *binfo, *meta_data; | ^~~~ gw/smsbox.c:2759:26: warning: variable 'user' set but not used [-Wunused-but-set-variable] 2759 | Octstr *ret, *type, *user, *pass; | ^~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wapbox.o -c gw/wapbox.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from gw/wapbox.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o utils/run_kannel_box.o -c utils/run_kannel_box.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from utils/run_kannel_box.c:57: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o wmlscript/wmlsdasm wmlscript/wmlsdasm.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o utils/seewbmp utils/seewbmp.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o utils/mtbatch utils/mtbatch.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o utils/decode_emimsg utils/decode_emimsg.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o gw/bearerbox gw/bearerbox.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'smsc2_cleanup' at gw/bb_smscconn.c:1029:5, inlined from 'smsc2_cleanup' at gw/bb_smscconn.c:999:6: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'smsc_list_lock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'smsc2_cleanup' at gw/bb_smscconn.c:1030:5, inlined from 'smsc2_cleanup' at gw/bb_smscconn.c:999:6: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'white_black_list_lock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'dlr_mem_shutdown' at gw/dlr_mem.c:86:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o gw/smsbox gw/smsbox.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o gw/wapbox gw/wapbox.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o utils/run_kannel_box utils/run_kannel_box.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/decompile.o -c test/decompile.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from test/decompile.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ test/decompile.c: In function 'Read_extension': test/decompile.c:1187:32: warning: pointer targets in passing argument 2 of 'AddVariableIndexNode' differ in signedness [-Wpointer-sign] 1187 | AddVariableIndexNode(buffer, index, VAR_ESCAPED); | ^~~~~ | | | unsigned char * test/decompile.c:475:61: note: expected 'char *' but argument is of type 'unsigned char *' 475 | static void AddVariableIndexNode(P_WBXML_INFO buffer, char* string, WBXML_VARIABLE_TYPE type) | ~~~~~~^~~~~~ test/decompile.c:1196:32: warning: pointer targets in passing argument 2 of 'AddVariableIndexNode' differ in signedness [-Wpointer-sign] 1196 | AddVariableIndexNode(buffer, index, VAR_UNESCAPED); | ^~~~~ | | | unsigned char * test/decompile.c:475:61: note: expected 'char *' but argument is of type 'unsigned char *' 475 | static void AddVariableIndexNode(P_WBXML_INFO buffer, char* string, WBXML_VARIABLE_TYPE type) | ~~~~~~^~~~~~ test/decompile.c:1205:32: warning: pointer targets in passing argument 2 of 'AddVariableIndexNode' differ in signedness [-Wpointer-sign] 1205 | AddVariableIndexNode(buffer, index, VAR_UNCHANGED); | ^~~~~ | | | unsigned char * test/decompile.c:475:61: note: expected 'char *' but argument is of type 'unsigned char *' 475 | static void AddVariableIndexNode(P_WBXML_INFO buffer, char* string, WBXML_VARIABLE_TYPE type) | ~~~~~~^~~~~~ test/decompile.c: In function 'BufferLength': test/decompile.c:1439:26: warning: comparison between pointer and zero character constant [-Wpointer-compare] 1439 | while (buffer->m_curpos != '\0') | ^~ test/decompile.c:1439:9: note: did you mean to dereference the pointer? 1439 | while (buffer->m_curpos != '\0') | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/drive_smpp.o -c test/drive_smpp.c In file included from /usr/include/errno.h:25, from test/drive_smpp.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ test/drive_smpp.c: In function 'main': test/drive_smpp.c:469:9: warning: variable 'http_port' set but not used [-Wunused-but-set-variable] 469 | int http_port; | ^~~~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/drive_wapbox.o -c test/drive_wapbox.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/drive_wapbox.c:66: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./gwlib/gwlib.h:83, from test/drive_wapbox.c:76: test/drive_wapbox.c: In function 'wtp_invoke_create': ./gwlib/octstr.h:135:57: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness [-Wpointer-sign] 135 | (Octstr*)gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__)) | ^~~~~~ | | | unsigned char * ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ test/drive_wapbox.c:302:8: note: in expansion of macro 'octstr_create_from_data' 302 | pdu = octstr_create_from_data(data, sizeof(data)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from test/drive_wapbox.c:76: ./gwlib/octstr.h:132:50: note: expected 'const char *' but argument is of type 'unsigned char *' 132 | Octstr *octstr_create_from_data_real(const char *data, long len, const char *file, | ~~~~~~~~~~~~^~~~ In file included from ./gwlib/gwlib.h:83, from test/drive_wapbox.c:76: test/drive_wapbox.c: In function 'wtp_ack_create': ./gwlib/octstr.h:135:57: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness [-Wpointer-sign] 135 | (Octstr*)gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__)) | ^~~~~~ | | | unsigned char * ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ test/drive_wapbox.c:313:9: note: in expansion of macro 'octstr_create_from_data' 313 | return octstr_create_from_data(data, sizeof(data)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from test/drive_wapbox.c:76: ./gwlib/octstr.h:132:50: note: expected 'const char *' but argument is of type 'unsigned char *' 132 | Octstr *octstr_create_from_data_real(const char *data, long len, const char *file, | ~~~~~~~~~~~~^~~~ test/drive_wapbox.c: In function 'add_wsp_connect': test/drive_wapbox.c:327:26: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness [-Wpointer-sign] 327 | octstr_append_data(pdu, data, sizeof(data)); | ^~~~ | | | unsigned char * In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from test/drive_wapbox.c:76: ./gwlib/octstr.h:448:51: note: expected 'const char *' but argument is of type 'unsigned char *' 448 | void octstr_append_data(Octstr *ostr, const char *data, long len); | ~~~~~~~~~~~~^~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/fakesmsc.o -c test/fakesmsc.c In file included from /usr/include/errno.h:25, from test/fakesmsc.c:101: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/fakewap.o -c test/fakewap.c In file included from /usr/include/errno.h:25, from test/fakewap.c:160: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ test/fakewap.c: In function 'wap_msg_send': test/fakewap.c:374:35: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness [-Wpointer-sign] 374 | octstr_append_data(datagram, hdr, hdr_len); | ^~~ | | | unsigned char * In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from test/fakewap.c:177: ./gwlib/octstr.h:448:51: note: expected 'const char *' but argument is of type 'unsigned char *' 448 | void octstr_append_data(Octstr *ostr, const char *data, long len); | ~~~~~~~~~~~~^~~~ test/fakewap.c:387:31: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness [-Wpointer-sign] 387 | octstr_append_data(datagram, data, data_len); | ^~~~ | | | unsigned char * In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from test/fakewap.c:177: ./gwlib/octstr.h:448:51: note: expected 'const char *' but argument is of type 'unsigned char *' 448 | void octstr_append_data(Octstr *ostr, const char *data, long len); | ~~~~~~~~~~~~^~~~ test/fakewap.c: In function 'wap_msg_recv': test/fakewap.c:448:25: warning: pointer targets in passing argument 1 of 'octstr_get_many_chars' differ in signedness [-Wpointer-sign] 448 | octstr_get_many_chars(msg, datagram, 0, octstr_len(datagram)); | ^~~ | | | unsigned char * In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from test/fakewap.c:177: ./gwlib/octstr.h:217:34: note: expected 'char *' but argument is of type 'unsigned char *' 217 | void octstr_get_many_chars(char *buf, Octstr *ostr, long pos, long len); | ~~~~~~^~~ test/fakewap.c: In function 'client_session': test/fakewap.c:573:33: warning: pointer targets in passing argument 2 of 'wap_msg_recv' differ in signedness [-Wpointer-sign] 573 | ret = wap_msg_recv( fd, reply_hdr, sizeof(WSP_ConnectReply), | ^~~~~~~~~ | | | unsigned char * test/fakewap.c:417:36: note: expected 'const char *' but argument is of type 'unsigned char *' 417 | wap_msg_recv( int fd, const char * hdr, int hdr_len, | ~~~~~~~~~~~~~^~~ test/fakewap.c:617:33: warning: pointer targets in passing argument 2 of 'wap_msg_recv' differ in signedness [-Wpointer-sign] 617 | ret = wap_msg_recv( fd, reply_hdr, sizeof(WSP_Reply), | ^~~~~~~~~ | | | unsigned char * test/fakewap.c:417:36: note: expected 'const char *' but argument is of type 'unsigned char *' 417 | wap_msg_recv( int fd, const char * hdr, int hdr_len, | ~~~~~~~~~~~~~^~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/store_tools.o -c test/store_tools.c In file included from /usr/include/errno.h:25, from test/store_tools.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ test/store_tools.c: In function 'print_sep': test/store_tools.c:89:2: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 89 | asprintf(&head, "%s%s", sep, trim); \ | ^~~~~~~~ test/store_tools.c:110:2: note: in expansion of macro 'PRINT_COLUMNS' 110 | PRINT_COLUMNS("+", "-", repeat_char("-", 36), \ | ^~~~~~~~~~~~~ test/store_tools.c: In function 'main': test/store_tools.c:268:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 268 | printf("Listing records %d -> %d\n", list_from+1, list_limit); | ~^ ~~~~~~~~~~~ | | | | int long int | %ld test/store_tools.c:268:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 268 | printf("Listing records %d -> %d\n", list_from+1, list_limit); | ~^ ~~~~~~~~~~ | | | | int long int | %ld test/store_tools.c:228:24: warning: variable 'type' set but not used [-Wunused-but-set-variable] 228 | int cf_index, ret, type; | ^~~~ test/store_tools.c:227:7: warning: unused variable 'id' [-Wunused-variable] 227 | char id[UUID_STR_LEN + 1]; | ^~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_boxc.o -c test/test_boxc.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from test/test_boxc.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_cfg.o -c test/test_cfg.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from test/test_cfg.c:57: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_charset.o -c test/test_charset.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_charset.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_cimd2.o -c test/test_cimd2.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from test/test_cimd2.c:76: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ test/test_cimd2.c:99:27: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 99 | unsigned char *username = "foo"; | ^~~~~ test/test_cimd2.c:100:27: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 100 | unsigned char *password = "bar"; | ^~~~~ test/test_cimd2.c:105:24: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 105 | unsigned char *intro = ""; | ^~ test/test_cimd2.c: In function 'read_data': test/test_cimd2.c:230:26: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness [-Wpointer-sign] 230 | octstr_append_data(in, buf, ret); | ^~~ | | | unsigned char * In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from test/test_cimd2.c:92: ./gwlib/octstr.h:448:51: note: expected 'const char *' but argument is of type 'unsigned char *' 448 | void octstr_append_data(Octstr *ostr, const char *data, long len); | ~~~~~~~~~~~~^~~~ test/test_cimd2.c: In function 'write_data': test/test_cimd2.c:254:24: warning: pointer targets in passing argument 1 of 'octstr_get_many_chars' differ in signedness [-Wpointer-sign] 254 | octstr_get_many_chars(buf, out, 0, len); | ^~~ | | | unsigned char * In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from test/test_cimd2.c:92: ./gwlib/octstr.h:217:34: note: expected 'char *' but argument is of type 'unsigned char *' 217 | void octstr_get_many_chars(char *buf, Octstr *ostr, long pos, long len); | ~~~~~~^~~ test/test_cimd2.c: In function 'gen_data': test/test_cimd2.c:308:27: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness [-Wpointer-sign] 308 | octstr_append_data(out, buf, sizeof(buf)); | ^~~ | | | unsigned char * In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from test/test_cimd2.c:92: ./gwlib/octstr.h:448:51: note: expected 'const char *' but argument is of type 'unsigned char *' 448 | void octstr_append_data(Octstr *ostr, const char *data, long len); | ~~~~~~~~~~~~^~~~ test/test_cimd2.c: In function 'make_timestamp': test/test_cimd2.c:324:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 324 | sprintf(buf, "%02d%02d%02d%02d%02d%02d", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from test/test_cimd2.c:76: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ test/test_cimd2.c: In function 'handle_login': test/test_cimd2.c:459:31: warning: pointer targets in passing argument 2 of 'octstr_str_compare' differ in signedness [-Wpointer-sign] 459 | if (octstr_str_compare(user, username) == 0 && | ^~~~~~~~ | | | unsigned char * In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from test/test_cimd2.c:92: ./gwlib/octstr.h:341:57: note: expected 'const char *' but argument is of type 'unsigned char *' 341 | int octstr_str_compare(const Octstr *ostr1, const char *str); | ~~~~~~~~~~~~^~~ test/test_cimd2.c:460:31: warning: pointer targets in passing argument 2 of 'octstr_str_compare' differ in signedness [-Wpointer-sign] 460 | octstr_str_compare(pass, password) == 0) { | ^~~~~~~~ | | | unsigned char * In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from test/test_cimd2.c:92: ./gwlib/octstr.h:341:57: note: expected 'const char *' but argument is of type 'unsigned char *' 341 | int octstr_str_compare(const Octstr *ostr1, const char *str); | ~~~~~~~~~~~~^~~ test/test_cimd2.c:465:33: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness [-Wpointer-sign] 465 | send_error(out, 51, sequence, "100", "invalid login"); | ^~~~~ | | | char * test/test_cimd2.c:361:19: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:465:40: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness [-Wpointer-sign] 465 | send_error(out, 51, sequence, "100", "invalid login"); | ^~~~~~~~~~~~~~~ | | | char * test/test_cimd2.c:361:45: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c: In function 'handle_submit': test/test_cimd2.c:562:33: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness [-Wpointer-sign] 562 | send_error(out, 53, sequence, "300", "no destination"); | ^~~~~ | | | char * test/test_cimd2.c:361:19: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:562:40: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness [-Wpointer-sign] 562 | send_error(out, 53, sequence, "300", "no destination"); | ^~~~~~~~~~~~~~~~ | | | char * test/test_cimd2.c:361:45: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:564:33: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness [-Wpointer-sign] 564 | send_error(out, 53, sequence, "301", "too many destinations"); | ^~~~~ | | | char * test/test_cimd2.c:361:19: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:564:40: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness [-Wpointer-sign] 564 | send_error(out, 53, sequence, "301", "too many destinations"); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * test/test_cimd2.c:361:45: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c: In function 'handle_enquire': test/test_cimd2.c:598:33: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness [-Wpointer-sign] 598 | send_error(out, 54, sequence, "400", "no destination"); | ^~~~~ | | | char * test/test_cimd2.c:361:19: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:598:40: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness [-Wpointer-sign] 598 | send_error(out, 54, sequence, "400", "no destination"); | ^~~~~~~~~~~~~~~~ | | | char * test/test_cimd2.c:361:45: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:600:33: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness [-Wpointer-sign] 600 | send_error(out, 54, sequence, "401", "no timestamp"); | ^~~~~ | | | char * test/test_cimd2.c:361:19: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:600:40: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness [-Wpointer-sign] 600 | send_error(out, 54, sequence, "401", "no timestamp"); | ^~~~~~~~~~~~~~ | | | char * test/test_cimd2.c:361:45: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c: In function 'handle_delivery_request': test/test_cimd2.c:646:33: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness [-Wpointer-sign] 646 | send_error(out, 55, sequence, "500", "no messages available"); | ^~~~~ | | | char * test/test_cimd2.c:361:19: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:646:40: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness [-Wpointer-sign] 646 | send_error(out, 55, sequence, "500", "no messages available"); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * test/test_cimd2.c:361:45: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:650:33: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness [-Wpointer-sign] 650 | send_error(out, 55, sequence, "500", "no messages available"); | ^~~~~ | | | char * test/test_cimd2.c:361:19: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:650:40: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness [-Wpointer-sign] 650 | send_error(out, 55, sequence, "500", "no messages available"); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * test/test_cimd2.c:361:45: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:654:33: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness [-Wpointer-sign] 654 | send_error(out, 55, sequence, "501", "bad mode"); | ^~~~~ | | | char * test/test_cimd2.c:361:19: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:654:40: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness [-Wpointer-sign] 654 | send_error(out, 55, sequence, "501", "bad mode"); | ^~~~~~~~~~ | | | char * test/test_cimd2.c:361:45: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c: In function 'handle_cancel': test/test_cimd2.c:676:33: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness [-Wpointer-sign] 676 | send_error(out, 56, sequence, "602", "bad mode"); | ^~~~~ | | | char * test/test_cimd2.c:361:19: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:676:40: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness [-Wpointer-sign] 676 | send_error(out, 56, sequence, "602", "bad mode"); | ^~~~~~~~~~ | | | char * test/test_cimd2.c:361:45: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c: In function 'handle_set': test/test_cimd2.c:693:4: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness [-Wpointer-sign] 693 | "801", "changing password not allowed"); | ^~~~~ | | | char * test/test_cimd2.c:361:19: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:693:11: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness [-Wpointer-sign] 693 | "801", "changing password not allowed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * test/test_cimd2.c:361:45: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:697:33: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness [-Wpointer-sign] 697 | send_error(out, 58, sequence, "3", "cannot set"); | ^~~ | | | char * test/test_cimd2.c:361:19: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:697:38: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness [-Wpointer-sign] 697 | send_error(out, 58, sequence, "3", "cannot set"); | ^~~~~~~~~~~~ | | | char * test/test_cimd2.c:361:45: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c: In function 'handle_get': test/test_cimd2.c:709:33: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness [-Wpointer-sign] 709 | send_error(out, 59, sequence, "900", "missing parameter"); | ^~~~~ | | | char * test/test_cimd2.c:361:19: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:709:40: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness [-Wpointer-sign] 709 | send_error(out, 59, sequence, "900", "missing parameter"); | ^~~~~~~~~~~~~~~~~~~ | | | char * test/test_cimd2.c:361:45: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:719:33: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness [-Wpointer-sign] 719 | send_error(out, 59, sequence, "900", "unknown parameter"); | ^~~~~ | | | char * test/test_cimd2.c:361:19: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:719:40: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness [-Wpointer-sign] 719 | send_error(out, 59, sequence, "900", "unknown parameter"); | ^~~~~~~~~~~~~~~~~~~ | | | char * test/test_cimd2.c:361:45: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c: In function 'parse_packet': test/test_cimd2.c:812:33: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness [-Wpointer-sign] 812 | send_error(out, 98, sequence, "1", "unexpected operation"); | ^~~ | | | char * test/test_cimd2.c:361:19: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ test/test_cimd2.c:812:38: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness [-Wpointer-sign] 812 | send_error(out, 98, sequence, "1", "unexpected operation"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * test/test_cimd2.c:361:45: note: expected 'unsigned char *' but argument is of type 'char *' 361 | unsigned char *errorcode, unsigned char *errortext) { | ~~~~~~~~~~~~~~~^~~~~~~~~ In file included from ./gwlib/gwlib.h:83, from test/test_cimd2.c:92: test/test_cimd2.c: In function 'main_loop': ./gwlib/octstr.h:126:47: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign] 126 | (Octstr*)gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__)) | ^~~~~~ | | | unsigned char * ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ test/test_cimd2.c:942:14: note: in expansion of macro 'octstr_create' 942 | outbuffer = octstr_create(intro); | ^~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from test/test_cimd2.c:92: ./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'unsigned char *' 123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line, | ~~~~~~~~~~~~^~~~ test/test_cimd2.c: At top level: test/test_cimd2.c:1004:4: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 1004 | { "--user", &username, 0 }, | ^~~~~~~~ test/test_cimd2.c:1004:4: note: (near initialization for 'options[0].option') test/test_cimd2.c:1005:4: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 1005 | { "--password", &password, 0 }, | ^~~~~~~~~~~~ test/test_cimd2.c:1005:4: note: (near initialization for 'options[1].option') test/test_cimd2.c:1006:4: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 1006 | { "--port", &port, 1 }, | ^~~~~~~~ test/test_cimd2.c:1006:4: note: (near initialization for 'options[2].option') test/test_cimd2.c:1007:4: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 1007 | { "--intro", &intro, 0 }, | ^~~~~~~~~ test/test_cimd2.c:1007:4: note: (near initialization for 'options[3].option') test/test_cimd2.c:1008:4: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 1008 | { "--activity", &activity, 1 }, | ^~~~~~~~~~~~ test/test_cimd2.c:1008:4: note: (near initialization for 'options[4].option') test/test_cimd2.c:1009:4: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 1009 | { "--spew", &spew, 1 }, | ^~~~~~~~ test/test_cimd2.c:1009:4: note: (near initialization for 'options[5].option') test/test_cimd2.c:1010:4: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 1010 | { "--logging", &logging, 1 }, | ^~~~~~~~~~~ test/test_cimd2.c:1010:4: note: (near initialization for 'options[6].option') test/test_cimd2.c:1011:4: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 1011 | { "--checking", &checking, 1 }, | ^~~~~~~~~~~~ test/test_cimd2.c:1011:4: note: (near initialization for 'options[7].option') test/test_cimd2.c:1012:4: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 1012 | { "--max", &max_deliveries, 1 }, | ^~~~~~~ test/test_cimd2.c:1012:4: note: (near initialization for 'options[8].option') test/test_cimd2.c: In function 'main': test/test_cimd2.c:1059:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1059 | progname = argv[0]; | ^ test/test_cimd2.c:1064:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1064 | if (strcmp(argv[i], options[opt].option) == 0) { | ~~~~~~~~~~~~^~~~~~~ | | | unsigned char * In file included from test/test_cimd2.c:78: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_conn.o -c test/test_conn.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_conn.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_date.o -c test/test_date.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_date.c:57: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_dbpool.o -c test/test_dbpool.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from test/test_dbpool.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_dict.o -c test/test_dict.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from test/test_dict.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_headers.o -c test/test_headers.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_headers.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_hmac.o -c test/test_hmac.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_hmac.c:71: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./gwlib/gwlib.h:83, from test/test_hmac.c:75: test/test_hmac.c: In function 'main': ./gwlib/octstr.h:135:57: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness [-Wpointer-sign] 135 | (Octstr*)gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__)) | ^~~~~~ | | | unsigned char * ./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area' 129 | #define gw_claim_area(ptr) (gw_native_noop(ptr)) | ^~~ test/test_hmac.c:124:11: note: in expansion of macro 'octstr_create_from_data' 124 | mac = octstr_create_from_data(p, mac_len); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./gwlib/utils.h:68, from ./gwlib/gwlib.h:79, from test/test_hmac.c:75: ./gwlib/octstr.h:132:50: note: expected 'const char *' but argument is of type 'unsigned char *' 132 | Octstr *octstr_create_from_data_real(const char *data, long len, const char *file, | ~~~~~~~~~~~~^~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_http.o -c test/test_http.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_http.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ test/test_http.c: In function 'main': test/test_http.c:323:9: warning: variable 'ssl' set but not used [-Wunused-but-set-variable] 323 | int ssl = 0; | ^~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_http_server.o -c test/test_http_server.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_http_server.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_list.o -c test/test_list.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from test/test_list.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_md5.o -c test/test_md5.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_md5.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_mem.o -c test/test_mem.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from test/test_mem.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_mime.o -c test/test_mime.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from test/test_mime.c:69: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_mime_multipart.o -c test/test_mime_multipart.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_mime_multipart.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_msg.o -c test/test_msg.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from ./gw/msg.h:69, from test/test_msg.c:67: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_octstr_dump.o -c test/test_octstr_dump.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_octstr_dump.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_octstr_format.o -c test/test_octstr_format.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from test/test_octstr_format.c:61: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_octstr_immutables.o -c test/test_octstr_immutables.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from test/test_octstr_immutables.c:61: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_ota.o -c test/test_ota.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from test/test_ota.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_pap.o -c test/test_pap.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from test/test_pap.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_pcre.o -c test/test_pcre.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_pcre.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_pdu.o -c test/test_pdu.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_pdu.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_ppg.o -c test/test_ppg.c In file included from /usr/include/unistd.h:25, from test/test_ppg.c:73: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_prioqueue.o -c test/test_prioqueue.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from test/test_prioqueue.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_radius_acct.o -c test/test_radius_acct.c In file included from /usr/include/unistd.h:25, from test/test_radius_acct.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_radius_pdu.o -c test/test_radius_pdu.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_radius_pdu.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_regex.o -c test/test_regex.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_regex.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ test/test_regex.c: In function 'main': test/test_regex.c:116:26: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations] 116 | if (pmatch[i].rm_so != -1 && pmatch[i].rm_eo != -1) { | ~~~~~~~~~^~~~~~ test/test_regex.c:115:9: note: within this loop 115 | for (i = 0; i <= REGEX_MAX_SUB_MATCH; i++) { | ^~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_si.o -c test/test_si.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from test/test_si.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_sl.o -c test/test_sl.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from test/test_sl.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_smsc.o -c test/test_smsc.c In file included from /usr/include/unistd.h:25, from test/test_smsc.c:57: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_store_dump.o -c test/test_store_dump.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from test/test_store_dump.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_udp.o -c test/test_udp.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from test/test_udp.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_urltrans.o -c test/test_urltrans.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from test/test_urltrans.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_uuid.o -c test/test_uuid.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_uuid.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_wakeup.o -c test/test_wakeup.c In file included from /usr/include/unistd.h:25, from test/test_wakeup.c:57: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/test_xmlrpc.o -c test/test_xmlrpc.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from test/test_xmlrpc.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ test/test_xmlrpc.c: In function 'start_request': test/test_xmlrpc.c:92:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 92 | int ret; | ^~~ test/test_xmlrpc.c: In function 'main': test/test_xmlrpc.c:286:9: warning: variable 'ssl' set but not used [-Wunused-but-set-variable] 286 | int ssl = 0; | ^~~ test/test_xmlrpc.c:284:11: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 284 | FILE *fp; | ^~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/timestamp.o -c test/timestamp.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from test/timestamp.c:69: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ test/timestamp.c: In function 'parse_date': test/timestamp.c:122:10: warning: variable 'pos' set but not used [-Wunused-but-set-variable] 122 | long pos; | ^~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/udpfeed.o -c test/udpfeed.c In file included from /usr/include/unistd.h:25, from test/udpfeed.c:65: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/wapproxy.o -c test/wapproxy.c In file included from /usr/include/errno.h:25, from test/wapproxy.c:88: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o test/wml_tester.o -c test/wml_tester.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from test/wml_tester.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/decompile test/decompile.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/drive_smpp test/drive_smpp.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/drive_wapbox test/drive_wapbox.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/fakesmsc test/fakesmsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/fakewap test/fakewap.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/store_tools test/store_tools.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_boxc test/test_boxc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_cfg test/test_cfg.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_charset test/test_charset.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_cimd2 test/test_cimd2.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_conn test/test_conn.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_date test/test_date.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_dbpool test/test_dbpool.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_dict test/test_dict.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_headers test/test_headers.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_hmac test/test_hmac.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_http test/test_http.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_http_server test/test_http_server.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_list test/test_list.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_md5 test/test_md5.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_mem test/test_mem.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_mime test/test_mime.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_mime_multipart test/test_mime_multipart.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_msg test/test_msg.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_octstr_dump test/test_octstr_dump.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_octstr_format test/test_octstr_format.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_octstr_immutables test/test_octstr_immutables.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_ota test/test_ota.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_pap test/test_pap.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_pcre test/test_pcre.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_pdu test/test_pdu.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_ppg test/test_ppg.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_prioqueue test/test_prioqueue.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_radius_acct test/test_radius_acct.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_radius_pdu test/test_radius_pdu.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_regex test/test_regex.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ test/test_regex.c: In function 'main': test/test_regex.c:116:26: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations] 116 | if (pmatch[i].rm_so != -1 && pmatch[i].rm_eo != -1) { | ^ test/test_regex.c:115:9: note: within this loop 115 | for (i = 0; i <= REGEX_MAX_SUB_MATCH; i++) { | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_si test/test_si.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_sl test/test_sl.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_smsc test/test_smsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_store_dump test/test_store_dump.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_udp test/test_udp.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_urltrans test/test_urltrans.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_uuid test/test_uuid.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_wakeup test/test_wakeup.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/test_xmlrpc test/test_xmlrpc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/timestamp test/timestamp.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/udpfeed test/udpfeed.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/wapproxy test/wapproxy.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o test/wml_tester test/wml_tester.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o checks/check_counter.o -c checks/check_counter.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib64/gcc/x86_64-alt-linux/10/include/limits.h:195, from /usr/lib64/gcc/x86_64-alt-linux/10/include/syslimits.h:7, from /usr/lib64/gcc/x86_64-alt-linux/10/include/limits.h:34, from checks/check_counter.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o checks/check_date.o -c checks/check_date.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from checks/check_date.c:61: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o checks/check_ipcheck.o -c checks/check_ipcheck.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./gwlib/gwlib.h:70, from checks/check_ipcheck.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o checks/check_list.o -c checks/check_list.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from checks/check_list.c:61: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o checks/check_octstr.o -c checks/check_octstr.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from checks/check_octstr.c:61: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o checks/check_counter checks/check_counter.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o checks/check_date checks/check_date.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o checks/check_ipcheck checks/check_ipcheck.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o checks/check_list checks/check_list.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ x86_64-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o checks/check_octstr checks/check_octstr.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 gwlib/log.c: In function 'log_init': gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations] 176 | thread_to[i] = 0; | ^ gwlib/log.c:175:5: note: within this loop 175 | for (i = 0; i <= THREADTABLE_SIZE; i++) { | ^ gwlib/log.c:176:22: warning: '__builtin_memset' writing 4100 bytes into a region of size 4096 overflows the destination [-Wstringop-overflow=] 176 | thread_to[i] = 0; | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'mutex_destroy' at gwlib/thread.c:117:5, inlined from 'mutex_destroy' at gwlib/thread.c:97:6, inlined from 'octstr_shutdown' at gwlib/octstr.c:236:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'immutables_mutex' [-Wfree-nonheap-object] 125 | free(ptr); | ^ In function 'gw_native_free', inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:130:9, inlined from 'gw_rwlock_destroy' at gwlib/gw-rwlock.c:112:6, inlined from 'log_shutdown' at gwlib/log.c:186:5, inlined from 'gwlib_shutdown' at gwlib/gwlib.c:106:5: gwlib/gwmem-native.c:125:5: warning: attempt to free a non-heap object 'rwlock' [-Wfree-nonheap-object] 125 | free(ptr); | ^ ./utils/foobar-config.sh "-I/usr/include/kannel -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -fcommon -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib64/openssl/include -I/usr/include/mysql -I/usr/include/pgsql" \ "-L/usr/lib64/kannel -lgw -lwap -lgwlib -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 " \ "cvs-" > gw-config chmod 0755 gw-config make: Leaving directory '/usr/src/RPM/BUILD/gateway-1.5.0' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.2179 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/kannel-buildroot + : + /bin/rm -rf -- /usr/src/tmp/kannel-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd gateway-1.5.0 + /usr/bin/make 'INSTALL=/usr/libexec/rpm-build/install -p' prefix=/usr/src/tmp/kannel-buildroot/usr exec_prefix=/usr/src/tmp/kannel-buildroot/usr bindir=/usr/src/tmp/kannel-buildroot/usr/bin sbindir=/usr/src/tmp/kannel-buildroot/usr/sbin sysconfdir=/usr/src/tmp/kannel-buildroot/etc datadir=/usr/src/tmp/kannel-buildroot/usr/share includedir=/usr/src/tmp/kannel-buildroot/usr/include libdir=/usr/src/tmp/kannel-buildroot/usr/lib64 libexecdir=/usr/src/tmp/kannel-buildroot/usr/lib localstatedir=/usr/src/tmp/kannel-buildroot/var/lib sharedstatedir=/usr/src/tmp/kannel-buildroot/var/lib mandir=/usr/src/tmp/kannel-buildroot/usr/share/man infodir=/usr/src/tmp/kannel-buildroot/usr/share/info install make: Entering directory '/usr/src/RPM/BUILD/gateway-1.5.0' /usr/libexec/rpm-build/install -p -d /usr/src/tmp/kannel-buildroot/usr/bin for prog in wmlscript/wmlsc wmlscript/wmlsdasm utils/seewbmp utils/mtbatch utils/decode_emimsg gw-config; do \ /usr/libexec/rpm-build/install -p $prog \ /usr/src/tmp/kannel-buildroot/usr/bin/`basename $prog`; \ done test -r /usr/src/tmp/kannel-buildroot/usr/bin/gw-config || \ ln -sf gw-config /usr/src/tmp/kannel-buildroot/usr/bin/gw-config /usr/libexec/rpm-build/install -p -d /usr/src/tmp/kannel-buildroot/usr/sbin for prog in gw/bearerbox gw/smsbox gw/wapbox utils/run_kannel_box; do \ /usr/libexec/rpm-build/install -p $prog \ /usr/src/tmp/kannel-buildroot/usr/sbin/`basename $prog`; \ done /usr/libexec/rpm-build/install -p -d /usr/src/tmp/kannel-buildroot/usr/share/man/man1 /usr/libexec/rpm-build/install -p utils/seewbmp.1 utils/mtbatch.1 wmlscript/wmlsc.1 wmlscript/wmlsdasm.1 /usr/src/tmp/kannel-buildroot/usr/share/man/man1 /usr/libexec/rpm-build/install -p -d /usr/src/tmp/kannel-buildroot/usr/share/man/man8 /usr/libexec/rpm-build/install -p gw/kannel.8 utils/run_kannel_box.8 /usr/src/tmp/kannel-buildroot/usr/share/man/man8 /usr/libexec/rpm-build/install -p -d /usr/src/tmp/kannel-buildroot/usr/include/kannel/gwlib /usr/libexec/rpm-build/install -p -m 644 ./gwlib/*.h /usr/src/tmp/kannel-buildroot/usr/include/kannel/gwlib /usr/libexec/rpm-build/install -p -m 644 ./gwlib/*.def /usr/src/tmp/kannel-buildroot/usr/include/kannel/gwlib /usr/libexec/rpm-build/install -p -d /usr/src/tmp/kannel-buildroot/usr/include/kannel/gw /usr/libexec/rpm-build/install -p -m 644 ./gw/*.h /usr/src/tmp/kannel-buildroot/usr/include/kannel/gw /usr/libexec/rpm-build/install -p -m 644 ./gw/*.def /usr/src/tmp/kannel-buildroot/usr/include/kannel/gw /usr/libexec/rpm-build/install -p -d /usr/src/tmp/kannel-buildroot/usr/include/kannel/gw/smsc /usr/libexec/rpm-build/install -p -m 644 ./gw/smsc/*.h /usr/src/tmp/kannel-buildroot/usr/include/kannel/gw/smsc /usr/libexec/rpm-build/install -p -m 644 ./gw/smsc/*.def /usr/src/tmp/kannel-buildroot/usr/include/kannel/gw/smsc /usr/libexec/rpm-build/install -p -d /usr/src/tmp/kannel-buildroot/usr/include/kannel/wap /usr/libexec/rpm-build/install -p -m 644 ./wap/*.h /usr/src/tmp/kannel-buildroot/usr/include/kannel/wap /usr/libexec/rpm-build/install -p -m 644 ./wap/*.def /usr/src/tmp/kannel-buildroot/usr/include/kannel/wap /usr/libexec/rpm-build/install -p -m 644 gw-config.h /usr/src/tmp/kannel-buildroot/usr/include/kannel /usr/libexec/rpm-build/install -p -d /usr/src/tmp/kannel-buildroot/usr/lib64/kannel /usr/libexec/rpm-build/install -p -m 644 libgwlib.a /usr/src/tmp/kannel-buildroot/usr/lib64/kannel /usr/libexec/rpm-build/install -p -m 644 libgw.a /usr/src/tmp/kannel-buildroot/usr/lib64/kannel /usr/libexec/rpm-build/install -p -m 644 libwap.a /usr/src/tmp/kannel-buildroot/usr/lib64/kannel make: Leaving directory '/usr/src/RPM/BUILD/gateway-1.5.0' + make 'INSTALL=/usr/libexec/rpm-build/install -p' install-docs DESTDIR=/usr/src/tmp/kannel-buildroot make: Entering directory '/usr/src/RPM/BUILD/gateway-1.5.0' /usr/libexec/rpm-build/install -p -d /usr/src/tmp/kannel-buildroot/usr/share/doc/kannel/examples /usr/libexec/rpm-build/install -p -m 644 doc/examples/*.conf /usr/src/tmp/kannel-buildroot/usr/share/doc/kannel/examples for docfile in userguide alligata wtls ; do \ /usr/libexec/rpm-build/install -p -d /usr/src/tmp/kannel-buildroot/usr/share/doc/kannel/$docfile ; \ /usr/libexec/rpm-build/install -p -m 644 doc/$docfile/$docfile.ps /usr/src/tmp/kannel-buildroot/usr/share/doc/kannel/$docfile ; \ /usr/libexec/rpm-build/install -p -m 644 doc/$docfile/$docfile.html /usr/src/tmp/kannel-buildroot/usr/share/doc/kannel/$docfile ; \ /usr/libexec/rpm-build/install -p -m 644 doc/$docfile/$docfile.rtf /usr/src/tmp/kannel-buildroot/usr/share/doc/kannel/$docfile ; \ /usr/libexec/rpm-build/install -p -m 644 doc/$docfile/$docfile.pdf /usr/src/tmp/kannel-buildroot/usr/share/doc/kannel/$docfile ; \ /usr/libexec/rpm-build/install -p -m 644 doc/$docfile/*.png /usr/src/tmp/kannel-buildroot/usr/share/doc/kannel/$docfile ; \ done /bin/install: cannot stat 'doc/userguide/userguide.ps': No such file or directory /bin/install: cannot stat 'doc/userguide/userguide.html': No such file or directory /bin/install: cannot stat 'doc/userguide/userguide.rtf': No such file or directory /bin/install: cannot stat 'doc/userguide/userguide.pdf': No such file or directory /bin/install: cannot stat 'doc/userguide/*.png': No such file or directory /bin/install: cannot stat 'doc/alligata/alligata.ps': No such file or directory /bin/install: cannot stat 'doc/alligata/alligata.html': No such file or directory /bin/install: cannot stat 'doc/alligata/alligata.rtf': No such file or directory /bin/install: cannot stat 'doc/alligata/alligata.pdf': No such file or directory /bin/install: cannot stat 'doc/wtls/wtls.ps': No such file or directory /bin/install: cannot stat 'doc/wtls/wtls.html': No such file or directory /bin/install: cannot stat 'doc/wtls/wtls.rtf': No such file or directory /bin/install: cannot stat 'doc/wtls/wtls.pdf': No such file or directory make: Leaving directory '/usr/src/RPM/BUILD/gateway-1.5.0' + mkdir -p /usr/src/tmp/kannel-buildroot/etc/kannel + mkdir -p /usr/src/tmp/kannel-buildroot/etc/logrotate.d + mkdir -p /usr/src/tmp/kannel-buildroot/etc/monitrc.d + mkdir -p /usr/src/tmp/kannel-buildroot/etc/rc.d/init.d + mkdir -p /usr/src/tmp/kannel-buildroot/var/log/kannel + mkdir -p /usr/src/tmp/kannel-buildroot/var/lib/kannel + mkdir -p /usr/src/tmp/kannel-buildroot/var/run/kannel + install -m 644 gw/wapkannel.conf /usr/src/tmp/kannel-buildroot/etc/kannel + install -m 644 gw/smskannel.conf /usr/src/tmp/kannel-buildroot/etc/kannel + install -m 755 test/fakesmsc /usr/src/tmp/kannel-buildroot/usr/bin + install -m 755 test/fakewap /usr/src/tmp/kannel-buildroot/usr/bin + install -m 755 test/store_tools /usr/src/tmp/kannel-buildroot/usr/bin/kannel_store_tools + install -m 755 test/wapproxy /usr/src/tmp/kannel-buildroot/usr/bin + install -m 755 /usr/src/RPM/SOURCES/bearerbox.init /usr/src/tmp/kannel-buildroot/etc/rc.d/init.d/kannel.bearerbox + install -m 755 /usr/src/RPM/SOURCES/smsbox.init /usr/src/tmp/kannel-buildroot/etc/rc.d/init.d/kannel.smsbox + install -m 755 /usr/src/RPM/SOURCES/kannel.logrotate /usr/src/tmp/kannel-buildroot/etc/logrotate.d/kannel + install -m 755 /usr/src/RPM/SOURCES/kannel.monit /usr/src/tmp/kannel-buildroot/etc/monitrc.d/kannel + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/kannel-buildroot (auto) Verifying and fixing files in /usr/src/tmp/kannel-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/bin/gw-config: 38c38 < -L/usr/lib64/kannel -lgw -lwap -lgwlib -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -L/usr/lib64 -lmysqlclient -L/usr/local/lib -lsqlite3 -L/usr/lib64 --- > -L/usr/lib64/kannel -lgw -lwap -lgwlib -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib64/openssl/lib -lmysqlclient -L/usr/local/lib -lsqlite3 Checking contents of files in /usr/src/tmp/kannel-buildroot/ (default) Compressing files in /usr/src/tmp/kannel-buildroot (auto) mode of '/usr/src/tmp/kannel-buildroot/usr/share/man/man8/run_kannel_box.8' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of '/usr/src/tmp/kannel-buildroot/usr/share/man/man8/kannel.8' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of '/usr/src/tmp/kannel-buildroot/usr/share/man/man1/wmlsdasm.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of '/usr/src/tmp/kannel-buildroot/usr/share/man/man1/wmlsc.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of '/usr/src/tmp/kannel-buildroot/usr/share/man/man1/mtbatch.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of '/usr/src/tmp/kannel-buildroot/usr/share/man/man1/seewbmp.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Adjusting library links in /usr/src/tmp/kannel-buildroot ./var/lib: (from :0) ./usr/lib64: (from :0) /usr/bin/strip: ./usr/lib64/kannel/stdhl6VK/cookies.o: plugin needed to handle lto object process-lto: ERROR: ./usr/lib64/kannel/libwap.a: contains __gnu_lto_slim only. 061-brp-strip-lto.brp: Most likely this file contains GIMPLE bytecode that should NOT be packaged 061-brp-strip-lto.brp: since its format can change between GCC versions. 061-brp-strip-lto.brp: Use -ffat-lto-objects option to package machine code in static libraries, e.g. 061-brp-strip-lto.brp: %{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects} 061-brp-strip-lto.brp: Alternatively, you might want to stop packaging static libraries 061-brp-strip-lto.brp: or disable link-time optimization for this package. error: Bad exit status from /usr/src/tmp/rpm-tmp.2179 (%install) RPM build errors: line 28: Deprecated PreReq converted to Requires(pre,postun): PreReq: monit-base Bad exit status from /usr/src/tmp/rpm-tmp.2179 (%install) Command exited with non-zero status 1 368.54user 20.43system 6:59.39elapsed 92%CPU (0avgtext+0avgdata 110248maxresident)k 0inputs+0outputs (0major+8270661minor)pagefaults 0swaps hsh-rebuild: rebuild of `kannel-1.5.0-alt1.cvs20091101.4.src.rpm' failed. Command exited with non-zero status 1 378.73user 22.89system 7:36.01elapsed 88%CPU (0avgtext+0avgdata 110248maxresident)k 72inputs+0outputs (0major+8593817minor)pagefaults 0swaps